Skip to contentSkip to conversation

powerpc: always print the RAM relocated address when boot up

PATCH New Roy Zang 3 participants 3 messages Oct 22, 2010 PowerPC

lore
Share & tools
lore

Roy Zang

author
#0 lore raw

PATCH 1/1 powerpc: always print the RAM relocated address when boot up

The RAM relocated address is useful when debugging or there is u-boot crash dump. So always print it instead of debug.

Cc Wood Scott-B07421 <[email protected]>
---
 arch/powerpc/lib/board.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/powerpc/lib/board.c +1 -1
index c0c7fd4..74a9856 100644
@@ -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);
 
 	WATCHDOG_RESET ();
 
Signature · 1 line
1.5.6.5
#1 lore raw

PATCH 1/1 powerpc: always print the RAM relocated address when boot up

Dear Roy Zang,

Quoted 14 lines · In message <[email protected]> you…

The RAM relocated address is useful when debugging or there is u-boot crash dump. So always print it instead of debug.

Cc Wood Scott-B07421 <[email protected]>
---
 arch/powerpc/lib/board.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/powerpc/lib/board.c +0 -0
index c0c7fd4..74a9856 100644

arch/powerpc/lib/board.c void board_init_r (gd_t *id, ulong dest_addr) · line 642

Quoted 5 lines
arch/powerpc/lib/board.c +1 -1
@@ -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

Signature · 6 lines
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_