projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
620bbba
)
Fix (null) problem for AVR32 boards
author
Reinhard Meyer (-VC)
<reinhard.meyer@emk-elektronik.de>
Mon, 14 Jun 2010 10:14:00 +0000
(12:14 +0200)
committer
Wolfgang Denk
<wd@denx.de>
Tue, 29 Jun 2010 20:30:57 +0000
(22:30 +0200)
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
patch
|
blob
|
history
diff --git
a/arch/avr32/lib/board.c
b/arch/avr32/lib/board.c
index 917ed6ce75ef8f7eccd29605dfece339778a1c36..254aecff510eb035e780007a095b82786dd0f4a3 100644
(file)
--- 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;
}