ot1200: add SPL configuration
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Mon, 19 Jan 2015 16:26:48 +0000 (17:26 +0100)
committerStefano Babic <sbabic@denx.de>
Thu, 22 Jan 2015 10:03:19 +0000 (11:03 +0100)
We will only support loading u-boot.img from SPI flash stored
at the offset of 64k.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
include/configs/ot1200.h

index 97ee664e20501f175e9be7192d8f3af7a2e59c3f..c061e93534ff5b601f7ffd65bd811a93fe63c47e 100644 (file)
 #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