ARMv7M: Add STM32F4 support
[oweals/u-boot.git] / arch / arm / Kconfig
index 086ca8514f84e721e9886000a56d216b108c5171..987f39140a703fe70c9c30ff7a256cca9bae93d4 100644 (file)
@@ -33,6 +33,9 @@ config CPU_V7
         bool
         select HAS_VBAR
 
+config CPU_V7M
+       bool
+
 config CPU_PXA
         bool
 
@@ -47,6 +50,7 @@ config SYS_CPU
         default "arm1136" if CPU_ARM1136
         default "arm1176" if CPU_ARM1176
         default "armv7" if CPU_V7
+        default "armv7m" if CPU_V7M
         default "pxa" if CPU_PXA
         default "sa1100" if CPU_SA1100
        default "armv8" if ARM64
@@ -235,6 +239,8 @@ config TARGET_SPEAR600
 config TARGET_STV0991
        bool "Support stv0991"
        select CPU_V7
+       select DM
+       select DM_SERIAL
 
 config TARGET_X600
        bool "Support x600"
@@ -293,6 +299,9 @@ config TARGET_MX35PDK
 
 config ARCH_BCM283X
        bool "Broadcom BCM283X family"
+       select DM
+       select DM_SERIAL
+       select DM_GPIO
 
 config TARGET_INTEGRATORAP_CM946ES
        bool "Support integratorap_cm946es"
@@ -330,21 +339,33 @@ config TARGET_CM_T335
        bool "Support cm_t335"
        select CPU_V7
        select SUPPORT_SPL
+       select DM
+       select DM_SERIAL
+       select DM_GPIO
 
 config TARGET_PEPPER
        bool "Support pepper"
        select CPU_V7
        select SUPPORT_SPL
+       select DM
+       select DM_SERIAL
+       select DM_GPIO
 
 config TARGET_AM335X_IGEP0033
        bool "Support am335x_igep0033"
        select CPU_V7
        select SUPPORT_SPL
+       select DM
+       select DM_SERIAL
+       select DM_GPIO
 
 config TARGET_PCM051
        bool "Support pcm051"
        select CPU_V7
        select SUPPORT_SPL
+       select DM
+       select DM_SERIAL
+       select DM_GPIO
 
 config TARGET_DRACO
        bool "Support draco"
@@ -370,11 +391,17 @@ config TARGET_PENGWYN
        bool "Support pengwyn"
        select CPU_V7
        select SUPPORT_SPL
+       select DM
+       select DM_SERIAL
+       select DM_GPIO
 
 config TARGET_AM335X_EVM
        bool "Support am335x_evm"
        select CPU_V7
        select SUPPORT_SPL
+       select DM
+       select DM_SERIAL
+       select DM_GPIO
 
 config TARGET_AM43XX_EVM
        bool "Support am43xx_evm"
@@ -385,6 +412,8 @@ config TARGET_BAV335X
        bool "Support bav335x"
        select CPU_V7
        select SUPPORT_SPL
+       select DM
+       select DM_SERIAL
        help
          The BAV335x OEM Network Processor integrates all the functions of an
          embedded network computer in a small, easy to use SODIMM module which
@@ -419,10 +448,18 @@ config TARGET_BCMNSP
 config ARCH_EXYNOS
        bool "Samsung EXYNOS"
        select CPU_V7
+       select DM
+       select DM_SPI_FLASH
+       select DM_SERIAL
+       select DM_SPI
+       select DM_GPIO
 
 config ARCH_S5PC1XX
        bool "Samsung S5PC1XX"
        select CPU_V7
+       select DM
+       select DM_SERIAL
+       select DM_GPIO
 
 config ARCH_HIGHBANK
        bool "Calxeda Highbank"
@@ -437,6 +474,10 @@ config ARCH_MX6
        bool "Freescale MX6"
        select CPU_V7
 
+config ARCH_MX5
+       bool "Freescale MX5"
+       select CPU_V7
+
 config TARGET_M53EVK
        bool "Support m53evk"
        select CPU_V7
@@ -513,11 +554,15 @@ config TARGET_MX6QARM2
 config TARGET_MX6QSABREAUTO
        bool "Support mx6qsabreauto"
        select CPU_V7
+       select DM
+       select DM_THERMAL
 
 config TARGET_MX6SABRESD
        bool "Support mx6sabresd"
        select CPU_V7
        select SUPPORT_SPL
+       select DM
+       select DM_THERMAL
 
 config TARGET_MX6SLEVK
        bool "Support mx6slevk"
@@ -527,6 +572,8 @@ config TARGET_MX6SXSABRESD
        bool "Support mx6sxsabresd"
        select CPU_V7
        select SUPPORT_SPL
+       select DM
+       select DM_THERMAL
 
 config TARGET_GW_VENTANA
        bool "Support gw_ventana"
@@ -587,16 +634,25 @@ config TARGET_CM_FX6
        bool "Support cm_fx6"
        select CPU_V7
        select SUPPORT_SPL
+       select DM
+       select DM_SERIAL
+       select DM_GPIO
 
 config TARGET_SOCFPGA_ARRIA5
        bool "Support socfpga_arria5"
        select CPU_V7
        select SUPPORT_SPL
+       select DM
+       select DM_SPI_FLASH
+       select DM_SPI
 
 config TARGET_SOCFPGA_CYCLONE5
        bool "Support socfpga_cyclone5"
        select CPU_V7
        select SUPPORT_SPL
+       select DM
+       select DM_SPI_FLASH
+       select DM_SPI
 
 config ARCH_SUNXI
        bool "Support sunxi (Allwinner) SoCs"
@@ -617,6 +673,7 @@ config ZYNQ
        bool "Xilinx Zynq Platform"
        select CPU_V7
        select SUPPORT_SPL
+       select DM
 
 config TARGET_XILINX_ZYNQMP
        bool "Support Xilinx ZynqMP Platform"
@@ -628,6 +685,12 @@ config TEGRA
        select SPL
        select OF_CONTROL
        select CPU_V7
+       select DM
+       select DM_SPI_FLASH
+       select DM_SERIAL
+       select DM_I2C
+       select DM_SPI
+       select DM_GPIO
 
 config TARGET_VEXPRESS64_AEMV8A
        bool "Support vexpress_aemv8a"
@@ -722,6 +785,9 @@ config ARCH_UNIPHIER
        select SUPPORT_SPL
        select SPL
        select OF_CONTROL
+       select DM
+       select DM_SERIAL
+       select DM_I2C
 
 endchoice
 
@@ -741,6 +807,8 @@ source "arch/arm/mach-kirkwood/Kconfig"
 
 source "arch/arm/cpu/armv7/mx6/Kconfig"
 
+source "arch/arm/cpu/armv7/mx5/Kconfig"
+
 source "arch/arm/mach-nomadik/Kconfig"
 
 source "arch/arm/cpu/armv7/omap3/Kconfig"