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:
parent
0e067a65f5
commit
478ec83489
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user