summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/lib/board.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/powerpc/lib/board.c b/arch/powerpc/lib/board.c
index f7325c8..6cb0ed6 100644
--- a/arch/powerpc/lib/board.c
+++ b/arch/powerpc/lib/board.c
@@ -390,6 +390,13 @@ void board_init_f (ulong bootflag)
}
}
+#ifdef CONFIG_POST
+ post_bootmode_init();
+ post_run(NULL, POST_ROM | post_bootmode_get(0));
+#endif
+
+ WATCHDOG_RESET();
+
/*
* Now that we have DRAM mapped and working, we can
* relocate the code and continue running from DRAM.
@@ -596,13 +603,6 @@ void board_init_f (ulong bootflag)
WATCHDOG_RESET ();
-#ifdef CONFIG_POST
- post_bootmode_init();
- post_run (NULL, POST_ROM | post_bootmode_get(0));
-#endif
-
- WATCHDOG_RESET();
-
gd->relocaddr = addr; /* Record relocation address, useful for debug */
memcpy (id, (void *)gd, sizeof (gd_t));