From: Josh Wu Date: Fri, 23 Oct 2015 09:23:57 +0000 (+0800) Subject: at91: simplify spl board_init_f function X-Git-Tag: v2016.01-rc1~150 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=478ec83489dea9e27b59eeaf77eed52a6d1185f5;p=oweals%2Fu-boot.git at91: simplify spl board_init_f function crt0.S do both memset the bss section and call board_init_r for us, so remove them from board_init_f(). Signed-off-by: Josh Wu Reviewed-by: Simon Glass Reviewed-by: Andreas Bießmann --- diff --git a/arch/arm/mach-at91/spl_atmel.c b/arch/arm/mach-at91/spl_atmel.c index 8ac53353e6..b2fb51d0ac 100644 --- a/arch/arm/mach-at91/spl_atmel.c +++ b/arch/arm/mach-at91/spl_atmel.c @@ -98,9 +98,4 @@ void board_init_f(ulong dummy) preloader_console_init(); mem_init(); - - /* Clear the BSS. */ - memset(__bss_start, 0, __bss_end - __bss_start); - - board_init_r(NULL, 0); }