Skip to contentSkip to conversation

arm: mvebu: ds414: define CONFIG_SYS_U_BOOT_OFFS

PATCH Superseded Ezra Buehler 1 participant 1 message May 3, 2020

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 arm: mvebu: ds414: define CONFIG_SYS_U_BOOT_OFFS

Without CONFIG_SYS_U_BOOT_OFFS set to CONFIG_SYS_SPI_U_BOOT_OFFS, U-Boot will be located at address 0x16000. SPL will load its payload from 0x24000 causing the boot to hang.

---
 include/configs/ds414.h | 3 +++
 1 file changed, 3 insertions(+)
include/configs/ds414.h +3 -0
index e3693767b6..b179b99468 100644
@@ -87,7 +87,10 @@
 #define CONFIG_SPL_STACK		(0x40000000 + ((192 - 16) << 10))
 #define CONFIG_SPL_BOOTROM_SAVE		(CONFIG_SPL_STACK + 4)
 
+#if defined(CONFIG_MVEBU_SPL_BOOT_DEVICE_SPI)
 /* SPL related SPI defines */
+#define CONFIG_SYS_U_BOOT_OFFS		CONFIG_SYS_SPI_U_BOOT_OFFS
+#endif
 
 /* DS414 bus width is 32bits */
 #define CONFIG_DDR_32BIT
Signature · 1 line
2.26.2