[U-Boot] [PATCH 5/7] ot1200: add SPL configuration

Christian Gmeiner christian.gmeiner at gmail.com
Mon Jan 19 17:26:48 CET 2015


We will only support loading u-boot.img from SPI flash stored
at the offset of 64k.

Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
---
 include/configs/ot1200.h | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/include/configs/ot1200.h b/include/configs/ot1200.h
index 97ee664..c061e93 100644
--- a/include/configs/ot1200.h
+++ b/include/configs/ot1200.h
@@ -108,6 +108,16 @@
 #endif
 
 
+/* SPL */
+#ifdef CONFIG_SPL
+#include "imx6_spl.h"
+#define CONFIG_SPL_SPI_SUPPORT
+#define CONFIG_SPL_LIBCOMMON_SUPPORT
+#define CONFIG_SPL_SPI_FLASH_SUPPORT
+#define CONFIG_SYS_SPI_U_BOOT_OFFS     (64 * 1024)
+#define CONFIG_SPL_SPI_LOAD
+#endif
+
 #define CONFIG_CMD_PING
 #define CONFIG_CMD_DHCP
 #define CONFIG_CMD_MII
-- 
2.1.0



More information about the U-Boot mailing list