ARM: zynq: Remove unused board_early_init_f()
authorMichal Simek <michal.simek@xilinx.com>
Tue, 15 Oct 2019 11:06:32 +0000 (13:06 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 24 Oct 2019 11:37:03 +0000 (13:37 +0200)
board_early_init_f added by commit e6cc3b25d721
("arm: zynq: Wire watchdog internals") is no longer needed that's why
remove it also with Kconfig enabling.

Fixes: ccd063e9812a ("watchdog: Move watchdog_dev to data section (BSS may not be cleared)")
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/Kconfig
board/xilinx/zynq/board.c
configs/zynq_dlc20_rev1_0_defconfig

index 75041ce30d01e31876bf80d6aaeec521a7b69681..629c5e8c2d393857116205649ea724aa8f61d12e 100644 (file)
@@ -1008,7 +1008,6 @@ config ARCH_VF610
 
 config ARCH_ZYNQ
        bool "Xilinx Zynq based platform"
-       select BOARD_EARLY_INIT_F if WDT
        select CLK
        select CLK_ZYNQ
        select CPU_V7A
index 7cfe69db69359a1f92e1a736202e30314cf45bb7..8a216ed619bf51a819111a2be939d288cf9fa5c6 100644 (file)
 
 DECLARE_GLOBAL_DATA_PTR;
 
-#if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_BOARD_EARLY_INIT_F)
-int board_early_init_f(void)
-{
-       return 0;
-}
-#endif
-
 int board_init(void)
 {
        return 0;
index e6a67310f1be1935d92aedf8803d693fd7146d5e..9272a3f660eac23097c13ec4c20f5dba6f65808e 100644 (file)
@@ -16,7 +16,6 @@ CONFIG_FIT_SIGNATURE=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_LEGACY_IMAGE_FORMAT=y
 CONFIG_USE_PREBOOT=y
-CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL_STACK_R=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_SPL_SPI_LOAD=y