[U-Boot-Users] About define CFG_CMD_LOADS and CFG_NO_FLASH.

Wolfgang Denk wd at denx.de
Sat May 17 02:08:39 CEST 2003


Dear Chris,

in message <D96E2AFA0DF3D211B139009027454948034CBD50 at helios.gnv.tcc.thomson-csf.com> you wrote:
> 
> Why can't I use CFG_CMD_LOADS & CFG_NO_FLASH.

Because of a flaw in the code?

> It doesn't compile because load_serial function ( in cmd_boot.c ) needs some
> function for flash access ( not sure to understand why ... )

It tries to find out if a target address is in flash memory or not.

> Need to add #ifndef CFG_NO_FLASH in load_serial ??

Yes.

Patch welcome.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Committee, n.:  A group of men who individually can do nothing but as
a group decide that nothing can be done.                 - Fred Allen




More information about the U-Boot mailing list