Skip to content
Snippets Groups Projects
Commit 478ec834 authored by Josh Wu's avatar Josh Wu Committed by Andreas Bießmann
Browse files

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: default avatarJosh Wu <josh.wu@atmel.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarAndreas Bießmann <andreas.devel@googlemail.com>
parent 0e067a65
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment