rockchip: rk3368: adjust CONFIG_SYS_LOAD_ADDR
authorHeiko Stuebner <heiko.stuebner@theobroma-systems.com>
Tue, 9 Feb 2021 13:47:03 +0000 (14:47 +0100)
committerKever Yang <kever.yang@rock-chips.com>
Tue, 30 Mar 2021 08:53:00 +0000 (16:53 +0800)
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>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
include/configs/rk3368_common.h

index f178a06945dbb732e130455b3c79e164d3270065..86498b4c822180f2bf5a25af5b5f38623497c1a2 100644 (file)
@@ -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