]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
zynq-common: Enable zynq qspi controller support
authorJagan Teki <jteki@openedev.com>
Mon, 17 Aug 2015 13:25:02 +0000 (18:55 +0530)
committerJagan Teki <jteki@openedev.com>
Sun, 25 Oct 2015 14:47:02 +0000 (20:17 +0530)
This patch adds support for zynq qspi controller driver
on zynq-common.h

Signed-off-by: Jagan Teki <jteki@openedev.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Tested-by: Jagan Teki <jteki@openedev.com>
include/configs/zynq-common.h

index 66b1e699c80ba0d4c1603a46622679bf7b5f5bac..3910ae9a70b467e53e588ed4808fa2ef0685dc5b 100644 (file)
 # 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