[U-Boot] [PATCH V2] PPC: Record uboot's relocated address in RAM and show in bdinfo.

Detlev Zundel dzu at denx.de
Tue Jan 19 15:28:16 CET 2010


Hi Richard,

can you please resend the patch - it is strangely whitespace damaged:

> From c9b845a6dac24e74ab450aa0bac071b441d16ae9 Mon Sep 17 00:00:00 2001
> From: Richard Retanubun <RichardRetanubun at RuggedCom.com>
> Date: Fri, 15 Jan 2010 10:06:06 -0500
> Subject: [PATCH] PPC: Record uboot'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 removes CONFIG_AMIGAONEG3SE style copying of the address
> in board_init_f; it is moved to a common place in board_init_r.
>
> Signed-off-by: Richard Retanubun <RichardRetanubun at RuggedCom.com>
> ---
>   common/cmd_bdinfo.c           |    1 +
>   include/asm-ppc/global_data.h |    2 --
>   lib_ppc/board.c               |    7 +++----
>   3 files changed, 4 insertions(+), 6 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;
>   }
>

I did not check why the other hunks fail, but in this one there is a
space too much at the beginning of the lines...

Cheers
  Detlev

-- 
... that every year or so they're going to give you a new release full
of 50 000  additional lines of code all  written  by monkeys.  Because
they generally follow  the  ``million monkeys typing,   and eventually
they'll come up with something useful'' school of system development.
	                                    -- Richard M. Stallman
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de


More information about the U-Boot mailing list