aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Fan2020-05-26 20:33:49 -0300
committerStefano Babic2020-06-08 10:42:39 +0200
commit0ec9d5bda93e0203405ffff134ce7b2d7fbda6aa (patch)
treee07ac8eb414bbd208d5043d7ada5f1b5813fbd53
parentbdada3b14d554b029ec0406ca04cd54482c20d81 (diff)
imx8mp_evk: spl: no need the code since spl framework could do that
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>
-rw-r--r--board/freescale/imx8mp_evk/spl.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/board/freescale/imx8mp_evk/spl.c b/board/freescale/imx8mp_evk/spl.c
index d4feb84d93e..3b3a854e29b 100644
--- a/board/freescale/imx8mp_evk/spl.c
+++ b/board/freescale/imx8mp_evk/spl.c
@@ -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);
}