]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
armv8: fsl-layerscape: spl: remove BSS clearing and board_init_r
authorQianyu Gong <qianyu.gong@nxp.com>
Wed, 7 Sep 2016 09:56:10 +0000 (17:56 +0800)
committerYork Sun <york.sun@nxp.com>
Wed, 14 Sep 2016 21:10:22 +0000 (14:10 -0700)
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>
arch/arm/cpu/armv8/fsl-layerscape/spl.c

index b75547da9022b7339059baf41129e705ae5b0480..1dabdbb3058165dbc6bdde5a883a0fc5618e97ad 100644 (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