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

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/

Dear Xiangfu Liu,
In message 4AD3D96E.4040609@gmail.com you wrote:
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.
If you think you have found and fixed a problem, then please submit a patch. Please see http://www.denx.de/wiki/U-Boot/Patches for help.
Best regards,
Wolfgang Denk
participants (2)
-
Wolfgang Denk
-
Xiangfu Liu