For ARM, SYS_SUPPORTS_64BIT_KERNEL is selected exclusively by symbols that also select CPU_SUPPORTS_64BIT_KERNEL, so we can drop SYS_SUPPORTS_64BIT_KERNEL safely. Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> --- arch/arm/Kconfig | 4 +--- arch/arm/cpu/Kconfig | 3 --- arch/arm/mach-imx/Kconfig | 1 - arch/arm/mach-layerscape/Kconfig | 1 - arch/arm/mach-rockchip/Kconfig | 1 - 5 files changed, 1 insertion(+), 9 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 215abd19b553..7c6b65ae4db6 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -277,7 +277,6 @@ config ARCH_ZYNQMP select OFTREE select RELOCATABLE select CPU_SUPPORTS_64BIT_KERNEL - select SYS_SUPPORTS_64BIT_KERNEL select HAS_MACB config ARCH_ARM64_VIRT @@ -288,7 +287,6 @@ config ARCH_ARM64_VIRT select OFTREE select RELOCATABLE select CPU_SUPPORTS_64BIT_KERNEL - select SYS_SUPPORTS_64BIT_KERNEL select ARM_AMBA select BOARD_ARM_VIRT select HW_HAS_PCI @@ -405,7 +403,7 @@ config 32BIT config 64BIT bool "64-bit barebox" - depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL + depends on CPU_SUPPORTS_64BIT_KERNEL select ARCH_DMA_ADDR_T_64BIT help Select this option if you want to build a 64-bit barebox. diff --git a/arch/arm/cpu/Kconfig b/arch/arm/cpu/Kconfig index 5639d1eeffc3..f3cf2750e9af 100644 --- a/arch/arm/cpu/Kconfig +++ b/arch/arm/cpu/Kconfig @@ -158,9 +158,6 @@ config CACHE_L2X0 config SYS_SUPPORTS_32BIT_KERNEL bool -config SYS_SUPPORTS_64BIT_KERNEL - bool - config CPU_SUPPORTS_32BIT_KERNEL bool diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig index 9b9f5a472ef9..9ff549ac8397 100644 --- a/arch/arm/mach-imx/Kconfig +++ b/arch/arm/mach-imx/Kconfig @@ -178,7 +178,6 @@ config ARCH_IMX8M select PINCTRL_IMX_IOMUX_V3 select OFTREE select CPU_SUPPORTS_64BIT_KERNEL - select SYS_SUPPORTS_64BIT_KERNEL select COMMON_CLK_OF_PROVIDER select ARCH_HAS_FEC_IMX select HW_HAS_PCI diff --git a/arch/arm/mach-layerscape/Kconfig b/arch/arm/mach-layerscape/Kconfig index 9ad58eba5575..943a47480830 100644 --- a/arch/arm/mach-layerscape/Kconfig +++ b/arch/arm/mach-layerscape/Kconfig @@ -18,7 +18,6 @@ config ARCH_LAYERSCAPE_PPA config ARCH_LS1046 select CPU_V8 select CPU_SUPPORTS_64BIT_KERNEL - select SYS_SUPPORTS_64BIT_KERNEL bool config MACH_LS1046ARDB diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig index e09c4837d59d..1f3ba706ee9f 100644 --- a/arch/arm/mach-rockchip/Kconfig +++ b/arch/arm/mach-rockchip/Kconfig @@ -31,7 +31,6 @@ config ARCH_ROCKCHIP_V8 bool select CPU_V8 select CPU_SUPPORTS_64BIT_KERNEL - select SYS_SUPPORTS_64BIT_KERNEL select ARM_ATF select RELOCATABLE -- 2.30.2 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox