configs: stm32f746-disco: Remove CONFIG_SYS_UBOOT_START flag
authorPatrice Chotard <patrice.chotard@foss.st.com>
Tue, 20 Sep 2022 16:04:36 +0000 (18:04 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Mon, 26 Sep 2022 15:21:09 +0000 (17:21 +0200)
commit2b5dee9485eb52875df801a414838d75b000604d
treed044e3fcb1823c4dc2bba469a0b5aba3cae7331c
parent3cc471d30a1f7b47f0c9d2bd9874097d4b226659
configs: stm32f746-disco: Remove CONFIG_SYS_UBOOT_START flag

By pressing "c" key during SPL execution, we force U-boot execution
instead of a kernel XIP image.

This fixes a hard fault when booting stm32f746-disco in SPL with "c"
key pressed during SPL execution.

U-Boot SPL 2022.10-rc5-00009-g40d02baa91 (Sep 20 2022 - 17:21:21 +0200)
Trying to boot from XIP
Hard fault
pc : 080083fc    lr : 08000d1b    xPSR : 21000000
r12 : 2004f108   r3 : 080083fd    r2 : 00000028
r1 : 2004f0c8    r0 : 2004f0e4
Resetting CPU ...

This is due to SYS_UBOOT_START flag set to 0x080083FD which is not correct.
If unset, SYS_UBOOT_START is set by default to CONFIG_SYS_TEXT_BASE
which match with our requirement.

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>
include/configs/stm32f746-disco.h