[PATCH v2 12/21] ARM: cpu: remove unused SYS_SUPPORTS_32BIT_KERNEL

Ahmad Fatoum a.fatoum at pengutronix.de
Wed Jun 8 22:59:13 PDT 2022


This symbol only serves hiding CONFIG_32BIT and was so far not set
anywhere, so just drop it.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 arch/arm/Kconfig     | 2 +-
 arch/arm/cpu/Kconfig | 3 ---
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 7c6b65ae4db6..03a7e4b6600c 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -397,7 +397,7 @@ choice
 
 config 32BIT
 	bool "32-bit barebox"
-	depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
+	depends on CPU_SUPPORTS_32BIT_KERNEL
 	help
 	  Select this option if you want to build a 32-bit barebox.
 
diff --git a/arch/arm/cpu/Kconfig b/arch/arm/cpu/Kconfig
index f3cf2750e9af..9b5a833abfff 100644
--- a/arch/arm/cpu/Kconfig
+++ b/arch/arm/cpu/Kconfig
@@ -155,9 +155,6 @@ config CACHE_L2X0
 	bool "Enable L2x0 PrimeCell"
 	depends on MMU && ARCH_HAS_L2X0
 
-config SYS_SUPPORTS_32BIT_KERNEL
-	bool
-
 config CPU_SUPPORTS_32BIT_KERNEL
 	bool
 
-- 
2.30.2




More information about the barebox mailing list