[U-Boot] [PATCH] 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.
Signed-off-by: Roy Zang tie-fei.zang@freescale.com Cc: Wood Scott-B07421 B07421@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);
WATCHDOG_RESET ();

Dear Roy Zang,
In message 1287721745-7503-1-git-send-email-tie-fei.zang@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@freescale.com Cc: Wood Scott-B07421 B07421@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

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@freescale.com Cc: Wood Scott-B07421 B07421@freescale.com
I use a similar patch here too so: Acked-by: Joakim Tjernlund Joakim.Tjernlund@transmode.se
participants (3)
-
Joakim Tjernlund
-
Roy Zang
-
Wolfgang Denk