summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-07-25 15:18:16 +0200
committerWolfgang Denk <wd@denx.de>2008-07-30 00:48:07 +0200
commit936897d4d1365452bbbdf8430db5e7769ef08d38 (patch)
tree11ffcbe392aa53fb6987817514460c44b8cc936a /common
parent5d1d00fb36005482e1803a00ddc46efa11d719af (diff)
downloadu-boot-imx-936897d4d1365452bbbdf8430db5e7769ef08d38.zip
u-boot-imx-936897d4d1365452bbbdf8430db5e7769ef08d38.tar.gz
u-boot-imx-936897d4d1365452bbbdf8430db5e7769ef08d38.tar.bz2
Fix remaining CFG_CMD_ define, ifdef and comments
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'common')
-rw-r--r--common/cmd_bootm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c
index 1c0a416..4040a69 100644
--- a/common/cmd_bootm.c
+++ b/common/cmd_bootm.c
@@ -36,7 +36,7 @@
#include <lmb.h>
#include <asm/byteorder.h>
-#if (CONFIG_COMMANDS & CFG_CMD_USB)
+#if (CONFIG_CMD_USB)
#include <usb.h>
#endif
@@ -217,7 +217,7 @@ int do_bootm (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
*/
iflag = disable_interrupts();
-#if (CONFIG_COMMANDS & CFG_CMD_USB)
+#if (CONFIG_CMD_USB)
/*
* turn off USB to prevent the host controller from writing to the
* SDRAM while Linux is booting. This could happen (at least for OHCI