]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: stm32: move config flag from defconfig to Kconfig
authorPatrice Chotard <patrice.chotard@st.com>
Fri, 12 Jan 2018 08:23:50 +0000 (09:23 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 19 Jan 2018 20:49:32 +0000 (15:49 -0500)
Move system flags from defconfig to mach-stm32/Kconfig

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Vikas Manocha <vikas.manocha@st.com>
arch/arm/mach-stm32/Kconfig
configs/stm32f429-discovery_defconfig
configs/stm32f469-discovery_defconfig
configs/stm32f746-disco_defconfig

index f4c93f1afbc1119b6ff8b7cbaf184cbf03191db4..5f7a2b5669eaccdc9d9a6f9e13d1c17dc9f78a8a 100644 (file)
@@ -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
index 6f7a12f03777a33f9cf5960d0ca0ade50b820841..ec67aad810eaaf22d793db615d85a6c6b0e46a45 100644 (file)
@@ -19,16 +19,5 @@ CONFIG_CMD_TIMER=y
 CONFIG_OF_CONTROL=y
 CONFIG_OF_EMBED=y
 CONFIG_ENV_IS_IN_FLASH=y
-CONFIG_CLK=y
-CONFIG_DM_GPIO=y
-CONFIG_MISC=y
-CONFIG_STM32_RCC=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
-CONFIG_PINCTRL=y
-CONFIG_PINCTRL_STM32=y
-CONFIG_RAM=y
-CONFIG_STM32_SDRAM=y
-CONFIG_DM_RESET=y
-CONFIG_STM32_RESET=y
-CONFIG_STM32_SERIAL=y
index 5b70aa9f12257a804345104087012e9a474471b1..8190b82161128106a72361f3130735ad94dba4c2 100644 (file)
@@ -26,17 +26,6 @@ CONFIG_CMD_FS_GENERIC=y
 CONFIG_OF_CONTROL=y
 CONFIG_OF_EMBED=y
 # CONFIG_BLK is not set
-CONFIG_CLK=y
-CONFIG_DM_GPIO=y
-CONFIG_MISC=y
-CONFIG_STM32_RCC=y
 CONFIG_DM_MMC=y
 CONFIG_ARM_PL180_MMCI=y
 CONFIG_MTD_NOR_FLASH=y
-CONFIG_PINCTRL=y
-CONFIG_PINCTRL_STM32=y
-CONFIG_RAM=y
-CONFIG_STM32_SDRAM=y
-CONFIG_DM_RESET=y
-CONFIG_STM32_RESET=y
-CONFIG_STM32_SERIAL=y
index 69df866457c805d4608576e8cd8de0620a424f43..f8fa198ccbea5d2f04c05127ab37fea60b32f516 100644 (file)
@@ -39,10 +39,6 @@ CONFIG_OF_CONTROL=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_NETCONSOLE=y
 # CONFIG_BLK is not set
-CONFIG_CLK=y
-CONFIG_DM_GPIO=y
-CONFIG_MISC=y
-CONFIG_STM32_RCC=y
 CONFIG_DM_MMC=y
 # CONFIG_SPL_DM_MMC is not set
 CONFIG_ARM_PL180_MMCI=y
@@ -53,14 +49,7 @@ CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
 CONFIG_DM_ETH=y
 CONFIG_ETH_DESIGNWARE=y
-CONFIG_PINCTRL=y
 # CONFIG_PINCTRL_FULL is not set
-CONFIG_PINCTRL_STM32=y
-CONFIG_RAM=y
-CONFIG_STM32_SDRAM=y
-CONFIG_DM_RESET=y
-CONFIG_STM32_RESET=y
-CONFIG_STM32_SERIAL=y
 CONFIG_DM_SPI=y
 CONFIG_STM32_QSPI=y
 CONFIG_OF_LIBFDT_OVERLAY=y