diff mbox

[U-Boot,RFC,4/5] rockchip: configs: use aligned address for SPL_TEXT_BASE

Message ID 1496227840-19007-5-git-send-email-kever.yang@rock-chips.com
State RFC
Delegated to: Philipp Tomsich
Headers show

Commit Message

Kever Yang May 31, 2017, 10:50 a.m. UTC
After we use boot0 hook, we can use offset '000' instead of '004' as
SPL_TEXT_BASE.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
---

 include/configs/rk3036_common.h | 2 +-
 include/configs/rk3288_common.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/include/configs/rk3036_common.h b/include/configs/rk3036_common.h
index 2893f80..6e15fc5 100644
--- a/include/configs/rk3036_common.h
+++ b/include/configs/rk3036_common.h
@@ -28,7 +28,7 @@ 
 #define CONFIG_SYS_INIT_SP_ADDR		0x60100000
 #define CONFIG_SYS_LOAD_ADDR		0x60800800
 #define CONFIG_SPL_STACK		0x10081fff
-#define CONFIG_SPL_TEXT_BASE		0x10081004
+#define CONFIG_SPL_TEXT_BASE		0x10081000
 
 #define CONFIG_ROCKCHIP_MAX_INIT_SIZE	(4 << 10)
 #define CONFIG_ROCKCHIP_CHIP_TAG	"RK30"
diff --git a/include/configs/rk3288_common.h b/include/configs/rk3288_common.h
index e7a8f72..752404c 100644
--- a/include/configs/rk3288_common.h
+++ b/include/configs/rk3288_common.h
@@ -34,7 +34,7 @@ 
 #define CONFIG_SYS_INIT_SP_ADDR		0x00100000
 #define CONFIG_SYS_LOAD_ADDR		0x00800800
 #define CONFIG_SPL_STACK		0xff718000
-#define CONFIG_SPL_TEXT_BASE		0xff704004
+#define CONFIG_SPL_TEXT_BASE		0xff704000
 
 /* MMC/SD IP block */
 #define CONFIG_BOUNCE_BUFFER