1if ARCH_STM32
2
3config STM32F4
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_RCC
13	select STM32_RESET
14	select STM32_SDRAM
15	select STM32_SERIAL
16	select STM32_TIMER
17	select TIMER
18
19config STM32F7
20	bool "stm32f7 family"
21	select CLK
22	select DM_GPIO
23	select DM_RESET
24	select MISC
25	select PINCTRL
26	select PINCTRL_STM32
27	select RAM
28	select SPL
29	select SPL_BOARD_INIT
30	select SPL_CLK
31	select SPL_DM
32	select SPL_DM_RESET
33	select SPL_DM_SEQ_ALIAS
34	select SPL_DRIVERS_MISC_SUPPORT
35	select SPL_GPIO_SUPPORT
36	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
46	select SPL_TIMER
47	select SPL_XIP_SUPPORT
48	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
56
57config 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
67	select STM32_RCC
68	select STM32_RESET
69	select STM32_SDRAM
70	select STM32_SERIAL
71	select STM32_TIMER
72	select SYSCON
73	select TIMER
74
75source "arch/arm/mach-stm32/stm32f4/Kconfig"
76source "arch/arm/mach-stm32/stm32f7/Kconfig"
77source "arch/arm/mach-stm32/stm32h7/Kconfig"
78
79endif
80