]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx8mp_evk: spl: no need the code since spl framework could do that
authorPeng Fan <peng.fan@nxp.com>
Tue, 26 May 2020 23:33:49 +0000 (20:33 -0300)
committerStefano Babic <sbabic@denx.de>
Mon, 8 Jun 2020 08:42:39 +0000 (10:42 +0200)
We no need invoke the code, since spl framework could help
us do that.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
board/freescale/imx8mp_evk/spl.c

index d4feb84d93e46706b40196295898be49b373c6fa..3b3a854e29b40b4c6ea56cc611ef2f699f34f5ae 100644 (file)
@@ -104,6 +104,7 @@ int board_fit_config_name_match(const char *name)
 }
 #endif
 
+/* Do not use BSS area in this phase */
 void board_init_f(ulong dummy)
 {
        int ret;
@@ -122,9 +123,6 @@ void board_init_f(ulong dummy)
 
        preloader_console_init();
 
-       /* Clear the BSS. */
-       memset(__bss_start, 0, __bss_end - __bss_start);
-
        enable_tzc380();
 
        setup_i2c(0, CONFIG_SYS_I2C_SPEED, 0x7f, &i2c_pad_info1);
@@ -133,6 +131,4 @@ void board_init_f(ulong dummy)
 
        /* DDR initialization */
        spl_dram_init();
-
-       board_init_r(NULL, 0);
 }