[U-Boot] some question about mips/board.c?

Xiangfu Liu xiangfu.z at gmail.com
Tue Oct 13 03:35:42 CEST 2009


Hi

why the line 354 not include by ifndef CONFIG_SYS_NO_FLASH.
I defined CONFIG_SYS_NO_FLASH in my board head file (qi_lb60.h).
this line make compile error.

thanks for help.

in the lib_mips/board.c
--------------
347 #ifndef CONFIG_SYS_NO_FLASH
348         /* configure available FLASH banks */
349         size = flash_init();
350         display_flash_config (size);
351         bd->bi_flashsize = size;
352 #endif
353 
354         bd->bi_flashstart = CONFIG_SYS_FLASH_BASE;


you can find our source code at http://projects.qi-hardware.com/index.php/p/qi-u-boot/
-- 
Xiangfu Liu
Email: xiangfu at qi-hardware dot com
Web: http://www.qi-hardware.com


More information about the U-Boot mailing list