All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] some question about mips/board.c?
@ 2009-10-13  1:35 Xiangfu Liu
  2009-10-15 18:52 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Xiangfu Liu @ 2009-10-13  1:35 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot] some question about mips/board.c?
  2009-10-13  1:35 [U-Boot] some question about mips/board.c? Xiangfu Liu
@ 2009-10-15 18:52 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2009-10-15 18:52 UTC (permalink / raw)
  To: 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

-- 
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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-10-15 18:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-13  1:35 [U-Boot] some question about mips/board.c? Xiangfu Liu
2009-10-15 18:52 ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.