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

Kever Yang kever.yang at rock-chips.com
Wed May 31 10:50:39 UTC 2017


After we use boot0 hook, we can use offset '000' instead of '004' as
SPL_TEXT_BASE.

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

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

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
-- 
1.9.1



More information about the U-Boot mailing list