u-boot.2012.07 build for mx28evk fails if serial_puts() referenced.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

u-boot.2012.07 build for mx28evk fails if serial_puts() referenced.

694 次查看
RandyGraham
Contributor IV

Hello,

I asked this question in another forum, but should have asked it here, sorry for asking again.

u-boot.2013.07 build configured using mx28evk_config fails with serial_puts() undefined if I add debug() or serial_puts() calls to the source for debugging purposes.

I didn't have this issue with u-boot.2013.01 .

Do I need to #define something to include serial_puts() ?

I tried adding #define DEBUG  to include/common.h but still get build errors.

Thanks for any help,

-Randy

标签 (1)
0 项奖励
回复
1 回复

606 次查看
RandyGraham
Contributor IV

Ok, this was my mistake.

CONFIG_SPL_SERIAL_SUPPORT needs to be defined.

I had in fact modified the u-boot-2013.01 board config file to include this to get it working before.

0 项奖励
回复