From: Simon Glass Date: Sun, 18 Oct 2015 01:41:21 +0000 (-0600) Subject: arm: zynq: Drop unnecessary code in SPL board_init_f() X-Git-Tag: KARO-TXSD-2017-03-15~2914 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=bd44758a41b6d38b865e0bc0b1751c6129c1ec2b;p=karo-tx-uboot.git arm: zynq: Drop unnecessary code in SPL board_init_f() Move to the new way of starting up SPL. Clearing of BSS and calling board_init_r() is now handled by crt0.S. Also tidy up the header include order. Signed-off-by: Simon Glass Signed-off-by: Michal Simek --- diff --git a/arch/arm/mach-zynq/spl.c b/arch/arm/mach-zynq/spl.c index 7bdac3b12d..18054559f5 100644 --- a/arch/arm/mach-zynq/spl.c +++ b/arch/arm/mach-zynq/spl.c @@ -7,8 +7,8 @@ #include #include -#include #include +#include #include DECLARE_GLOBAL_DATA_PTR; @@ -17,11 +17,7 @@ void board_init_f(ulong dummy) { ps7_init(); - /* Clear the BSS. */ - memset(__bss_start, 0, __bss_end - __bss_start); - arch_cpu_init(); - board_init_r(NULL, 0); } #ifdef CONFIG_SPL_BOARD_INIT