aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-zynqmp
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2019-12-19 13:56:33 +0100
committerMichal Simek <michal.simek@xilinx.com>2020-01-14 09:05:53 +0100
commit724caaba4c32a375b32674dab0ff1638054ff317 (patch)
tree7e96ff058dcdfa811aa63376d5d715f2e04a6547 /arch/arm/mach-zynqmp
parent935568eecc4b3e9a493b6ba1517c1e066af63aef (diff)
downloadu-boot-724caaba4c32a375b32674dab0ff1638054ff317.zip
u-boot-724caaba4c32a375b32674dab0ff1638054ff317.tar.gz
u-boot-724caaba4c32a375b32674dab0ff1638054ff317.tar.bz2
arm64: zynqmp: Do not call bss init and board_init_r from board_init_f
There is no reason to clear bss and call board_init_r() from board_init_f() beca it can be called directly from crt0_64.S with also support for SPL stack relocation to SDRAM. For more information please take a look at arch/arm/lib/crt0_64.S Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/arm/mach-zynqmp')
-rw-r--r--arch/arm/mach-zynqmp/spl.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/mach-zynqmp/spl.c b/arch/arm/mach-zynqmp/spl.c
index 6ba42bb..a207953 100644
--- a/arch/arm/mach-zynqmp/spl.c
+++ b/arch/arm/mach-zynqmp/spl.c
@@ -27,13 +27,6 @@ void board_init_f(ulong dummy)
#endif
/* Delay is required for clocks to be propagated */
udelay(1000000);
-
- debug("Clearing BSS 0x%p - 0x%p\n", __bss_start, __bss_end);
- /* Clear the BSS */
- memset(__bss_start, 0, __bss_end - __bss_start);
-
- /* No need to call timer init - it is empty for ZynqMP */
- board_init_r(NULL, 0);
}
static void ps_mode_reset(ulong mode)