blob: 2f1e7d3a155ee7783c7c8f129ccc777ae35dd582 [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
Vikas Manochab9747692017-05-28 12:55:10 -070028 select SPL
Patrice Chotarda70c05f2018-01-29 13:44:20 +010029 select SPL_BOARD_INIT
Vikas Manochab9747692017-05-28 12:55:10 -070030 select SPL_CLK
31 select SPL_DM
Ley Foon Tan5e9a9642018-07-11 17:56:57 +080032 select SPL_DM_RESET
Vikas Manochab9747692017-05-28 12:55:10 -070033 select SPL_DM_SEQ_ALIAS
Simon Glass9ca00682021-07-10 21:14:31 -060034 select SPL_DRIVERS_MISC
Simon Glass83061db2021-07-10 21:14:30 -060035 select SPL_GPIO
Vikas Manochab9747692017-05-28 12:55:10 -070036 select SPL_LIBCOMMON_SUPPORT
37 select SPL_LIBGENERIC_SUPPORT
38 select SPL_MTD_SUPPORT
39 select SPL_OF_CONTROL
40 select SPL_OF_LIBFDT
41 select SPL_OF_TRANSLATE
42 select SPL_PINCTRL
43 select SPL_RAM
44 select SPL_SERIAL_SUPPORT
45 select SPL_SYS_MALLOC_SIMPLE
Patrice Chotardaa5e3e22018-02-07 10:44:50 +010046 select SPL_TIMER
Vikas Manocha1a73bd82017-05-28 12:55:14 -070047 select SPL_XIP_SUPPORT
Michal Simek58008cb2018-07-23 15:55:15 +020048 select STM32_RCC
49 select STM32_RESET
50 select STM32_SDRAM
51 select STM32_SERIAL
52 select STM32_TIMER
53 select SUPPORT_SPL
54 select TIMER
55 imply SPL_OS_BOOT
Vikas Manochae66c49f2016-02-11 15:47:20 -080056
Patrice Chotard246771b2017-09-13 18:00:12 +020057config STM32H7
58 bool "stm32h7 family"
59 select CLK
60 select DM_GPIO
61 select DM_RESET
62 select MISC
63 select PINCTRL
64 select PINCTRL_STM32
65 select RAM
66 select REGMAP
Patrice Chotard246771b2017-09-13 18:00:12 +020067 select STM32_RCC
68 select STM32_RESET
Michal Simek58008cb2018-07-23 15:55:15 +020069 select STM32_SDRAM
Patrice Chotardae74de02018-01-12 09:23:49 +010070 select STM32_SERIAL
Patrice Chotardaa5e3e22018-02-07 10:44:50 +010071 select STM32_TIMER
Patrice Chotard246771b2017-09-13 18:00:12 +020072 select SYSCON
Patrice Chotardaa5e3e22018-02-07 10:44:50 +010073 select TIMER
Patrice Chotard246771b2017-09-13 18:00:12 +020074
Vikas Manocha0a61ee82016-01-15 17:49:06 -080075source "arch/arm/mach-stm32/stm32f4/Kconfig"
Vikas Manochae66c49f2016-02-11 15:47:20 -080076source "arch/arm/mach-stm32/stm32f7/Kconfig"
Patrice Chotard246771b2017-09-13 18:00:12 +020077source "arch/arm/mach-stm32/stm32h7/Kconfig"
Vikas Manocha0a61ee82016-01-15 17:49:06 -080078
79endif