summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2015-01-19 16:26:48 (GMT)
committerStefano Babic <sbabic@denx.de>2015-01-22 10:03:19 (GMT)
commit68a3664aec94c10213f082dabe4921f556bdc928 (patch)
tree745fc8684706989bce410eb900fd9246a5491ab9 /include
parente88b83575a94b76a57161d98ec659460cb83ffab (diff)
downloadu-boot-68a3664aec94c10213f082dabe4921f556bdc928.tar.xz
ot1200: add SPL configuration
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>
Diffstat (limited to 'include')
-rw-r--r--include/configs/ot1200.h10
1 files changed, 10 insertions, 0 deletions
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