ARM: stm32: add AMBA support for stm32 family
authorLudovic Barre <ludovic.barre@st.com>
Thu, 11 Apr 2019 13:44:08 +0000 (15:44 +0200)
committerOlof Johansson <olof@lixom.net>
Mon, 29 Apr 2019 06:01:47 +0000 (23:01 -0700)
This patch enables AMBA support for stm32 family.
stm32 family embeds different amba pl180 variants.

Signed-off-by: Ludovic Barre <ludovic.barre@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-stm32/Kconfig

index 713c068..651bdf4 100644 (file)
@@ -4,6 +4,7 @@ menuconfig ARCH_STM32
        select HAVE_ARM_ARCH_TIMER if ARCH_MULTI_V7
        select ARM_GIC if ARCH_MULTI_V7
        select ARM_PSCI if ARCH_MULTI_V7
+       select ARM_AMBA
        select ARCH_HAS_RESET_CONTROLLER
        select CLKSRC_STM32
        select PINCTRL
@@ -18,22 +19,18 @@ 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