From a6225fa0cfb54782ec4676343329f888128453a6 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Tue, 19 May 2015 21:24:15 +0200 Subject: [PATCH] Remove Kconfig variable that has no effect CPU_HAS_BOOTBLOCK_INIT is only declared once and selected elsewhere (with no overlap), and never read. Remove it. Change-Id: I3f294b0724a87876a7e2f274e6933fe10321a69d Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/10253 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) --- src/arch/riscv/Kconfig | 4 ---- src/cpu/allwinner/a10/Kconfig | 1 - src/cpu/ti/am335x/Kconfig | 1 - src/soc/broadcom/cygnus/Kconfig | 1 - src/soc/marvell/bg4cd/Kconfig | 1 - src/soc/rockchip/rk3288/Kconfig | 1 - src/soc/samsung/exynos5250/Kconfig | 1 - src/soc/samsung/exynos5420/Kconfig | 1 - 8 files changed, 11 deletions(-) diff --git a/src/arch/riscv/Kconfig b/src/arch/riscv/Kconfig index 5d7b5c269b..f87d8d22d6 100644 --- a/src/arch/riscv/Kconfig +++ b/src/arch/riscv/Kconfig @@ -25,10 +25,6 @@ config RISCV_BOOTBLOCK_CUSTOM bool default n -config CPU_HAS_BOOTBLOCK_INIT - bool - default n - config MAINBOARD_HAS_BOOTBLOCK_INIT bool default n diff --git a/src/cpu/allwinner/a10/Kconfig b/src/cpu/allwinner/a10/Kconfig index e481af0143..ce68476b1c 100644 --- a/src/cpu/allwinner/a10/Kconfig +++ b/src/cpu/allwinner/a10/Kconfig @@ -13,7 +13,6 @@ config CPU_SPECIFIC_OPTIONS select HAVE_MONOTONIC_TIMER select HAVE_UART_SPECIAL select BOOTBLOCK_CONSOLE - select CPU_HAS_BOOTBLOCK_INIT ## TODO Change this to some better address not overlapping bootblock when ## cbfstool supports creating header in arbitrary location. diff --git a/src/cpu/ti/am335x/Kconfig b/src/cpu/ti/am335x/Kconfig index 0150e16837..8d3c691161 100644 --- a/src/cpu/ti/am335x/Kconfig +++ b/src/cpu/ti/am335x/Kconfig @@ -6,7 +6,6 @@ config CPU_TI_AM335X select HAVE_MONOTONIC_TIMER select HAVE_UART_SPECIAL select BOOTBLOCK_CONSOLE - select CPU_HAS_BOOTBLOCK_INIT select GENERIC_UDELAY bool default n diff --git a/src/soc/broadcom/cygnus/Kconfig b/src/soc/broadcom/cygnus/Kconfig index b2f06133a9..1c0eb0edd5 100644 --- a/src/soc/broadcom/cygnus/Kconfig +++ b/src/soc/broadcom/cygnus/Kconfig @@ -25,7 +25,6 @@ config SOC_BROADCOM_CYGNUS select ARCH_ROMSTAGE_ARMV7 select ARCH_VERSTAGE_ARMV7 select BOOTBLOCK_CONSOLE - select CPU_HAS_BOOTBLOCK_INIT select DYNAMIC_CBMEM select EARLY_CONSOLE select GENERIC_UDELAY diff --git a/src/soc/marvell/bg4cd/Kconfig b/src/soc/marvell/bg4cd/Kconfig index 9c0dc140f7..18dda55890 100644 --- a/src/soc/marvell/bg4cd/Kconfig +++ b/src/soc/marvell/bg4cd/Kconfig @@ -26,7 +26,6 @@ config SOC_MARVELL_BG4CD select ARCH_VERSTAGE_ARMV7_M select ARM_BOOTBLOCK_CUSTOM if VBOOT_VERIFY_FIRMWARE select BOOTBLOCK_CONSOLE - select CPU_HAS_BOOTBLOCK_INIT select DYNAMIC_CBMEM select EARLY_CONSOLE select GENERIC_UDELAY diff --git a/src/soc/rockchip/rk3288/Kconfig b/src/soc/rockchip/rk3288/Kconfig index 4cdbeea487..f659c8f358 100644 --- a/src/soc/rockchip/rk3288/Kconfig +++ b/src/soc/rockchip/rk3288/Kconfig @@ -24,7 +24,6 @@ config SOC_ROCKCHIP_RK3288 select ARCH_VERSTAGE_ARMV7 select ARCH_ROMSTAGE_ARMV7 select ARCH_RAMSTAGE_ARMV7 - select CPU_HAS_BOOTBLOCK_INIT select HAVE_MONOTONIC_TIMER select GENERIC_UDELAY select HAVE_UART_MEMORY_MAPPED diff --git a/src/soc/samsung/exynos5250/Kconfig b/src/soc/samsung/exynos5250/Kconfig index ea63e9cda8..2008650f0e 100644 --- a/src/soc/samsung/exynos5250/Kconfig +++ b/src/soc/samsung/exynos5250/Kconfig @@ -3,7 +3,6 @@ config CPU_SAMSUNG_EXYNOS5250 select ARCH_VERSTAGE_ARMV7 select ARCH_ROMSTAGE_ARMV7 select ARCH_RAMSTAGE_ARMV7 - select CPU_HAS_BOOTBLOCK_INIT select HAVE_MONOTONIC_TIMER select GENERIC_UDELAY select HAVE_UART_SPECIAL diff --git a/src/soc/samsung/exynos5420/Kconfig b/src/soc/samsung/exynos5420/Kconfig index 56ffed1940..02c71c0bab 100644 --- a/src/soc/samsung/exynos5420/Kconfig +++ b/src/soc/samsung/exynos5420/Kconfig @@ -3,7 +3,6 @@ config CPU_SAMSUNG_EXYNOS5420 select ARCH_VERSTAGE_ARMV7 select ARCH_ROMSTAGE_ARMV7 select ARCH_RAMSTAGE_ARMV7 - select CPU_HAS_BOOTBLOCK_INIT select HAVE_MONOTONIC_TIMER select GENERIC_UDELAY select HAVE_UART_SPECIAL