Declare load_serial_ymodem() when using CFG_CMD_LOADB.

Patch by Jon Loeliger, 01. May 2006
This commit is contained in:
Wolfgang Denk 2006-05-02 00:11:25 +02:00
parent 3577d3a33b
commit 8546e23902
2 changed files with 7 additions and 1 deletions

View File

@ -2,6 +2,9 @@
Changes since U-Boot 1.1.4:
======================================================================
* Declare load_serial_ymodem() when using CFG_CMD_LOADB.
Patch by Jon Loeliger, 01. May 2006
* Fixed handling of bad checksums with "mkimage -l"
* Added support for BC3450 board

View File

@ -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);