summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPatrice Chotard <[email protected]>2018-01-12 09:23:50 +0100
committerTom Rini <[email protected]>2018-01-19 15:49:32 -0500
commitaea0af8993446505043687fe3751cb34a2b8dead (patch)
tree726b0b5e9f415bf1f08b89adad29e2fdadb78202 /arch
parentae74de0dfd4543a18cf1aee68eb1daeb9c125fde (diff)
configs: stm32: move config flag from defconfig to Kconfig
Move system flags from defconfig to mach-stm32/Kconfig Signed-off-by: Patrice Chotard <[email protected]> Reviewed-by: Vikas Manocha <[email protected]>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-stm32/Kconfig22
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/mach-stm32/Kconfig b/arch/arm/mach-stm32/Kconfig
index f4c93f1afbc..5f7a2b5669e 100644
--- a/arch/arm/mach-stm32/Kconfig
+++ b/arch/arm/mach-stm32/Kconfig
@@ -2,9 +2,31 @@ if STM32
config STM32F4
bool "stm32f4 family"
+ select CLK
+ select DM_GPIO
+ select DM_RESET
+ select MISC
+ select PINCTRL
+ select PINCTRL_STM32
+ select RAM
+ select STM32_SDRAM
+ select STM32_RCC
+ select STM32_RESET
+ select STM32_SERIAL
config STM32F7
bool "stm32f7 family"
+ select CLK
+ select DM_GPIO
+ select DM_RESET
+ select MISC
+ select PINCTRL
+ select PINCTRL_STM32
+ select RAM
+ select STM32_SDRAM
+ select STM32_RCC
+ select STM32_RESET
+ select STM32_SERIAL
select SUPPORT_SPL
select SPL
select SPL_CLK