Merge tag 'u-boot-atmel-fixes-2020.07-a' of https://gitlab.denx.de/u-boot/custodians...
[oweals/u-boot.git] / arch / arm / mach-stm32 / Kconfig
index 8f4371429f60d1ebaf3749dbe0159a5aeffc5f56..b42b05669a12f8c221afc516eb3802b3fd72a2aa 100644 (file)
@@ -1,17 +1,35 @@
-if STM32
+if ARCH_STM32
 
 config STM32F4
        bool "stm32f4 family"
-
-config STM32F1
-       bool "stm32f1 family"
+       select CLK
+       select DM_GPIO
+       select DM_RESET
+       select MISC
+       select PINCTRL
+       select PINCTRL_STM32
+       select RAM
+       select STM32_RCC
+       select STM32_RESET
+       select STM32_SDRAM
+       select STM32_SERIAL
+       select STM32_TIMER
+       select TIMER
 
 config STM32F7
        bool "stm32f7 family"
-       select SUPPORT_SPL
+       select CLK
+       select DM_GPIO
+       select DM_RESET
+       select MISC
+       select PINCTRL
+       select PINCTRL_STM32
+       select RAM
        select SPL
+       select SPL_BOARD_INIT
        select SPL_CLK
        select SPL_DM
+       select SPL_DM_RESET
        select SPL_DM_SEQ_ALIAS
        select SPL_DRIVERS_MISC_SUPPORT
        select SPL_GPIO_SUPPORT
@@ -21,15 +39,41 @@ config STM32F7
        select SPL_OF_CONTROL
        select SPL_OF_LIBFDT
        select SPL_OF_TRANSLATE
-       select SPL_OS_BOOT
        select SPL_PINCTRL
        select SPL_RAM
        select SPL_SERIAL_SUPPORT
        select SPL_SYS_MALLOC_SIMPLE
+       select SPL_TIMER
        select SPL_XIP_SUPPORT
+       select STM32_RCC
+       select STM32_RESET
+       select STM32_SDRAM
+       select STM32_SERIAL
+       select STM32_TIMER
+       select SUPPORT_SPL
+       select TIMER
+       imply SPL_OS_BOOT
+
+config STM32H7
+       bool "stm32h7 family"
+       select CLK
+       select DM_GPIO
+       select DM_RESET
+       select MISC
+       select PINCTRL
+       select PINCTRL_STM32
+       select RAM
+       select REGMAP
+       select STM32_RCC
+       select STM32_RESET
+       select STM32_SDRAM
+       select STM32_SERIAL
+       select STM32_TIMER
+       select SYSCON
+       select TIMER
 
 source "arch/arm/mach-stm32/stm32f4/Kconfig"
-source "arch/arm/mach-stm32/stm32f1/Kconfig"
 source "arch/arm/mach-stm32/stm32f7/Kconfig"
+source "arch/arm/mach-stm32/stm32h7/Kconfig"
 
 endif