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 <josh.wu@atmel.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Andreas Bießmann <andreas.devel@googlemail.com>
This commit is contained in:
Josh Wu 2015-10-23 17:23:57 +08:00 committed by Andreas Bießmann
parent 0e067a65f5
commit 478ec83489
1 changed files with 0 additions and 5 deletions

View File

@ -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);
}