summaryrefslogtreecommitdiff
path: root/arch/avr32/lib/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/avr32/lib/board.c')
-rw-r--r--arch/avr32/lib/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/avr32/lib/board.c b/arch/avr32/lib/board.c
index e828e42326..5a3f752213 100644
--- a/arch/avr32/lib/board.c
+++ b/arch/avr32/lib/board.c
@@ -188,7 +188,7 @@ void board_init_f(ulong board_type)
* - stack
*/
addr = CONFIG_SYS_SDRAM_BASE + sdram_size;
- monitor_len = __bss_end - _text;
+ monitor_len = (char *)__bss_end - _text;
/*
* Reserve memory for u-boot code, data and bss.