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

16 May
2003
16 May
'03
5:50 p.m.
Hi.
Why can't I use CFG_CMD_LOADS & CFG_NO_FLASH.
It doesn't compile because load_serial function ( in cmd_boot.c ) needs some function for flash access ( not sure to understand why ... )
Need to add #ifndef CFG_NO_FLASH in load_serial ??
Thanks
Chris

17 May
17 May
2:08 a.m.
Dear Chris,
in message D96E2AFA0DF3D211B139009027454948034CBD50@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@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
8025
Age (days ago)
8026
Last active (days ago)
1 comments
2 participants
participants (2)
-
Christophe.LINDHEIMER@fr.thalesgroup.com
-
Wolfgang Denk