[U-Boot-Users] PATCH: Declare load_serial_ymodem() for both CFG_CMD_LOAD{S,B}

Jon Loeliger jdl at freescale.com
Mon May 1 21:49:05 CEST 2006


On Mon, 2006-05-01 at 14:40, Wolfgang Denk wrote:
> In message <1146511413.24239.16.camel at cashmere.sps.mot.com> you wrote:
> > Declare load_serial_ymodem() for both CFG_CMD_LOAD{S,B}
> > as it appears to be needed by both the loadb and loads
> > commands now.
> 
> The only reference (call) to the load_serial_ymodem() function is  in
> do_load_serial_bin()    which   in   turn   is   only   compiled   if
> 'CONFIG_COMMANDS & CFG_CMD_LOADB' is true.
> 
> What makes you think it might be needed with CFG_CMD_LOADS ?

Hmmmm...  Interesting point.  It used to look like this:

#if (CONFIG_COMMANDS & CFG_CMD_LOADS)
static ulong load_serial (ulong offset);
static ulong load_serial_ymodem (ulong offset);
static int read_record (char *buf, ulong len);

Drop my previous patch.  New patch follows.

jdl







More information about the U-Boot mailing list