]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: stm32f746-disco: Fix CONFIG_SYS_SPL_ARGS_ADDR
authorPatrice Chotard <patrice.chotard@foss.st.com>
Tue, 20 Sep 2022 16:04:33 +0000 (18:04 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Mon, 26 Sep 2022 15:03:06 +0000 (17:03 +0200)
STM32F746 embeds 1 MB of internal flash [0x08000000-0x080fffff],
fix CONFIG_SYS_SPL_ARGS_ADDR accordingly
It solves hard fault when jumping from SPL to U-Boot.

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

index 5e8a8aaf3cbd9eb0918589fe758500607b7bd802..d4a65bde24e43dfa6c2597cef8514e5f59fe6c32 100644 (file)
@@ -36,7 +36,7 @@ CONFIG_SPL_BOARD_INIT=y
 CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_XIP_SUPPORT=y
-CONFIG_SYS_SPL_ARGS_ADDR=0x81c0000
+CONFIG_SYS_SPL_ARGS_ADDR=0x80c0000
 CONFIG_SPL_DM_RESET=y
 CONFIG_SYS_PBSIZE=1050
 CONFIG_CMD_GPT=y