blob: a439dbd10f182601bfc7f2d4f6db494469b04853 [file] [log] [blame]
Trevor Woerner2bcc1ed2020-05-06 08:02:42 -04001if ARCH_STM32
Vikas Manocha95c89192016-01-15 17:49:06 -08002
3config STM32F4
4 bool "stm32f4 family"
Patrice Chotard1226eaf2018-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 Chotard1226eaf2018-01-12 09:23:50 +010012 select STM32_RCC
13 select STM32_RESET
Michal Simek7e7ba3b2018-07-23 15:55:15 +020014 select STM32_SDRAM
Patrice Chotard1226eaf2018-01-12 09:23:50 +010015 select STM32_SERIAL
Patrice Chotard0c156762018-02-07 10:44:50 +010016 select STM32_TIMER
17 select TIMER
Vikas Manocha95c89192016-01-15 17:49:06 -080018
Vikas Manocha1b51c932016-02-11 15:47:20 -080019config STM32F7
20 bool "stm32f7 family"
Patrice Chotard1226eaf2018-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 Manocha50218ae2017-05-28 12:55:10 -070028 select SPL
Patrice Chotard6b1c3002018-01-29 13:44:20 +010029 select SPL_BOARD_INIT
Vikas Manocha50218ae2017-05-28 12:55:10 -070030 select SPL_CLK
31 select SPL_DM
Ley Foon Tanc3c5e352018-07-11 17:56:57 +080032 select SPL_DM_RESET
Vikas Manocha50218ae2017-05-28 12:55:10 -070033 select SPL_DM_SEQ_ALIAS
Simon Glass284cb9c2021-07-10 21:14:31 -060034 select SPL_DRIVERS_MISC
Simon Glass035939e2021-07-10 21:14:30 -060035 select SPL_GPIO
Vikas Manocha50218ae2017-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
Simon Glassf4d60392021-08-08 12:20:12 -060044 select SPL_SERIAL
Vikas Manocha50218ae2017-05-28 12:55:10 -070045 select SPL_SYS_MALLOC_SIMPLE
Patrice Chotard0c156762018-02-07 10:44:50 +010046 select SPL_TIMER
Vikas Manochaf0e32c02017-05-28 12:55:14 -070047 select SPL_XIP_SUPPORT
Michal Simek7e7ba3b2018-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 Manocha1b51c932016-02-11 15:47:20 -080056
Patrice Chotard1e1d02d2017-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 Chotard1e1d02d2017-09-13 18:00:12 +020067 select STM32_RCC
68 select STM32_RESET
Michal Simek7e7ba3b2018-07-23 15:55:15 +020069 select STM32_SDRAM
Patrice Chotard9e276502018-01-12 09:23:49 +010070 select STM32_SERIAL
Patrice Chotard0c156762018-02-07 10:44:50 +010071 select STM32_TIMER
Patrice Chotard1e1d02d2017-09-13 18:00:12 +020072 select SYSCON
Patrice Chotard0c156762018-02-07 10:44:50 +010073 select TIMER
Patrice Chotard1e1d02d2017-09-13 18:00:12 +020074
Vikas Manocha95c89192016-01-15 17:49:06 -080075source "arch/arm/mach-stm32/stm32f4/Kconfig"
Vikas Manocha1b51c932016-02-11 15:47:20 -080076source "arch/arm/mach-stm32/stm32f7/Kconfig"
Patrice Chotard1e1d02d2017-09-13 18:00:12 +020077source "arch/arm/mach-stm32/stm32h7/Kconfig"
Vikas Manocha95c89192016-01-15 17:49:06 -080078
79endif