]> git.dujemihanovic.xyz Git - u-boot.git/commit
configs: stm32f746-disco: Fix SPL boot
authorPatrice Chotard <patrice.chotard@foss.st.com>
Tue, 20 Sep 2022 16:04:30 +0000 (18:04 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Mon, 26 Sep 2022 15:03:06 +0000 (17:03 +0200)
commit6ee64732b1cc5a1a87e782d1c53dba3ec21cf6e4
treee50dce8878d25098c5f3496c24cff14a3a8bdba3
parent9f603e2fff19507cc907faa3c5f3f2f51f1b2eaf
configs: stm32f746-disco: Fix SPL boot

Commit 'b4b9a00ed593 ("Convert CONFIG_SYS_SPL_ARGS_ADDR to Kconfig")'
replaces CONFIG_SYS_FDT_BASE by CONFIG_SYS_SPL_ARGS_ADDR.
As CONFIG_SYS_SPL_ARGS_ADDR enables additional code when enable, it
increases SPL size over the initial 0x8000 limit.
Increase the SPL size to 0x9000 to fix SPL boot.
Set SPL_SIZE_LIMIT to 0x9000 to avoid similar issue in the future.

Fixes 'b4b9a00ed593 ("Convert CONFIG_SYS_SPL_ARGS_ADDR to Kconfig")'

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Tested-by: Waldemar Brodkorb <wbx@openadk.org>
configs/stm32f746-disco_spl_defconfig