diff options
author | Adam Ford <aford173@gmail.com> | 2019-08-07 12:05:58 -0500 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2019-10-08 16:36:37 +0200 |
commit | a3ecce373af981f701b1c71a98da3df188c21960 (patch) | |
tree | 6f29287d9338a9476b7a00c5a3d0b061a575c79f /board/logicpd | |
parent | 80be404a25953ff14743705f2ec7403eb894c6f5 (diff) | |
download | u-boot-a3ecce373af981f701b1c71a98da3df188c21960.tar.gz |
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>
Diffstat (limited to 'board/logicpd')
-rw-r--r-- | board/logicpd/imx6/imx6logic.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/board/logicpd/imx6/imx6logic.c b/board/logicpd/imx6/imx6logic.c index 7a59b89d94..36ebe12773 100644 --- a/board/logicpd/imx6/imx6logic.c +++ b/board/logicpd/imx6/imx6logic.c @@ -350,11 +350,5 @@ void board_init_f(ulong dummy) /* UART clocks enabled and gd valid - init serial console */ preloader_console_init(); - - /* Clear the BSS. */ - memset(__bss_start, 0, __bss_end - __bss_start); - - /* load/boot image from boot device */ - board_init_r(NULL, 0); } #endif |