From: Stefan Roese Date: Wed, 30 Jul 2008 07:59:51 +0000 (+0200) Subject: cmd_bootm.c: Fix problem with '#if (CONFIG_CMD_USB)' X-Git-Tag: v1.3.4-rc2~1^2~9 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ebb86c4ecd37a7701358284e497ca4c6483c7cc5;p=oweals%2Fu-boot.git 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 Acked-by: Markus Klotzbuecher --- diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index 4040a691dd..18682fe5a2 100644 --- a/common/cmd_bootm.c +++ b/common/cmd_bootm.c @@ -36,7 +36,7 @@ #include #include -#if (CONFIG_CMD_USB) +#if defined(CONFIG_CMD_USB) #include #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