From 4b99327a4121a28d2bdb2c2b841f5d97931ae905 Mon Sep 17 00:00:00 2001 From: Richard Retanubun Date: Fri, 15 Jan 2010 10:06:06 -0500 Subject: 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 Tested-by: Detlev Zundel --- common/cmd_bdinfo.c | 1 + 1 file changed, 1 insertion(+) (limited to 'common') diff --git a/common/cmd_bdinfo.c b/common/cmd_bdinfo.c index 11c154731e..f8400bcc04 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; } -- cgit v1.2.3