diff options
author | Antonio Borneo <[email protected]> | 2024-06-20 10:31:09 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2024-06-23 19:49:44 +0200 |
commit | 721cdbd68c588a0e883d8a7658bc6a56237eaa71 (patch) | |
tree | 7e554080a47dc3202de70d75ebe800753954541e | |
parent | b20cf2dcbe8b77afb4fcbe7af9349dfca6b7f22a (diff) |
ARM: stm32: Use different EXTI driver on ARMv7m and ARMv7a
Build the proper driver by selecting the appropriate config flag.
Signed-off-by: Antonio Borneo <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
-rw-r--r-- | arch/arm/mach-stm32/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-stm32/Kconfig b/arch/arm/mach-stm32/Kconfig index ae21a9f78f9c..a401a991fe08 100644 --- a/arch/arm/mach-stm32/Kconfig +++ b/arch/arm/mach-stm32/Kconfig @@ -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. |