summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Nelson <eric.nelson@boundarydevices.com>2012-01-31 07:52:05 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-02-27 21:19:23 +0100
commit373a1d8c0ee150bb3680722c5b888662e0e08291 (patch)
treed7bbea52a4d39c687311570b0e546b54af9cc655 /include
parentd5c37c9cc45ee400e0f53ba0e11edc88d6bd630b (diff)
downloadu-boot-imx-373a1d8c0ee150bb3680722c5b888662e0e08291.zip
u-boot-imx-373a1d8c0ee150bb3680722c5b888662e0e08291.tar.gz
u-boot-imx-373a1d8c0ee150bb3680722c5b888662e0e08291.tar.bz2
mx6q: mx6qsabrelite: Add ECSPI support to the Sabrelite platform
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com> Acked-by: Dirk Behme <dirk.behme@de.bosch.com> Acked-by: Stefano Babic <sbabic@denx.de> Acked-by: Jason Liu <jason.hui@linaro.org> Tested-by: Jason Liu <jason.hui@linaro.org>
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 d650ee3..bcb1a42 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