[PATCH 1/8] rockchip: rk3368: adjust CONFIG_SYS_LOAD_ADDR
Heiko Stuebner
heiko at sntech.de
Tue Feb 9 14:47:03 CET 2021
From: Heiko Stuebner <heiko.stuebner at 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 at theobroma-systems.com>
---
include/configs/rk3368_common.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
--
2.29.2
More information about the U-Boot
mailing list