diff options
author | Stefan Roese <sr@denx.de> | 2008-07-30 09:59:51 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-07-31 10:44:26 +0200 |
commit | ebb86c4ecd37a7701358284e497ca4c6483c7cc5 (patch) | |
tree | 60490bb930e5004d61dafd6c9ddc149187d7438e /common/cmd_bootm.c | |
parent | 2cb9080427fe641dcb71da46cd0634dd406f37ed (diff) | |
download | u-boot-imx-ebb86c4ecd37a7701358284e497ca4c6483c7cc5.zip u-boot-imx-ebb86c4ecd37a7701358284e497ca4c6483c7cc5.tar.gz u-boot-imx-ebb86c4ecd37a7701358284e497ca4c6483c7cc5.tar.bz2 |
cmd_bootm.c: Fix problem with '#if (CONFIG_CMD_USB)'
A recent patch used '#if (CONFIG_CMD_USB)' instead of
'#if defined(CONFIG_CMD_USB)'. This patch fixes this problem and makes
common/bootm.c compile again.
Signed-off-by: Stefan Roese <sr@denx.de>
Acked-by: Markus Klotzbuecher <mk@denx.de>
Diffstat (limited to 'common/cmd_bootm.c')
-rw-r--r-- | common/cmd_bootm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index 4040a69..18682fe 100644 --- a/common/cmd_bootm.c +++ b/common/cmd_bootm.c @@ -36,7 +36,7 @@ #include <lmb.h> #include <asm/byteorder.h> -#if (CONFIG_CMD_USB) +#if defined(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_CMD_USB) +#if defined(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 |