aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-05-02 00:11:25 +0200
committerWolfgang Denk <wd@pollux.denx.de>2006-05-02 00:11:25 +0200
commit8546e23902b6b84d30619cea050092234720ebd5 (patch)
tree0e25cfe5c2da3d29d1a93b084e81886717316ee8 /common
parent3577d3a33b8446c4cc4b7afdb44f9879b53ca293 (diff)
downloadu-boot-midas-8546e23902b6b84d30619cea050092234720ebd5.tar.gz
u-boot-midas-8546e23902b6b84d30619cea050092234720ebd5.tar.bz2
u-boot-midas-8546e23902b6b84d30619cea050092234720ebd5.zip
Declare load_serial_ymodem() when using CFG_CMD_LOADB.
Patch by Jon Loeliger, 01. May 2006
Diffstat (limited to 'common')
-rw-r--r--common/cmd_load.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/common/cmd_load.c b/common/cmd_load.c
index 2432ee2056..f63b8e8056 100644
--- a/common/cmd_load.c
+++ b/common/cmd_load.c
@@ -33,9 +33,12 @@
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);