diff options
| author | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2013-05-30 14:45:06 +0200 | 
|---|---|---|
| committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2013-05-30 14:45:06 +0200 | 
| commit | a19b0dd62d7b8efc658fa1aa685ff5665878f3ee (patch) | |
| tree | 1fadf0fb3da83203ba28f209ec99e1b33e03f4d5 /arch/avr32/lib/board.c | |
| parent | 60985bba58e7695dac1fddae8cdbb62d8cfd1254 (diff) | |
| parent | a71d45d706a5b51c348160163b6c159632273fed (diff) | |
| download | olio-uboot-2014.01-a19b0dd62d7b8efc658fa1aa685ff5665878f3ee.tar.xz olio-uboot-2014.01-a19b0dd62d7b8efc658fa1aa685ff5665878f3ee.zip | |
Merge branch 'u-boot/master' into 'u-boot-arm/master'
Conflicts:
	common/cmd_fpga.c
	drivers/usb/host/ohci-at91.c
Diffstat (limited to 'arch/avr32/lib/board.c')
| -rw-r--r-- | arch/avr32/lib/board.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/arch/avr32/lib/board.c b/arch/avr32/lib/board.c index ccf862a7f..2e79e98eb 100644 --- a/arch/avr32/lib/board.c +++ b/arch/avr32/lib/board.c @@ -116,7 +116,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)__bss_end); +		(unsigned long)_data, (unsigned long)(&__bss_end));  	return 0;  } @@ -183,7 +183,7 @@ void board_init_f(ulong board_type)  	 *  - stack  	 */  	addr = CONFIG_SYS_SDRAM_BASE + sdram_size; -	monitor_len = (char *)__bss_end - _text; +	monitor_len = (char *)(&__bss_end) - _text;  	/*  	 * Reserve memory for u-boot code, data and bss. |