diff options
author | Reinhard Meyer (-VC) <reinhard.meyer@emk-elektronik.de> | 2010-06-14 12:14:00 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-06-29 22:30:57 +0200 |
commit | d04250cbe1999cfaafee590dfb3191ade305fb63 (patch) | |
tree | c17265808c22a31f0027b364c7932f6eea9fac37 /arch/avr32 | |
parent | 620bbba524fbaa26971a5004793010b169824f1b (diff) | |
download | u-boot-imx-d04250cbe1999cfaafee590dfb3191ade305fb63.zip u-boot-imx-d04250cbe1999cfaafee590dfb3191ade305fb63.tar.gz u-boot-imx-d04250cbe1999cfaafee590dfb3191ade305fb63.tar.bz2 |
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"
Signed-off-by: Reinhard Meyer <info@emk-elektronik.de>
Diffstat (limited to 'arch/avr32')
-rw-r--r-- | 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 917ed6c..254aecf 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; } |