Skip to contentSkip to conversation

some question about mips/board.c?

U-Boot Xiangfu Liu 2 participants 2 messages Oct 13, 2009 – Oct 15, 2009

lore
Share & tools
lore
#0 lore raw

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/

Signature · 3 lines
Xiangfu Liu
Email: xiangfu at qi-hardware dot com
Web: http://www.qi-hardware.com
#1 lore raw

Dear Xiangfu Liu,

Quoted 4 lines · In message <[email protected]> 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

Signature · 4 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Never put off until tomorrow what you can put off indefinitely.