diff options
author | Qianyu Gong <qianyu.gong@nxp.com> | 2016-09-07 17:56:10 +0800 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2016-09-14 14:10:22 -0700 |
commit | caa6e9b03aed3b5c9d1a0dfbec59391d646592a0 (patch) | |
tree | 62237ccaef0ac875eb6d77d825502c4464aa5c04 /arch/arm | |
parent | a8c9d66c644dbfef6b953ab530565da3f61c6665 (diff) | |
download | u-boot-imx-caa6e9b03aed3b5c9d1a0dfbec59391d646592a0.zip u-boot-imx-caa6e9b03aed3b5c9d1a0dfbec59391d646592a0.tar.gz u-boot-imx-caa6e9b03aed3b5c9d1a0dfbec59391d646592a0.tar.bz2 |
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 <Qianyu.Gong@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/cpu/armv8/fsl-layerscape/spl.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/spl.c b/arch/arm/cpu/armv8/fsl-layerscape/spl.c index b75547d..1dabdbb 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 |