From patchwork Fri Jan 10 00:28:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 239357 List-Id: U-Boot discussion From: marex at denx.de (Marek Vasut) Date: Fri, 10 Jan 2020 01:28:37 +0100 Subject: [PATCH 3/5] ARM: stm32: Fill in missing loadaddr In-Reply-To: <20200110002839.97868-1-marex@denx.de> References: <20200110002839.97868-1-marex@denx.de> Message-ID: <20200110002839.97868-3-marex@denx.de> Since CONFIG_LOADADDR is not set, the default value of $loadaddr variable is not set in the environment either. Set the default load address to 256 MiB from the start of DRAM. Signed-off-by: Marek Vasut Cc: Patrick Delaunay Cc: Patrice Chotard --- include/configs/stm32mp1.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/stm32mp1.h b/include/configs/stm32mp1.h index 655833428e..b23dd38794 100644 --- a/include/configs/stm32mp1.h +++ b/include/configs/stm32mp1.h @@ -36,6 +36,7 @@ * Needed by "loadb" */ #define CONFIG_SYS_LOAD_ADDR STM32_DDR_BASE +#define CONFIG_LOADADDR 0xd0000000 /* ATAGs */ #define CONFIG_CMDLINE_TAG