mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
097530bf8c
Selecting ARM_GIC_V3 on non-CP15 processors leads to build failures
like
arch/arm/include/asm/arch_gicv3.h: In function 'write_ICC_AP1R3_EL1':
arch/arm/include/asm/arch_gicv3.h:36:40: error: 'c12' undeclared (first use in this function)
36 | #define __ICC_AP1Rx(x) __ACCESS_CP15(c12, 0, c9, x)
| ^~~
Add a dependency to only enable the gic driver when building for
at an ARMv7 target, which is the closes approximation to the ARMv8
processor that is actually in this chip.
Fixes: fc40200ebf
("soc: imx: increase build coverage for imx8m soc driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
22 lines
576 B
Text
22 lines
576 B
Text
# SPDX-License-Identifier: GPL-2.0-only
|
|
menu "i.MX SoC drivers"
|
|
|
|
config IMX_GPCV2_PM_DOMAINS
|
|
bool "i.MX GPCv2 PM domains"
|
|
depends on ARCH_MXC || (COMPILE_TEST && OF)
|
|
depends on PM
|
|
select PM_GENERIC_DOMAINS
|
|
default y if SOC_IMX7D
|
|
|
|
config SOC_IMX8M
|
|
bool "i.MX8M SoC family support"
|
|
depends on ARCH_MXC || COMPILE_TEST
|
|
default ARCH_MXC && ARM64
|
|
select SOC_BUS
|
|
select ARM_GIC_V3 if ARCH_MXC && ARCH_MULTI_V7
|
|
help
|
|
If you say yes here you get support for the NXP i.MX8M family
|
|
support, it will provide the SoC info like SoC family,
|
|
ID and revision etc.
|
|
|
|
endmenu
|