Skip to contentSkip to conversation

Fix (null) problem for AVR32 boards

PATCH New Reinhard Meyer (-VC) 2 participants 2 messages Jun 14, 2010 – Jun 29, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix (null) problem for AVR32 boards

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"

---
 arch/avr32/lib/board.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
arch/avr32/lib/board.c +3 -2
index 6be5ab0..c6b1f7b 100644
@@ -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;
 }
 
Signature · 1 line
1.5.6.5
#1 lore raw

PATCH 1/1 Fix (null) problem for AVR32 boards

Dear "Reinhard Meyer (-VC)",

Quoted 10 lines · In message <[email protected]> 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"

---
 arch/avr32/lib/board.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

Applied to "next" branch.

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
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 <[email protected]>