PPC: Record U-Boot's relocated address in RAM and show in bdinfo.
authorRichard Retanubun <RichardRetanubun@RuggedCom.com>
Fri, 15 Jan 2010 15:06:06 +0000 (10:06 -0500)
committerWolfgang Denk <wd@denx.de>
Thu, 11 Mar 2010 22:49:16 +0000 (23:49 +0100)
commit4b99327a4121a28d2bdb2c2b841f5d97931ae905
treea55f0661809ca14930ad43beea6660a45cb1e27a
parent8c4444ff5e1d8e9fd1a847a2fb096aa9aff66f85
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>
common/cmd_bdinfo.c
include/asm-ppc/global_data.h
lib_ppc/board.c