From: Qianyu Gong Date: Wed, 7 Sep 2016 09:56:10 +0000 (+0800) Subject: armv8: fsl-layerscape: spl: remove BSS clearing and board_init_r X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=caa6e9b03aed3b5c9d1a0dfbec59391d646592a0;p=u-boot.git 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 Reviewed-by: York Sun --- diff --git a/arch/arm/cpu/armv8/fsl-layerscape/spl.c b/arch/arm/cpu/armv8/fsl-layerscape/spl.c index b75547da90..1dabdbb305 100644 --- a/arch/arm/cpu/armv8/fsl-layerscape/spl.c +++ b/arch/arm/cpu/armv8/fsl-layerscape/spl.c @@ -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