public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] Fix (null) problem for AVR32 boards
@ 2010-06-14 10:14 Reinhard Meyer
  2010-06-29 20:31 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Reinhard Meyer @ 2010-06-14 10:14 UTC (permalink / raw)
  To: u-boot

Currently the U-Boot address ranges for AVR32 boards are
printed like this:
"U-Boot code: (null) -> 0001183c  data: 000188e8 -> 0004e9b0"
This patch fixes this to print:
"U-Boot code: 00000000 -> 0001183c  data: 000188f8 -> 0004e9c0"

Signed-off-by: Reinhard Meyer <info@emk-elektronik.de>
---
 arch/avr32/lib/board.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/avr32/lib/board.c b/arch/avr32/lib/board.c
index 6be5ab0..c6b1f7b 100644
--- a/arch/avr32/lib/board.c
+++ b/arch/avr32/lib/board.c
@@ -115,8 +115,9 @@ static int init_baudrate(void)
 static int display_banner (void)
 {
 	printf ("\n\n%s\n\n", version_string);
-	printf ("U-Boot code: %p -> %p  data: %p -> %p\n",
-		_text, _etext, _data, _end);
+	printf ("U-Boot code: %08lx -> %08lx  data: %08lx -> %08lx\n",
+		(unsigned long)_text, (unsigned long)_etext,
+		(unsigned long)_data, (unsigned long)_end);
 	return 0;
 }
 
-- 
1.5.6.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] Fix (null) problem for AVR32 boards
  2010-06-14 10:14 [U-Boot] [PATCH] Fix (null) problem for AVR32 boards Reinhard Meyer
@ 2010-06-29 20:31 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2010-06-29 20:31 UTC (permalink / raw)
  To: u-boot

Dear "Reinhard Meyer (-VC)",

In message <4C1600E8.6070604@emk-elektronik.de> you wrote:
> Currently the U-Boot address ranges for AVR32 boards are
> printed like this:
> "U-Boot code: (null) -> 0001183c  data: 000188e8 -> 0004e9b0"
> This patch fixes this to print:
> "U-Boot code: 00000000 -> 0001183c  data: 000188f8 -> 0004e9c0"
> 
> Signed-off-by: Reinhard Meyer <info@emk-elektronik.de>
> ---
>  arch/avr32/lib/board.c |    5 +++--
>  1 files changed, 3 insertions(+), 2 deletions(-)

Applied to "next" branch.

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
I will also, for an appropriate fee, certify that  your  keyboard  is
object-oriented,  and  that  the bits on your hard disk are template-
compatible.            - Jeffrey S. Haemer in <411akr$3ga@cygnus.com>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-06-29 20:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-14 10:14 [U-Boot] [PATCH] Fix (null) problem for AVR32 boards Reinhard Meyer
2010-06-29 20:31 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox