* [U-Boot-Users] [PATCH] cmd_bootm.c: Fix problem with '#if (CONFIG_CMD_USB)'
@ 2008-07-30 7:59 Stefan Roese
2008-07-30 14:45 ` Markus Klotzbücher
2008-07-31 8:44 ` Wolfgang Denk
0 siblings, 2 replies; 3+ messages in thread
From: Stefan Roese @ 2008-07-30 7:59 UTC (permalink / raw)
To: u-boot
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>
---
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
--
1.5.6.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot-Users] [PATCH] cmd_bootm.c: Fix problem with '#if (CONFIG_CMD_USB)'
2008-07-30 7:59 [U-Boot-Users] [PATCH] cmd_bootm.c: Fix problem with '#if (CONFIG_CMD_USB)' Stefan Roese
@ 2008-07-30 14:45 ` Markus Klotzbücher
2008-07-31 8:44 ` Wolfgang Denk
1 sibling, 0 replies; 3+ messages in thread
From: Markus Klotzbücher @ 2008-07-30 14:45 UTC (permalink / raw)
To: u-boot
Stefan Roese <sr@denx.de> writes:
> 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>
Wolfgang, please pick up directly.
Best regards
Markus Klotzbuecher
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] [PATCH] cmd_bootm.c: Fix problem with '#if (CONFIG_CMD_USB)'
2008-07-30 7:59 [U-Boot-Users] [PATCH] cmd_bootm.c: Fix problem with '#if (CONFIG_CMD_USB)' Stefan Roese
2008-07-30 14:45 ` Markus Klotzbücher
@ 2008-07-31 8:44 ` Wolfgang Denk
1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2008-07-31 8:44 UTC (permalink / raw)
To: u-boot
In message <1217404791-8481-1-git-send-email-sr@denx.de> you wrote:
> 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>
> ---
> common/cmd_bootm.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
Applied.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"...and the fully armed nuclear warheads, are, of course, merely a
courtesy detail."
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-07-31 8:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-30 7:59 [U-Boot-Users] [PATCH] cmd_bootm.c: Fix problem with '#if (CONFIG_CMD_USB)' Stefan Roese
2008-07-30 14:45 ` Markus Klotzbücher
2008-07-31 8:44 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox