summaryrefslogtreecommitdiff
path: root/common/cmd_load.c
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2007-07-10 11:02:44 -0500
committerJon Loeliger <jdl@freescale.com>2007-07-10 11:02:44 -0500
commit902531788376046da212afd1661cffb62f3daa1c (patch)
tree7f9cfaa882284962ae28db98e2317b2a8b10cc8b /common/cmd_load.c
parentd39b57415838c73fb0a37eca84de3c68ba990586 (diff)
common/: Remove lingering references to CFG_CMD_* symbols.
Fixed some broken instances of "#ifdef CMD_CFG_IDE" too. Those always evaluated TRUE, and thus were always compiled even when IDE really wasn't defined/wanted. Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'common/cmd_load.c')
-rw-r--r--common/cmd_load.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/common/cmd_load.c b/common/cmd_load.c
index d3d268158e8..204c3ebf193 100644
--- a/common/cmd_load.c
+++ b/common/cmd_load.c
@@ -43,10 +43,10 @@ static int read_record (char *buf, ulong len);
# if defined(CONFIG_CMD_SAVES)
static int save_serial (ulong offset, ulong size);
static int write_record (char *buf);
-# endif /* CFG_CMD_SAVES */
+#endif
static int do_echo = 1;
-#endif /* CFG_CMD_LOADS */
+#endif
/* -------------------------------------------------------------------- */
@@ -399,9 +399,9 @@ write_record (char *buf)
}
return (0);
}
-# endif /* CFG_CMD_SAVES */
+# endif
-#endif /* CFG_CMD_LOADS */
+#endif
#if defined(CONFIG_CMD_LOADB)
@@ -1038,7 +1038,7 @@ static ulong load_serial_ymodem (ulong offset)
return offset;
}
-#endif /* CFG_CMD_LOADB */
+#endif
/* -------------------------------------------------------------------- */
@@ -1084,8 +1084,8 @@ U_BOOT_CMD(
" - save S-Record file over serial line with offset 'off' and size 'size'\n"
);
#endif /* CFG_LOADS_BAUD_CHANGE */
-#endif /* CFG_CMD_SAVES */
-#endif /* CFG_CMD_LOADS */
+#endif
+#endif
#if defined(CONFIG_CMD_LOADB)
@@ -1105,7 +1105,7 @@ U_BOOT_CMD(
" with offset 'off' and baudrate 'baud'\n"
);
-#endif /* CFG_CMD_LOADB */
+#endif
/* -------------------------------------------------------------------- */
@@ -1135,4 +1135,4 @@ U_BOOT_CMD(
"[on|off]\n - change RTS/CTS hardware flow control over serial line\n"
);
-#endif /* CFG_CMD_HWFLOW */
+#endif