[U-Boot] [PATCH] powerpc: always print the RAM relocated address when boot up

Wolfgang Denk wd at denx.de
Fri Oct 22 07:17:18 CEST 2010


Dear Roy Zang,

In message <1287721745-7503-1-git-send-email-tie-fei.zang at freescale.com> you wrote:
> The RAM relocated address is useful when debugging or there is u-boot
> crash dump.  So always print it instead of debug.
> 
> Signed-off-by: Roy Zang <tie-fei.zang at freescale.com>
> Cc: Wood Scott-B07421 <B07421 at freescale.com>
> ---
>  arch/powerpc/lib/board.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/powerpc/lib/board.c b/arch/powerpc/lib/board.c
> index c0c7fd4..74a9856 100644
> --- a/arch/powerpc/lib/board.c
> +++ b/arch/powerpc/lib/board.c
> @@ -639,7 +639,7 @@ void board_init_r (gd_t *id, ulong dest_addr)
>  	serial_initialize();
>  #endif
>  
> -	debug ("Now running in RAM - U-Boot at: %08lx\n", dest_addr);
> +	printf("Now running in RAM - U-Boot at: %08lx\n", dest_addr);

NAK. This is a debug message, and would be only noise in production.

If you want to know this information, you get it any time you like
using the "bdinfo" command.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"A fractal is by definition a set for which the Hausdorff Besicovitch
dimension strictly exceeds the topological dimension."
- Mandelbrot, _The Fractal Geometry of Nature_


More information about the U-Boot mailing list