]> git.baikalelectronics.ru Git - uboot.git/commit
board: stm32: Fix stm32f746-disco boot
authorPatrice Chotard <patrice.chotard@st.com>
Mon, 29 Jan 2018 12:44:20 +0000 (13:44 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 29 Jan 2018 17:48:30 +0000 (12:48 -0500)
commit4132be72d758a644bb3d4b97e55471a897c28329
treefe8c2ae63256da10f04e5f5547a9a1e13d0345a6
parent74efcb311558377fc7129df0c54d74ecdf66b310
board: stm32: Fix stm32f746-disco boot

Since 'commit d650f059b ("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: d650f059b ("fdc spl: use different BOARD_INIT MACRO for spl and tpl")
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
arch/arm/mach-stm32/Kconfig
include/configs/stm32f746-disco.h