aboutsummaryrefslogtreecommitdiff
path: root/include/configs/mx6qsabrelite.h
diff options
context:
space:
mode:
authorEric Nelson <eric.nelson@boundarydevices.com>2011-12-29 07:45:56 +0100
committerEric Miao <eric.miao@linaro.org>2012-01-17 12:19:58 +0800
commit41d13b6e37c0bdacfea08ddcf72855b2c99f6220 (patch)
tree0dc362922a73b1a43eca6c9610bb4e1e96104d49 /include/configs/mx6qsabrelite.h
parent1807270f5224d15d42d5d1b7d4bbf86dd63b67a1 (diff)
downloadu-boot-linaro-41d13b6e37c0bdacfea08ddcf72855b2c99f6220.tar.gz
mx6qsabrelite: add SPI NOR support
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Diffstat (limited to 'include/configs/mx6qsabrelite.h')
-rw-r--r--include/configs/mx6qsabrelite.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/configs/mx6qsabrelite.h b/include/configs/mx6qsabrelite.h
index d2d125bce..0827c1dc8 100644
--- a/include/configs/mx6qsabrelite.h
+++ b/include/configs/mx6qsabrelite.h
@@ -44,6 +44,21 @@
#define CONFIG_MXC_UART
#define CONFIG_MXC_UART_BASE UART2_BASE
+#define CONFIG_CMD_SF
+/*
+ * SPI Configs
+ */
+#ifdef CONFIG_CMD_SF
+ #define CONFIG_FSL_SF 1
+ #define CONFIG_SPI_FLASH 1
+ #define CONFIG_SPI_FLASH_SST 1
+ #define CONFIG_SPI_FLASH_CS 1
+ #define CONFIG_IMX_ECSPI
+ #define IMX_CSPI_VER_2_3 1
+
+ #define MAX_SPI_BYTES (64 * 4)
+#endif
+
/* MMC Configs */
#define CONFIG_FSL_ESDHC
#define CONFIG_FSL_USDHC