Skip to contentSkip to conversation

Declare load_serial_ymodem() when using CFG_CMD_LOADB

PATCH New Jon Loeliger 2 participants 2 messages May 1, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Declare load_serial_ymodem() when using CFG_CMD_LOADB

---

* Declare load_serial_ymodem() when using CFG_CMD_LOADB. Patch by Jon Loeliger, 01-May-2006

common/cmd_load.c +4 -1
index 2432ee2..f63b8e8 100644
@@ -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);
#1 lore raw

PATCH 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 using CFG_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.