From: Caleb Connolly <caleb.connolly@linaro.org>
Date: Thu, 18 Apr 2024 17:25:51 +0000 (+0100)
Subject: qcom_defconfig: define safe default SYS_LOAD_ADDR
X-Git-Tag: v2025.01-rc5-pxa1908~511^2~3
X-Git-Url: http://git.dujemihanovic.xyz/img/static//%22brlog.php?a=commitdiff_plain;h=9861ebac77d46674243886136275aac1deb7f982;p=u-boot.git

qcom_defconfig: define safe default SYS_LOAD_ADDR

Defining this as 0 results in bootm causing a null pointer exception...
Define it at a safe default which is valid RAM on most qcom boards.

Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
---

diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig
index 209a7ba324..41545fd72f 100644
--- a/configs/qcom_defconfig
+++ b/configs/qcom_defconfig
@@ -3,7 +3,7 @@ CONFIG_SKIP_LOWLEVEL_INIT=y
 CONFIG_POSITION_INDEPENDENT=y
 CONFIG_ARCH_SNAPDRAGON=y
 CONFIG_DEFAULT_DEVICE_TREE="qcom/sdm845-db845c"
-CONFIG_SYS_LOAD_ADDR=0x0
+CONFIG_SYS_LOAD_ADDR=0xA0000000
 CONFIG_SYS_INIT_SP_BSS_OFFSET=1572864
 CONFIG_BUTTON_CMD=y
 CONFIG_FIT=y