summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@foss.st.com>2022-04-27 14:53:50 +0300
committerPatrice Chotard <patrice.chotard@foss.st.com>2022-05-10 14:56:11 +0300
commit480995b76b0ee61e473596e629dbc8ec754b0f84 (patch)
tree8a3993ecdd5c420aff55b1d17f42fe8628f3b1e6 /configs
parent05a3a028c127c7ca515b90a916cf3ac8c0264a61 (diff)
downloadu-boot-480995b76b0ee61e473596e629dbc8ec754b0f84.tar.xz
configs: stm32f746-disco: Concatenate spl and u-boot binaries
This allows to concatenate spl and u-boot binaries together. Previously, both binaries has to be flashed separately at the correct offset (spl at offset 0 and u-boot at offset 0x8000). With this patch, only one binary is generated (u-boot-with-spl.bin) and has to be copied in flash at offset 0 using openocd for example or simply copied in exported mass storage. Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com> Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Diffstat (limited to 'configs')
-rw-r--r--configs/stm32f746-disco_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/stm32f746-disco_defconfig b/configs/stm32f746-disco_defconfig
index 130b90fae3..0133867942 100644
--- a/configs/stm32f746-disco_defconfig
+++ b/configs/stm32f746-disco_defconfig
@@ -9,6 +9,7 @@ CONFIG_DEFAULT_DEVICE_TREE="stm32f746-disco"
CONFIG_SPL_TEXT_BASE=0x8000000
CONFIG_STM32F7=y
CONFIG_TARGET_STM32F746_DISCO=y
+CONFIG_BUILD_TARGET="u-boot-with-spl.bin"
CONFIG_SYS_LOAD_ADDR=0x8008000
CONFIG_DISTRO_DEFAULTS=y
CONFIG_BOOTDELAY=3