提交 ebb86c4e 编写于 作者: S Stefan Roese 提交者: Wolfgang Denk

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: NStefan Roese <sr@denx.de>
Acked-by: NMarkus Klotzbuecher <mk@denx.de>
上级 2cb90804
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
#include <lmb.h> #include <lmb.h>
#include <asm/byteorder.h> #include <asm/byteorder.h>
#if (CONFIG_CMD_USB) #if defined(CONFIG_CMD_USB)
#include <usb.h> #include <usb.h>
#endif #endif
...@@ -217,7 +217,7 @@ int do_bootm (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) ...@@ -217,7 +217,7 @@ int do_bootm (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
*/ */
iflag = disable_interrupts(); iflag = disable_interrupts();
#if (CONFIG_CMD_USB) #if defined(CONFIG_CMD_USB)
/* /*
* turn off USB to prevent the host controller from writing to the * turn off USB to prevent the host controller from writing to the
* SDRAM while Linux is booting. This could happen (at least for OHCI * SDRAM while Linux is booting. This could happen (at least for OHCI
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册