Skip to content
Snippets Groups Projects
Commit caa6e9b0 authored by Qianyu Gong's avatar Qianyu Gong Committed by York Sun
Browse files

armv8: fsl-layerscape: spl: remove BSS clearing and board_init_r


As per the top level U-Boot README "Board Initialisation Flow"
section, board_init_f() should return without calling board_init_r()
directly. Clearing BSS and calling board_init_r() will be done in
crt0_64.S.

Signed-off-by: default avatarGong Qianyu <Qianyu.Gong@nxp.com>
Reviewed-by: default avatarYork Sun <york.sun@nxp.com>
parent a8c9d66c
No related branches found
No related tags found
No related merge requests found
...@@ -61,10 +61,5 @@ void board_init_f(ulong dummy) ...@@ -61,10 +61,5 @@ void board_init_f(ulong dummy)
i2c_init_all(); i2c_init_all();
#endif #endif
dram_init(); dram_init();
/* Clear the BSS */
memset(__bss_start, 0, __bss_end - __bss_start);
board_init_r(NULL, 0);
} }
#endif #endif
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