2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 06:34:11 +08:00

ARM: Check ARCH_MULTI_V7 to differentiate ARMv5/v7 Allwinner SoCs

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>
This commit is contained in:
Mesih Kilinc 2018-12-02 23:23:35 +03:00 committed by Maxime Ripard
parent 651022382c
commit 2391f4ad89
No known key found for this signature in database
GPG Key ID: E3EF0D6F671851C5

View 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