diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2008-08-21 08:35:13 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2008-08-21 08:35:13 +0200 |
commit | 0d9b5b5f57c9ed693be21a7e30567659386100c0 (patch) | |
tree | 89d5eb9327e3a8ebd5df87a05f21b2b7a16d80e0 | |
parent | 62e2cd0a681c19fdc4180adf89e69709c696133b (diff) | |
download | barebox-0d9b5b5f57c9ed693be21a7e30567659386100c0.tar.gz barebox-0d9b5b5f57c9ed693be21a7e30567659386100c0.tar.xz |
Revert "loadb: remove old-style-u-boot-ifdefs around whole file"
This reverts commit 1e49fadf8ada076514afdebe89ddc0a22c4239d9.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | commands/loadb.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/commands/loadb.c b/commands/loadb.c index b6beb3fb37..890e977b2f 100644 --- a/commands/loadb.c +++ b/commands/loadb.c @@ -61,6 +61,8 @@ #define untochar(x) ((int) (((x) - SPACE) & 0xff)) #define DEF_FILE "image.bin" +#ifdef CONFIG_CMD_LOADB + static int ofd; /* output file descriptor */ /* Size of my buffer to write to o/p file */ @@ -820,4 +822,5 @@ U_BOOT_CMD_START(loady) .usage = "Load binary file over serial line (ymodem mode)", U_BOOT_CMD_HELP(cmd_loadb_help) U_BOOT_CMD_END +#endif |