]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: stm32: Use different EXTI driver on ARMv7m and ARMv7a
authorAntonio Borneo <antonio.borneo@foss.st.com>
Thu, 20 Jun 2024 08:31:09 +0000 (10:31 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 23 Jun 2024 17:49:44 +0000 (19:49 +0200)
Build the proper driver by selecting the appropriate config flag.

Signed-off-by: Antonio Borneo <antonio.borneo@foss.st.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20240620083115.204362-3-antonio.borneo@foss.st.com
arch/arm/mach-stm32/Kconfig

index ae21a9f78f9c2b9b6529fa52ab86ab1dfc34471c..a401a991fe088ea8f4813f8ff6a864eb8e2cb138 100644 (file)
@@ -11,7 +11,8 @@ menuconfig ARCH_STM32
        select CLKSRC_STM32
        select PINCTRL
        select RESET_CONTROLLER
-       select STM32_EXTI
+       select STM32MP_EXTI if ARCH_MULTI_V7
+       select STM32_EXTI if ARM_SINGLE_ARMV7M
        select STM32_FIREWALL
        help
          Support for STMicroelectronics STM32 processors.