summaryrefslogtreecommitdiffstats
path: root/arch/avr32/lib
diff options
context:
space:
mode:
authorPo-Yu Chuang <ratbert@faraday-tech.com>2011-03-01 22:59:59 +0000
committerAlbert Aribaud <albert.aribaud@free.fr>2011-03-27 19:18:37 +0200
commit44c6e6591cb451ae606f8bde71dd5fb7b4002544 (patch)
treed1fd2c25a1590f9a19a814b1f5d4c61186d8cc86 /arch/avr32/lib
parent55f7934d2b07a62027cb05484ea3f10666a855d1 (diff)
downloadblackbird-obmc-uboot-44c6e6591cb451ae606f8bde71dd5fb7b4002544.tar.gz
blackbird-obmc-uboot-44c6e6591cb451ae606f8bde71dd5fb7b4002544.zip
rename _end to __bss_end__
Currently, _end is used for end of BSS section. We want _end to mean end of u-boot image, so we rename _end to __bss_end__ first. Signed-off-by: Po-Yu Chuang <ratbert@faraday-tech.com>
Diffstat (limited to 'arch/avr32/lib')
-rw-r--r--arch/avr32/lib/board.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/avr32/lib/board.c b/arch/avr32/lib/board.c
index 8b56237f18..5edef8fd39 100644
--- a/arch/avr32/lib/board.c
+++ b/arch/avr32/lib/board.c
@@ -118,7 +118,7 @@ static int display_banner (void)
printf ("\n\n%s\n\n", version_string);
printf ("U-Boot code: %08lx -> %08lx data: %08lx -> %08lx\n",
(unsigned long)_text, (unsigned long)_etext,
- (unsigned long)_data, (unsigned long)_end);
+ (unsigned long)_data, (unsigned long)__bss_end__);
return 0;
}
@@ -190,7 +190,7 @@ void board_init_f(ulong board_type)
* - stack
*/
addr = CONFIG_SYS_SDRAM_BASE + sdram_size;
- monitor_len = _end - _text;
+ monitor_len = __bss_end__ - _text;
/*
* Reserve memory for u-boot code, data and bss.
OpenPOWER on IntegriCloud