This is an automated email from the ASF dual-hosted git repository. xiaoxiang781216 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 831734bb7036b502197e7d7b7d1cb9fc9d981b7b Author: Yanfeng Liu <[email protected]> AuthorDate: Tue Feb 18 10:26:44 2025 +0800 arch/arm: add ARM_GIC_VERSION This adds ARM_GIC_VERSION config so that to allow different versions of GIC to be used with ARM 32 bit chips. Signed-off-by: Yanfeng Liu <[email protected]> --- arch/arm/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index faf35fc5afa..5041ebf1806 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1402,6 +1402,14 @@ config ARCH_ARMV8R select ARM_HAVE_WFE_SEV +config ARM_GIC_VERSION + int "GIC version" + default 3 if ARCH_ARMV8R + default 2 + range 2 4 + ---help--- + Version of Generic Interrupt Controller (GIC) supported. + config ARCH_FAMILY string default "arm" if ARCH_ARM7TDMI || ARCH_ARM920T || ARCH_ARM926EJS || ARCH_ARM1136J || ARCH_ARM1156T2 || ARCH_ARM1176JZ
