summaryrefslogtreecommitdiff
path: root/lib_ppc
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-06-30 19:32:25 +0200
committerWolfgang Denk <wd@pollux.denx.de>2006-06-30 19:32:25 +0200
commit3b5f61a02579026f0588b5dac3bb1c507b6fa53f (patch)
tree53c593882aee7938f94b0b3bdc0b6e50fdfe2ad6 /lib_ppc
parenta63c31cff5147f1eca19d884ee120005775fbffc (diff)
parentbba68377320608b3c3f7c0fef30452bdaa8b0408 (diff)
downloadu-boot-imx-3b5f61a02579026f0588b5dac3bb1c507b6fa53f.zip
u-boot-imx-3b5f61a02579026f0588b5dac3bb1c507b6fa53f.tar.gz
u-boot-imx-3b5f61a02579026f0588b5dac3bb1c507b6fa53f.tar.bz2
Merge with /home/m8/git/u-boot
Diffstat (limited to 'lib_ppc')
-rw-r--r--lib_ppc/board.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/lib_ppc/board.c b/lib_ppc/board.c
index e68cf1f..dbb752e 100644
--- a/lib_ppc/board.c
+++ b/lib_ppc/board.c
@@ -610,6 +610,11 @@ void board_init_r (gd_t *id, ulong dest_addr)
bd = gd->bd;
gd->flags |= GD_FLG_RELOC; /* tell others: relocation done */
+ gd->reloc_off = dest_addr - CFG_MONITOR_BASE;
+
+#ifdef CONFIG_SERIAL_MULTI
+ serial_initialize();
+#endif
debug ("Now running in RAM - U-Boot at: %08lx\n", dest_addr);
@@ -619,14 +624,8 @@ void board_init_r (gd_t *id, ulong dest_addr)
board_early_init_r ();
#endif
- gd->reloc_off = dest_addr - CFG_MONITOR_BASE;
-
monitor_flash_len = (ulong)&__init_end - dest_addr;
-#ifdef CONFIG_SERIAL_MULTI
- serial_initialize();
-#endif
-
/*
* We have to relocate the command table manually
*/