diff options
author | Patrice Chotard <patrice.chotard@foss.st.com> | 2022-04-27 13:53:50 +0200 |
---|---|---|
committer | Patrice Chotard <patrice.chotard@foss.st.com> | 2022-05-10 13:56:11 +0200 |
commit | 480995b76b0ee61e473596e629dbc8ec754b0f84 (patch) | |
tree | 8a3993ecdd5c420aff55b1d17f42fe8628f3b1e6 /include | |
parent | 05a3a028c127c7ca515b90a916cf3ac8c0264a61 (diff) | |
download | u-boot-480995b76b0ee61e473596e629dbc8ec754b0f84.zip u-boot-480995b76b0ee61e473596e629dbc8ec754b0f84.tar.gz u-boot-480995b76b0ee61e473596e629dbc8ec754b0f84.tar.bz2 |
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 'include')
-rw-r--r-- | include/configs/stm32f746-disco.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/stm32f746-disco.h b/include/configs/stm32f746-disco.h index 8ad4bb9..b93acdc 100644 --- a/include/configs/stm32f746-disco.h +++ b/include/configs/stm32f746-disco.h @@ -49,6 +49,7 @@ #define CONFIG_SYS_UBOOT_START 0x080083FD #define CONFIG_SYS_UBOOT_BASE (CONFIG_SYS_FLASH_BASE + \ CONFIG_SYS_SPL_LEN) +#define CONFIG_SPL_PAD_TO 0x8000 /* DT blob (fdt) address */ #define CONFIG_SYS_FDT_BASE (CONFIG_SYS_FLASH_BASE + \ |