blob: a44ebf259757fd1fd502b39764e68c6a826f2eb8 [file] [log] [blame]
Trevor Woerner71f63542020-05-06 08:02:42 -04001if ARCH_STM32
Vikas Manocha0a61ee82016-01-15 17:49:06 -08002
3config STM32F4
4 bool "stm32f4 family"
Patrice Chotardaea0af82018-01-12 09:23:50 +01005 select CLK
6 select DM_GPIO
7 select DM_RESET
8 select MISC
9 select PINCTRL
10 select PINCTRL_STM32
11 select RAM
Patrice Chotardaea0af82018-01-12 09:23:50 +010012 select STM32_RCC
13 select STM32_RESET
Michal Simek58008cb2018-07-23 15:55:15 +020014 select STM32_SDRAM
Patrice Chotardaea0af82018-01-12 09:23:50 +010015 select STM32_SERIAL
Patrice Chotardaa5e3e22018-02-07 10:44:50 +010016 select STM32_TIMER
17 select TIMER
Vikas Manocha0a61ee82016-01-15 17:49:06 -080018
Vikas Manochae66c49f2016-02-11 15:47:20 -080019config STM32F7
20 bool "stm32f7 family"
Patrice Chotardaea0af82018-01-12 09:23:50 +010021 select CLK
22 select DM_GPIO
23 select DM_RESET
24 select MISC
25 select PINCTRL
26 select PINCTRL_STM32
27 select RAM
Michal Simek58008cb2018-07-23 15:55:15 +020028 select STM32_RCC
29 select STM32_RESET
30 select STM32_SDRAM
31 select STM32_SERIAL
32 select STM32_TIMER
33 select SUPPORT_SPL
34 select TIMER
35 imply SPL_OS_BOOT
Vikas Manochae66c49f2016-02-11 15:47:20 -080036
Patrice Chotard246771b2017-09-13 18:00:12 +020037config STM32H7
38 bool "stm32h7 family"
39 select CLK
40 select DM_GPIO
41 select DM_RESET
42 select MISC
43 select PINCTRL
44 select PINCTRL_STM32
45 select RAM
46 select REGMAP
Patrice Chotard246771b2017-09-13 18:00:12 +020047 select STM32_RCC
48 select STM32_RESET
Michal Simek58008cb2018-07-23 15:55:15 +020049 select STM32_SDRAM
Patrice Chotardae74de02018-01-12 09:23:49 +010050 select STM32_SERIAL
Patrice Chotardaa5e3e22018-02-07 10:44:50 +010051 select STM32_TIMER
Patrice Chotard246771b2017-09-13 18:00:12 +020052 select SYSCON
Patrice Chotardaa5e3e22018-02-07 10:44:50 +010053 select TIMER
Patrice Chotard246771b2017-09-13 18:00:12 +020054
Vikas Manocha0a61ee82016-01-15 17:49:06 -080055source "arch/arm/mach-stm32/stm32f4/Kconfig"
Vikas Manochae66c49f2016-02-11 15:47:20 -080056source "arch/arm/mach-stm32/stm32f7/Kconfig"
Patrice Chotard246771b2017-09-13 18:00:12 +020057source "arch/arm/mach-stm32/stm32h7/Kconfig"
Vikas Manocha0a61ee82016-01-15 17:49:06 -080058
59endif