aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-stm32/Kconfig
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@st.com>2018-01-29 13:44:20 +0100
committerTom Rini <trini@konsulko.com>2018-01-29 12:48:30 -0500
commita70c05f10a7f02be7f9edd31f35058b098313820 (patch)
treefe8c2ae63256da10f04e5f5547a9a1e13d0345a6 /arch/arm/mach-stm32/Kconfig
parentae5326a6b34b34b1827edf2eee1a0e9e5363c5a2 (diff)
downloadu-boot-a70c05f10a7f02be7f9edd31f35058b098313820.zip
u-boot-a70c05f10a7f02be7f9edd31f35058b098313820.tar.gz
u-boot-a70c05f10a7f02be7f9edd31f35058b098313820.tar.bz2
board: stm32: Fix stm32f746-disco boot
Since 'commit af2f44267 ("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>
Diffstat (limited to 'arch/arm/mach-stm32/Kconfig')
-rw-r--r--arch/arm/mach-stm32/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-stm32/Kconfig b/arch/arm/mach-stm32/Kconfig
index 5f7a2b5..f79b1a2 100644
--- a/arch/arm/mach-stm32/Kconfig
+++ b/arch/arm/mach-stm32/Kconfig
@@ -29,6 +29,7 @@ config STM32F7
select STM32_SERIAL
select SUPPORT_SPL
select SPL
+ select SPL_BOARD_INIT
select SPL_CLK
select SPL_DM
select SPL_DM_SEQ_ALIAS