Skip to content
Commit a70c05f1 authored by Patrice Chotard's avatar Patrice Chotard Committed by Tom Rini
Browse files

board: stm32: Fix stm32f746-disco boot



Since 'commit af2f4426 ("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: af2f4426 ("fdc spl: use different BOARD_INIT MACRO for spl and tpl")
Signed-off-by: default avatarPatrice Chotard <patrice.chotard@st.com>
parent ae5326a6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment