mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-04 02:20:25 +00:00
a70c05f10a
Since 'commitaf2f44267
("fdc spl: use different BOARD_INIT MACRO for spl and tpl")' board stm32f746-disco can't boot. The macro CONFIG_IS_ENABLED() can't evaluate the value of CONFIG_SPL_BOARD_INIT as it was defined in include/configs/stm32f746-disco.h without attributed value. Moving CONFIG_SPL_BOARD_INIT from stm32f746-disco.h to mach-stm32/Kconfig fixes this issue. Fixes:af2f44267
("fdc spl: use different BOARD_INIT MACRO for spl and tpl") Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
71 lines
1.3 KiB
Text
71 lines
1.3 KiB
Text
if STM32
|
|
|
|
config STM32F4
|
|
bool "stm32f4 family"
|
|
select CLK
|
|
select DM_GPIO
|
|
select DM_RESET
|
|
select MISC
|
|
select PINCTRL
|
|
select PINCTRL_STM32
|
|
select RAM
|
|
select STM32_SDRAM
|
|
select STM32_RCC
|
|
select STM32_RESET
|
|
select STM32_SERIAL
|
|
|
|
config STM32F7
|
|
bool "stm32f7 family"
|
|
select CLK
|
|
select DM_GPIO
|
|
select DM_RESET
|
|
select MISC
|
|
select PINCTRL
|
|
select PINCTRL_STM32
|
|
select RAM
|
|
select STM32_SDRAM
|
|
select STM32_RCC
|
|
select STM32_RESET
|
|
select STM32_SERIAL
|
|
select SUPPORT_SPL
|
|
select SPL
|
|
select SPL_BOARD_INIT
|
|
select SPL_CLK
|
|
select SPL_DM
|
|
select SPL_DM_SEQ_ALIAS
|
|
select SPL_DRIVERS_MISC_SUPPORT
|
|
select SPL_GPIO_SUPPORT
|
|
select SPL_LIBCOMMON_SUPPORT
|
|
select SPL_LIBGENERIC_SUPPORT
|
|
select SPL_MTD_SUPPORT
|
|
select SPL_OF_CONTROL
|
|
select SPL_OF_LIBFDT
|
|
select SPL_OF_TRANSLATE
|
|
imply SPL_OS_BOOT
|
|
select SPL_PINCTRL
|
|
select SPL_RAM
|
|
select SPL_SERIAL_SUPPORT
|
|
select SPL_SYS_MALLOC_SIMPLE
|
|
select SPL_XIP_SUPPORT
|
|
|
|
config STM32H7
|
|
bool "stm32h7 family"
|
|
select CLK
|
|
select DM_GPIO
|
|
select DM_RESET
|
|
select MISC
|
|
select PINCTRL
|
|
select PINCTRL_STM32
|
|
select RAM
|
|
select REGMAP
|
|
select STM32_SDRAM
|
|
select STM32_RCC
|
|
select STM32_RESET
|
|
select STM32_SERIAL
|
|
select SYSCON
|
|
|
|
source "arch/arm/mach-stm32/stm32f4/Kconfig"
|
|
source "arch/arm/mach-stm32/stm32f7/Kconfig"
|
|
source "arch/arm/mach-stm32/stm32h7/Kconfig"
|
|
|
|
endif
|