Commit 8546e23902b6b84d30619cea050092234720ebd5
1 parent
3577d3a33b
Exists in
master
and in
54 other branches
Declare load_serial_ymodem() when using CFG_CMD_LOADB.
Patch by Jon Loeliger, 01. May 2006
Showing 2 changed files with 7 additions and 1 deletions Side-by-side Diff
CHANGELOG
... | ... | @@ -2,6 +2,9 @@ |
2 | 2 | Changes since U-Boot 1.1.4: |
3 | 3 | ====================================================================== |
4 | 4 | |
5 | +* Declare load_serial_ymodem() when using CFG_CMD_LOADB. | |
6 | + Patch by Jon Loeliger, 01. May 2006 | |
7 | + | |
5 | 8 | * Fixed handling of bad checksums with "mkimage -l" |
6 | 9 | |
7 | 10 | * Added support for BC3450 board |
common/cmd_load.c
... | ... | @@ -33,9 +33,12 @@ |
33 | 33 | |
34 | 34 | DECLARE_GLOBAL_DATA_PTR; |
35 | 35 | |
36 | +#if (CONFIG_COMMANDS & CFG_CMD_LOADB) | |
37 | +static ulong load_serial_ymodem (ulong offset); | |
38 | +#endif | |
39 | + | |
36 | 40 | #if (CONFIG_COMMANDS & CFG_CMD_LOADS) |
37 | 41 | static ulong load_serial (ulong offset); |
38 | -static ulong load_serial_ymodem (ulong offset); | |
39 | 42 | static int read_record (char *buf, ulong len); |
40 | 43 | # if (CONFIG_COMMANDS & CFG_CMD_SAVES) |
41 | 44 | static int save_serial (ulong offset, ulong size); |