OSDN Git Service

ARM: Check ARCH_MULTI_V7 to differentiate ARMv5/v7 Allwinner SoCs
authorMesih Kilinc <mesihkilinc@gmail.com>
Sun, 2 Dec 2018 20:23:35 +0000 (23:23 +0300)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Mon, 3 Dec 2018 08:56:33 +0000 (09:56 +0100)
Allwinner also has some ARMv5 SoCs.

In order to add support for them, check ARM_MULTI_V7 before enabling
ARMv7 SoC's. Add help text for ARCH_SUNXI menuconfig.

Signed-off-by: Mesih Kilinc <mesihkilinc@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
arch/arm/mach-sunxi/Kconfig

index d9c8ecf..185c573 100644 (file)
@@ -9,9 +9,13 @@ menuconfig ARCH_SUNXI
        select PM_OPP
        select SUN4I_TIMER
        select RESET_CONTROLLER
+       help
+         Support for Allwinner ARM-based family of processors
 
 if ARCH_SUNXI
 
+if ARCH_MULTI_V7
+
 config MACH_SUN4I
        bool "Allwinner A10 (sun4i) SoCs support"
        default ARCH_SUNXI
@@ -56,3 +60,5 @@ config ARCH_SUNXI_MC_SMP
        select ARM_CPU_SUSPEND
 
 endif
+
+endif