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:
parent
62e2cd0a68
commit
0d9b5b5f57
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue