Skip to content

Commit 097530b

Browse files
arndbShawn Guo
authored andcommitted
ARM: imx: fix imx8m dependencies
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: fc40200 ("soc: imx: increase build coverage for imx8m soc driver") Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
1 parent fd25c88 commit 097530b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/soc/imx/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ config SOC_IMX8M
1313
depends on ARCH_MXC || COMPILE_TEST
1414
default ARCH_MXC && ARM64
1515
select SOC_BUS
16-
select ARM_GIC_V3 if ARCH_MXC
16+
select ARM_GIC_V3 if ARCH_MXC && ARCH_MULTI_V7
1717
help
1818
If you say yes here you get support for the NXP i.MX8M family
1919
support, it will provide the SoC info like SoC family,

0 commit comments

Comments
 (0)