Commit aea0af8993446505043687fe3751cb34a2b8dead
Committed by
Tom Rini
1 parent
ae74de0dfd
Exists in
smarc_8mq_lf_v2020.04
and in
17 other branches
configs: stm32: move config flag from defconfig to Kconfig
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>
Showing 4 changed files with 22 additions and 33 deletions Side-by-side Diff
arch/arm/mach-stm32/Kconfig
... | ... | @@ -2,9 +2,31 @@ |
2 | 2 | |
3 | 3 | config STM32F4 |
4 | 4 | bool "stm32f4 family" |
5 | + select CLK | |
6 | + select DM_GPIO | |
7 | + select DM_RESET | |
8 | + select MISC | |
9 | + select PINCTRL | |
10 | + select PINCTRL_STM32 | |
11 | + select RAM | |
12 | + select STM32_SDRAM | |
13 | + select STM32_RCC | |
14 | + select STM32_RESET | |
15 | + select STM32_SERIAL | |
5 | 16 | |
6 | 17 | config STM32F7 |
7 | 18 | bool "stm32f7 family" |
19 | + select CLK | |
20 | + select DM_GPIO | |
21 | + select DM_RESET | |
22 | + select MISC | |
23 | + select PINCTRL | |
24 | + select PINCTRL_STM32 | |
25 | + select RAM | |
26 | + select STM32_SDRAM | |
27 | + select STM32_RCC | |
28 | + select STM32_RESET | |
29 | + select STM32_SERIAL | |
8 | 30 | select SUPPORT_SPL |
9 | 31 | select SPL |
10 | 32 | select SPL_CLK |
configs/stm32f429-discovery_defconfig
... | ... | @@ -19,17 +19,6 @@ |
19 | 19 | CONFIG_OF_CONTROL=y |
20 | 20 | CONFIG_OF_EMBED=y |
21 | 21 | CONFIG_ENV_IS_IN_FLASH=y |
22 | -CONFIG_CLK=y | |
23 | -CONFIG_DM_GPIO=y | |
24 | -CONFIG_MISC=y | |
25 | -CONFIG_STM32_RCC=y | |
26 | 22 | # CONFIG_MMC is not set |
27 | 23 | CONFIG_MTD_NOR_FLASH=y |
28 | -CONFIG_PINCTRL=y | |
29 | -CONFIG_PINCTRL_STM32=y | |
30 | -CONFIG_RAM=y | |
31 | -CONFIG_STM32_SDRAM=y | |
32 | -CONFIG_DM_RESET=y | |
33 | -CONFIG_STM32_RESET=y | |
34 | -CONFIG_STM32_SERIAL=y |
configs/stm32f469-discovery_defconfig
... | ... | @@ -26,18 +26,7 @@ |
26 | 26 | CONFIG_OF_CONTROL=y |
27 | 27 | CONFIG_OF_EMBED=y |
28 | 28 | # CONFIG_BLK is not set |
29 | -CONFIG_CLK=y | |
30 | -CONFIG_DM_GPIO=y | |
31 | -CONFIG_MISC=y | |
32 | -CONFIG_STM32_RCC=y | |
33 | 29 | CONFIG_DM_MMC=y |
34 | 30 | CONFIG_ARM_PL180_MMCI=y |
35 | 31 | CONFIG_MTD_NOR_FLASH=y |
36 | -CONFIG_PINCTRL=y | |
37 | -CONFIG_PINCTRL_STM32=y | |
38 | -CONFIG_RAM=y | |
39 | -CONFIG_STM32_SDRAM=y | |
40 | -CONFIG_DM_RESET=y | |
41 | -CONFIG_STM32_RESET=y | |
42 | -CONFIG_STM32_SERIAL=y |
configs/stm32f746-disco_defconfig
... | ... | @@ -39,10 +39,6 @@ |
39 | 39 | CONFIG_NET_RANDOM_ETHADDR=y |
40 | 40 | CONFIG_NETCONSOLE=y |
41 | 41 | # CONFIG_BLK is not set |
42 | -CONFIG_CLK=y | |
43 | -CONFIG_DM_GPIO=y | |
44 | -CONFIG_MISC=y | |
45 | -CONFIG_STM32_RCC=y | |
46 | 42 | CONFIG_DM_MMC=y |
47 | 43 | # CONFIG_SPL_DM_MMC is not set |
48 | 44 | CONFIG_ARM_PL180_MMCI=y |
49 | 45 | |
... | ... | @@ -53,14 +49,7 @@ |
53 | 49 | CONFIG_SPI_FLASH_STMICRO=y |
54 | 50 | CONFIG_DM_ETH=y |
55 | 51 | CONFIG_ETH_DESIGNWARE=y |
56 | -CONFIG_PINCTRL=y | |
57 | 52 | # CONFIG_PINCTRL_FULL is not set |
58 | -CONFIG_PINCTRL_STM32=y | |
59 | -CONFIG_RAM=y | |
60 | -CONFIG_STM32_SDRAM=y | |
61 | -CONFIG_DM_RESET=y | |
62 | -CONFIG_STM32_RESET=y | |
63 | -CONFIG_STM32_SERIAL=y | |
64 | 53 | CONFIG_DM_SPI=y |
65 | 54 | CONFIG_STM32_QSPI=y |
66 | 55 | CONFIG_OF_LIBFDT_OVERLAY=y |