From patchwork Sun May 3 20:12:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ezra Buehler X-Patchwork-Id: 244973 List-Id: U-Boot discussion From: ezra at easyb.ch (Ezra Buehler) Date: Sun, 3 May 2020 22:12:07 +0200 Subject: [PATCH 2/2] arm: mvebu: ds414: define CONFIG_SYS_U_BOOT_OFFS Message-ID: <20200503201208.12026-1-ezra@easyb.ch> 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. Signed-off-by: Ezra Buehler --- include/configs/ds414.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/ds414.h b/include/configs/ds414.h index e3693767b6..b179b99468 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