The PXA port had a user visible "PXA Processor" choice to pick the SoC,
independently of the board being built. That is the last remnant of the
one-SoC-per-build era and does not scale to multiple boards.

Make the SoC symbols invisible and have the board select them instead,
like all other ARM architectures do. Also add the PXA300 and PXA310
symbols, which had no equivalent in the choice.

Assisted-by: Claude Opus 5
Signed-off-by: Sascha Hauer <[email protected]>
---
 arch/arm/mach-pxa/Kconfig | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/arch/arm/mach-pxa/Kconfig b/arch/arm/mach-pxa/Kconfig
index 738fa7d9bb..5bc99f1f83 100644
--- a/arch/arm/mach-pxa/Kconfig
+++ b/arch/arm/mach-pxa/Kconfig
@@ -6,13 +6,17 @@ if ARCH_PXA
 
 config ARCH_PXA3XX
        bool
-       default y
        select CPU_XSC3
        select HAVE_CLK
        select COMMON_CLK
        select COMMON_CLK_OF_PROVIDER
 
+config ARCH_PXA300
+       bool
+       select ARCH_PXA3XX
+
 config ARCH_PXA310
        bool
+       select ARCH_PXA3XX
 
 endif

-- 
2.47.3


Reply via email to