diff mbox series

[1/8] rockchip: rk3368: adjust CONFIG_SYS_LOAD_ADDR

Message ID 20210209134710.2313240-2-heiko@sntech.de
State Accepted
Commit a062144518afd72d2e96bf44bad72037ac39a57e
Delegated to: Kever Yang
Headers show
Series rockchip: resurrect rk3368 functionality and make lion bootable again | expand

Commit Message

Heiko Stuebner Feb. 9, 2021, 1:47 p.m. UTC
From: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>

CONFIG_SYS_LOAD_ADDR currently is at 0x00280000 which is only 512KB
behind the area where we load u-boot to, which depending on u-boot size
may overlap at some point.

So for safety just pick the same value rk3399 has and set
CONFIG_SYS_LOAD_ADDR to 0x00800800 on rk3368 as well.

Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
---
 include/configs/rk3368_common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/include/configs/rk3368_common.h b/include/configs/rk3368_common.h
index f178a06945..86498b4c82 100644
--- a/include/configs/rk3368_common.h
+++ b/include/configs/rk3368_common.h
@@ -24,7 +24,7 @@ 
 #define CONFIG_IRAM_BASE		0xff8c0000
 
 #define CONFIG_SYS_INIT_SP_ADDR		0x00300000
-#define CONFIG_SYS_LOAD_ADDR		0x00280000
+#define CONFIG_SYS_LOAD_ADDR		0x00800800
 
 #define CONFIG_SPL_MAX_SIZE             0x40000
 #define CONFIG_SPL_BSS_START_ADDR       0x400000