[U-Boot] [PATCH 4/4] SMDK5250: Modify IRAM stack pointer address

Rajeshwari Shinde rajeshwari.s at samsung.com
Fri Dec 28 13:08:45 CET 2012


IRAM stack pointer address to enable u-boot booting
after conversion of lowlevel_init.S to lowlevel_init_c.c.
Added CONFIG_CMD_BOOTZ to boot zImage.dtb kernel image.

Signed-off-by: Rajeshwari Shinde <rajeshwari.s at samsung.com>
---
 include/configs/exynos5250-dt.h |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/include/configs/exynos5250-dt.h b/include/configs/exynos5250-dt.h
index 59182f4..ae42e4b 100644
--- a/include/configs/exynos5250-dt.h
+++ b/include/configs/exynos5250-dt.h
@@ -199,9 +199,9 @@
 
 #define CONFIG_DOS_PARTITION
 
-#define CONFIG_IRAM_STACK	0x02050000
-
-#define CONFIG_SYS_INIT_SP_ADDR	(CONFIG_SYS_LOAD_ADDR - 0x1000000)
+#define CONFIG_IRAM_TOP		0x02050000
+#define CONFIG_SYS_INIT_SP_ADDR	(CONFIG_IRAM_TOP - 0x800)
+#define CONFIG_IRAM_STACK	CONFIG_SYS_INIT_SP_ADDR
 
 /* I2C */
 #define CONFIG_SYS_I2C_INIT_BOARD
@@ -297,4 +297,5 @@
 #define CONFIG_SHA1
 #define CONFIG_SHA256
 
+#define CONFIG_CMD_BOOTZ
 #endif	/* __CONFIG_H */
-- 
1.7.4.4



More information about the U-Boot mailing list