diff options
author | Richard Retanubun <RichardRetanubun@RuggedCom.com> | 2010-01-15 10:06:06 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-03-11 23:49:16 +0100 |
commit | 4b99327a4121a28d2bdb2c2b841f5d97931ae905 (patch) | |
tree | a55f0661809ca14930ad43beea6660a45cb1e27a /common | |
parent | 8c4444ff5e1d8e9fd1a847a2fb096aa9aff66f85 (diff) | |
download | u-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 'common')
-rw-r--r-- | common/cmd_bdinfo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/cmd_bdinfo.c b/common/cmd_bdinfo.c index 11c1547..f8400bc 100644 --- a/common/cmd_bdinfo.c +++ b/common/cmd_bdinfo.c @@ -115,6 +115,7 @@ int do_bdinfo ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) #endif printf ("IP addr = %pI4\n", &bd->bi_ip_addr); printf ("baudrate = %6ld bps\n", bd->bi_baudrate ); + print_num ("relocaddr", gd->relocaddr); return 0; } |