summaryrefslogtreecommitdiff
path: root/common/cmd_boot.c
diff options
context:
space:
mode:
authorKumar Gala <[email protected]>2006-04-20 12:25:10 -0500
committerKumar Gala <[email protected]>2006-04-20 12:25:10 -0500
commitb86d7622b33892b1dafe761a7a9eaeeab9f3816b (patch)
tree56b1b6fc978166abce4afa8e9dee0af94bfc3cd6 /common/cmd_boot.c
parentf8edca2e9a128f526b1fe6f997f7adb852cf5b3c (diff)
parent56a4a63c106cc317fc0fe42686a99416fc469f5b (diff)
Merge branch 'master' of rsync://rsync.denx.de/git/u-boot
Diffstat (limited to 'common/cmd_boot.c')
-rw-r--r--common/cmd_boot.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/common/cmd_boot.c b/common/cmd_boot.c
index 5b58d4e2f1f..e68f16f9da0 100644
--- a/common/cmd_boot.c
+++ b/common/cmd_boot.c
@@ -28,14 +28,12 @@
#include <command.h>
#include <net.h>
-
-/* -------------------------------------------------------------------- */
+#if defined(CONFIG_I386)
+DECLARE_GLOBAL_DATA_PTR;
+#endif
int do_go (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
{
-#if defined(CONFIG_I386)
- DECLARE_GLOBAL_DATA_PTR;
-#endif
ulong addr, rc;
int rcode = 0;