summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-stm32/Kconfig
diff options
context:
space:
mode:
authorLudovic Barre <ludovic.barre@st.com>2018-01-16 15:56:00 +0100
committerAlexandre Torgue <alexandre.torgue@st.com>2018-03-05 09:08:43 +0100
commitf7dcb04475b24e8c655aa8f285450ada17c16ebf (patch)
tree96cd97670d0d75a7121aecb777a9af1db003e807 /arch/arm/mach-stm32/Kconfig
parent3ed71f8ad98a07803299693481b03fa6391e094f (diff)
downloadblackbird-op-linux-f7dcb04475b24e8c655aa8f285450ada17c16ebf.tar.gz
blackbird-op-linux-f7dcb04475b24e8c655aa8f285450ada17c16ebf.zip
ARM: stm32: add initial support for STM32MP157
This patch adds initial support of STM32MP157 microprocessor (MPU) based on Arm Cortex-A7. New Cortex-A infrastructure (gic, timer,...) are selected if ARCH_MULTI_V7 is defined. Signed-off-by: Ludovic Barre <ludovic.barre@st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
Diffstat (limited to 'arch/arm/mach-stm32/Kconfig')
-rw-r--r--arch/arm/mach-stm32/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/mach-stm32/Kconfig b/arch/arm/mach-stm32/Kconfig
index 1a876460c74d..5bc7f5ab61cd 100644
--- a/arch/arm/mach-stm32/Kconfig
+++ b/arch/arm/mach-stm32/Kconfig
@@ -1,6 +1,9 @@
menuconfig ARCH_STM32
bool "STMicroelectronics STM32 family" if 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
@@ -35,4 +38,12 @@ config MACH_STM32H743
endif # ARMv7-M
+if ARCH_MULTI_V7
+
+config MACH_STM32MP157
+ bool "STMicroelectronics STM32MP157"
+ default y
+
+endif # ARMv7-A
+
endif
OpenPOWER on IntegriCloud