[U-Boot] [PATCH 5/7] imx6sl: add spl in include header file

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


add the SPL macros in include header file for iMX6SL
---
 include/configs/mx6slevk.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/include/configs/mx6slevk.h b/include/configs/mx6slevk.h
index 4fcaf51..afbb81d 100644
--- a/include/configs/mx6slevk.h
+++ b/include/configs/mx6slevk.h
@@ -14,6 +14,14 @@
 #include <linux/sizes.h>
 #include "mx6_common.h"
 
+#ifdef CONFIG_SPL
+#define CONFIG_SPL_LIBCOMMON_SUPPORT
+#define CONFIG_SPL_MMC_SUPPORT
+#define CONFIG_SPL_BSS_START_ADDR	0x82000000
+#define CONFIG_SYS_SPL_MALLOC_START	0x83000000
+#include "imx6_spl.h"
+#endif
+
 #define CONFIG_MX6
 #define CONFIG_DISPLAY_CPUINFO
 #define CONFIG_DISPLAY_BOARDINFO
-- 
1.9.1



More information about the U-Boot mailing list