Declare load_serial_ymodem() when using CFG_CMD_LOADB
PATCH 1/1 Declare load_serial_ymodem() when using CFG_CMD_LOADB
Signed-off-by Jon Loeliger <[email protected]>
---
* Declare load_serial_ymodem() when using CFG_CMD_LOADB. Patch by Jon Loeliger, 01-May-2006
common/cmd_load.c +4 -1
@@ -33,9 +33,12 @@ #include <xyzModem.h>DECLARE_GLOBAL_DATA_PTR ; +#if (CONFIG_COMMANDS &CFG_CMD_LOADB ) +static ulong load_serial_ymodem (ulong offset); +#endif +#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);# if (CONFIG_COMMANDS &CFG_CMD_SAVES )static int save_serial (ulong offset,ulong size);
Wolfgang Denk
AppliedPATCH 1/1 Declare load_serial_ymodem() when using CFG_CMD_LOADB
Quoted 3 lines · In message <[email protected]> you wrote:
* Declare
load_serial_ymodem()when usingCFG_CMD_LOADB. Patch by Jon Loeliger, 01-May-2006
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 4 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Why can you only have two doors on a chicken coop? If it had four it would be a chicken sedan.