aboutsummaryrefslogtreecommitdiff
path: root/include/configs/ds414.h
diff options
context:
space:
mode:
authorEzra Buehler <ezra@easyb.ch>2020-05-09 22:05:39 +0200
committerStefan Roese <sr@denx.de>2020-05-27 07:02:24 +0200
commit0700093b852ac62bc68a80e96dea9ba255d7efbc (patch)
tree901ae91490990488567dcb028c63c22181bab500 /include/configs/ds414.h
parenta1a61b0672ff20719ac9d1f4d60c16da00d11538 (diff)
downloadu-boot-0700093b852ac62bc68a80e96dea9ba255d7efbc.zip
u-boot-0700093b852ac62bc68a80e96dea9ba255d7efbc.tar.gz
u-boot-0700093b852ac62bc68a80e96dea9ba255d7efbc.tar.bz2
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. But, SPL will try to load the payload from 0x24000 causing the boot to hang. Signed-off-by: Ezra Buehler <ezra@easyb.ch> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/configs/ds414.h')
-rw-r--r--include/configs/ds414.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/ds414.h b/include/configs/ds414.h
index e369376..b179b99 100644
--- a/include/configs/ds414.h
+++ b/include/configs/ds414.h
@@ -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