[U-Boot] [PATCH v3 10/16] zynq-common: Enable zynq qspi controller support

Jagan Teki jteki at openedev.com
Mon Aug 17 15:30:13 CEST 2015


This patch adds support for zynq qspi controller driver
on zynq-common.h

Signed-off-by: Jagan Teki <jteki at openedev.com>
Cc: Simon Glass <sjg at chromium.org>
Cc: Michal Simek <michal.simek at xilinx.com>
Cc: Siva Durga Prasad Paladugu <sivadur at xilinx.com>
Tested-by: Jagan Teki <jteki at openedev.com>
---
 include/configs/zynq-common.h | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h
index cc72c86..13903ec 100644
--- a/include/configs/zynq-common.h
+++ b/include/configs/zynq-common.h
@@ -72,6 +72,15 @@
 # define CONFIG_CMD_SF
 #endif
 
+/* QSPI */
+#ifdef CONFIG_ZYNQ_QSPI
+# define CONFIG_SF_DEFAULT_SPEED	30000000
+# define CONFIG_SPI_FLASH_SPANSION
+# define CONFIG_SPI_FLASH_STMICRO
+# define CONFIG_SPI_FLASH_WINBOND
+# define CONFIG_CMD_SF
+#endif
+
 /* NOR */
 #ifndef CONFIG_SYS_NO_FLASH
 # define CONFIG_SYS_FLASH_BASE		0xE2000000
-- 
1.9.1



More information about the U-Boot mailing list