diff options
author | Ye Li <ye.li@nxp.com> | 2019-06-25 02:51:42 -0700 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2020-04-26 23:21:48 -0700 |
commit | 3d0b50f6087183362cb3b43609ca6cd04d7470cd (patch) | |
tree | e67ba427e18cf056116571edf150d999367d7ca0 /arch/arm/mach-imx/imx8m | |
parent | d2df5aa8e995c63b324bcbc826846e44e5b77aa5 (diff) |
MLK-22105-3 imx8m: spl: Move bss clean up before arch_cpu_init
Since rng_init is used arch_cpu_init, we have to clean up BSS section
before it.
Also remove the unnecessary memset to global data, because
board_init_f_init_reserve already memset it. If we memset it in board_init_f,
the gd->malloc_base is reset to 0 and will cause early malloc problem
when CONFIG_MALLOC_F_ADDR is not set.
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit c36ae6a623b075192b20d93f9e3fe966961d86f4)
(cherry picked from commit f7e11efcb4689cd7e1068677454b2bd4480708f3)
Diffstat (limited to 'arch/arm/mach-imx/imx8m')
0 files changed, 0 insertions, 0 deletions