diff options
author | Qianyu Gong <qianyu.gong@nxp.com> | 2016-09-07 09:56:10 (GMT) |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2016-09-14 21:10:22 (GMT) |
commit | caa6e9b03aed3b5c9d1a0dfbec59391d646592a0 (patch) | |
tree | 62237ccaef0ac875eb6d77d825502c4464aa5c04 /arch/arm/cpu | |
parent | a8c9d66c644dbfef6b953ab530565da3f61c6665 (diff) | |
download | u-boot-fsl-qoriq-caa6e9b03aed3b5c9d1a0dfbec59391d646592a0.tar.xz |
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/cpu')
-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 |