summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRichard Retanubun <RichardRetanubun@RuggedCom.com>2010-01-15 10:06:06 -0500
committerWolfgang Denk <wd@denx.de>2010-03-11 23:49:16 +0100
commit4b99327a4121a28d2bdb2c2b841f5d97931ae905 (patch)
treea55f0661809ca14930ad43beea6660a45cb1e27a /include
parent8c4444ff5e1d8e9fd1a847a2fb096aa9aff66f85 (diff)
downloadu-boot-imx-4b99327a4121a28d2bdb2c2b841f5d97931ae905.zip
u-boot-imx-4b99327a4121a28d2bdb2c2b841f5d97931ae905.tar.gz
u-boot-imx-4b99327a4121a28d2bdb2c2b841f5d97931ae905.tar.bz2
PPC: Record U-Boot's relocated address in RAM and show in bdinfo.
This patch uses gd->relocaddr variable to store uboot's relocated address in RAM and shows it in bdinfo command. This patch moves CONFIG_AMIGAONEG3SE style copying of the address in board_init_f to just before relocation is actually done. Signed-off-by: Richard Retanubun <RichardRetanubun@RuggedCom.com> Tested-by: Detlev Zundel <dzu@denx.de>
Diffstat (limited to 'include')
-rw-r--r--include/asm-ppc/global_data.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/asm-ppc/global_data.h b/include/asm-ppc/global_data.h
index 3f11918..d3dd44e 100644
--- a/include/asm-ppc/global_data.h
+++ b/include/asm-ppc/global_data.h
@@ -152,9 +152,7 @@ typedef struct global_data {
defined(CONFIG_SANDPOINT)
void * console_addr;
#endif
-#ifdef CONFIG_AMIGAONEG3SE
unsigned long relocaddr; /* Start address of U-Boot in RAM */
-#endif
#if defined(CONFIG_LCD) || defined(CONFIG_VIDEO)
unsigned long fb_base; /* Base address of framebuffer memory */
#endif