[U-Boot] [PATCH v2 12/35] zynq-common: Enable CONFIG_ZYNQ_QSPI

Jagannadha Sutradharudu Teki jagannadha.sutradharudu-teki at xilinx.com
Wed Dec 18 16:29:57 CET 2013


Tested qspi on zynq board with stmicro, spansion and winbond
flashes by enabling CONFIG_ZYNQ_QSPI.

Signed-off-by: Jagannadha Sutradharudu Teki <jaganna at xilinx.com>
---
V2: none

 include/configs/zynq-common.h | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h
index 9fe06e8..e6990ea 100644
--- a/include/configs/zynq-common.h
+++ b/include/configs/zynq-common.h
@@ -79,6 +79,16 @@
 # define CONFIG_CMD_SF
 #endif
 
+/* QSPI */
+#ifdef CONFIG_ZYNQ_QSPI
+# define CONFIG_CMD_SF
+# define CONFIG_SF_DEFAULT_SPEED	30000000
+# define CONFIG_SPI_FLASH
+# define CONFIG_SPI_FLASH_STMICRO
+# define CONFIG_SPI_FLASH_SPANSION
+# define CONFIG_SPI_FLASH_WINBOND
+#endif
+
 /* NOR */
 #define CONFIG_SYS_NO_FLASH
 
-- 
1.8.3




More information about the U-Boot mailing list