Commit a3ecce373af981f701b1c71a98da3df188c21960

Authored by Adam Ford
Committed by Stefano Babic
1 parent 80be404a25

ARM: imx6qlogic: Cleanup board_init_f

Per the workflow found in crt0.S, we don't need to clear BSS in
board_init_f nor do we need to call board_init_r since that will be
done for us from main when we return from board_init_f.

This patch removes the unneeded function calls from board_init_f.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>

Showing 1 changed file with 0 additions and 6 deletions Side-by-side Diff

board/logicpd/imx6/imx6logic.c
... ... @@ -350,12 +350,6 @@
350 350  
351 351 /* UART clocks enabled and gd valid - init serial console */
352 352 preloader_console_init();
353   -
354   - /* Clear the BSS. */
355   - memset(__bss_start, 0, __bss_end - __bss_start);
356   -
357   - /* load/boot image from boot device */
358   - board_init_r(NULL, 0);
359 353 }
360 354 #endif