[U-Boot] [PATCH 4/8] imx6: add flexibility for defining stack address

John Tobias john.tobias.ph at gmail.com
Fri Nov 7 23:12:51 CET 2014


iMX6 SabreSD has different stack address compare
to the default stack address defined on the file.
---
 include/configs/imx6_spl.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/configs/imx6_spl.h b/include/configs/imx6_spl.h
index 308e520..003dfe7 100644
--- a/include/configs/imx6_spl.h
+++ b/include/configs/imx6_spl.h
@@ -29,7 +29,9 @@
 #define CONFIG_SPL_TEXT_BASE		0x00908000
 #define CONFIG_SPL_MAX_SIZE		(64 * 1024)
 #define CONFIG_SPL_START_S_PATH		"arch/arm/cpu/armv7"
+#ifndef CONFIG_SPL_STACK
 #define CONFIG_SPL_STACK		0x0091FFB8
+#endif
 #define CONFIG_SPL_LIBCOMMON_SUPPORT
 #define CONFIG_SPL_LIBGENERIC_SUPPORT
 #define CONFIG_SPL_SERIAL_SUPPORT
-- 
1.9.1



More information about the U-Boot mailing list