9
0
Fork 0

Revert "loadb: remove old-style-u-boot-ifdefs around whole file"

This reverts commit 1e49fadf8a.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2008-08-21 08:35:13 +02:00
parent 62e2cd0a68
commit 0d9b5b5f57
1 changed files with 3 additions and 0 deletions

View File

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