[U-Boot] [PATCH 4/7] imx6: add additional flexibility for defining macros

John Tobias john.tobias.ph at gmail.com
Sun Nov 9 18:51:25 CET 2014


iMX6SL has a different address value for the following:

CONFIG_SPL_BSS_START_ADDR
CONFIG_SYS_SPL_MALLOC_START
---
 include/configs/imx6_spl.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/include/configs/imx6_spl.h b/include/configs/imx6_spl.h
index 4ff37b3..61233c4 100644
--- a/include/configs/imx6_spl.h
+++ b/include/configs/imx6_spl.h
@@ -64,10 +64,16 @@
 #define CONFIG_SPL_LIBDISK_SUPPORT
 #endif
 
+#ifndef CONFIG_SPL_BSS_START_ADDR
 #define CONFIG_SPL_BSS_START_ADDR	0x18200000
+#endif
 #define CONFIG_SPL_BSS_MAX_SIZE		0x100000	/* 1 MB */
+#ifndef CONFIG_SYS_SPL_MALLOC_START
 #define CONFIG_SYS_SPL_MALLOC_START	0x18300000
+#endif
+#ifndef CONFIG_SYS_SPL_MALLOC_SIZE
 #define CONFIG_SYS_SPL_MALLOC_SIZE	0x3200000	/* 50 MB */
+#endif
 #ifndef CONFIG_SYS_TEXT_BASE
 #define CONFIG_SYS_TEXT_BASE		0x17800000
 #endif
-- 
1.9.1



More information about the U-Boot mailing list