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: Gong Qianyu <Qianyu.Gong@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
This commit is contained in:
Qianyu Gong 2016-09-07 17:56:10 +08:00 committed by York Sun
parent a8c9d66c64
commit caa6e9b03a

View File

@ -61,10 +61,5 @@ void board_init_f(ulong dummy)
i2c_init_all();
#endif
dram_init();
/* Clear the BSS */
memset(__bss_start, 0, __bss_end - __bss_start);
board_init_r(NULL, 0);
}
#endif