summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-stm32/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-stm32/Kconfig')
-rw-r--r--arch/arm/mach-stm32/Kconfig54
1 files changed, 54 insertions, 0 deletions
diff --git a/arch/arm/mach-stm32/Kconfig b/arch/arm/mach-stm32/Kconfig
new file mode 100644
index 000000000..adca4368d
--- /dev/null
+++ b/arch/arm/mach-stm32/Kconfig
@@ -0,0 +1,54 @@
+menuconfig ARCH_STM32
+ bool "STMicroelectronics STM32 family"
+ depends on ARM_SINGLE_ARMV7M || ARCH_MULTI_V7
+ select ARMV7M_SYSTICK if ARM_SINGLE_ARMV7M
+ select HAVE_ARM_ARCH_TIMER if ARCH_MULTI_V7
+ select ARM_GIC if ARCH_MULTI_V7
+ select ARM_PSCI if ARCH_MULTI_V7
+ select ARCH_HAS_RESET_CONTROLLER
+ select CLKSRC_STM32
+ select PINCTRL
+ select RESET_CONTROLLER
+ select STM32_EXTI
+ help
+ Support for STMicroelectronics STM32 processors.
+
+if ARCH_STM32
+
+if ARM_SINGLE_ARMV7M
+
+config MACH_STM32F429
+ bool "STMicroelectronics STM32F429"
+ select ARM_AMBA
+ default y
+
+config MACH_STM32F469
+ bool "STMicroelectronics STM32F469"
+ select ARM_AMBA
+ default y
+
+config MACH_STM32F746
+ bool "STMicroelectronics STM32F746"
+ select ARM_AMBA
+ default y
+
+config MACH_STM32F769
+ bool "STMicroelectronics STM32F769"
+ select ARM_AMBA
+ default y
+
+config MACH_STM32H743
+ bool "STMicroelectronics STM32H743"
+ default y
+
+endif # ARMv7-M
+
+if ARCH_MULTI_V7
+
+config MACH_STM32MP157
+ bool "STMicroelectronics STM32MP157"
+ default y
+
+endif # ARMv7-A
+
+endif