summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Nelson <[email protected]>2012-01-31 07:52:05 +0000
committerAlbert ARIBAUD <[email protected]>2012-02-27 21:19:23 +0100
commit373a1d8c0ee150bb3680722c5b888662e0e08291 (patch)
treed7bbea52a4d39c687311570b0e546b54af9cc655 /include
parentd5c37c9cc45ee400e0f53ba0e11edc88d6bd630b (diff)
mx6q: mx6qsabrelite: Add ECSPI support to the Sabrelite platform
Signed-off-by: Eric Nelson <[email protected]> Acked-by: Dirk Behme <[email protected]> Acked-by: Stefano Babic <[email protected]> Acked-by: Jason Liu <[email protected]> Tested-by: Jason Liu <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/configs/mx6qsabrelite.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/mx6qsabrelite.h b/include/configs/mx6qsabrelite.h
index d650ee340ab..bcb1a427e32 100644
--- a/include/configs/mx6qsabrelite.h
+++ b/include/configs/mx6qsabrelite.h
@@ -44,6 +44,15 @@
#define CONFIG_MXC_UART
#define CONFIG_MXC_UART_BASE UART2_BASE
+#define CONFIG_CMD_SF
+#ifdef CONFIG_CMD_SF
+#define CONFIG_SPI_FLASH
+#define CONFIG_SPI_FLASH_SST
+#define CONFIG_MXC_SPI
+#define CONFIG_SF_DEFAULT_SPEED 25000000
+#define CONFIG_SF_DEFAULT_MODE (SPI_MODE_0)
+#endif
+
/* MMC Configs */
#define CONFIG_FSL_ESDHC
#define CONFIG_FSL_USDHC