summaryrefslogtreecommitdiff
path: root/lib_ppc
diff options
context:
space:
mode:
authorMinkyu Kang <mk7.kang@samsung.com>2010-03-23 19:09:13 +0900
committerMinkyu Kang <mk7.kang@samsung.com>2010-03-23 19:09:13 +0900
commit45e565337a90bbca0c1bb712b5e008b7c0b18bd5 (patch)
tree8bcaee16cda9d8f90f5b596566ad2122c6d8d86b /lib_ppc
parent995a4b1d83a08223c82c1e15778b02e85e5bba51 (diff)
parentd650da2dd4af99967aabc43cccbd8f160eb4cea6 (diff)
downloadu-boot-imx-45e565337a90bbca0c1bb712b5e008b7c0b18bd5.zip
u-boot-imx-45e565337a90bbca0c1bb712b5e008b7c0b18bd5.tar.gz
u-boot-imx-45e565337a90bbca0c1bb712b5e008b7c0b18bd5.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-arm
Conflicts: cpu/arm920t/ep93xx/timer.c Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'lib_ppc')
-rw-r--r--lib_ppc/board.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib_ppc/board.c b/lib_ppc/board.c
index 2889b2c..a30acee 100644
--- a/lib_ppc/board.c
+++ b/lib_ppc/board.c
@@ -477,10 +477,6 @@ void board_init_f (ulong bootflag)
debug ("Reserving %ldk for U-Boot at: %08lx\n", len >> 10, addr);
-#ifdef CONFIG_AMIGAONEG3SE
- gd->relocaddr = addr;
-#endif
-
/*
* reserve memory for malloc() arena
*/
@@ -612,6 +608,8 @@ void board_init_f (ulong bootflag)
WATCHDOG_RESET();
+ gd->relocaddr = addr; /* Record relocation address, useful for debug */
+
memcpy (id, (void *)gd, sizeof (gd_t));
relocate_code (addr_sp, id, addr);