summaryrefslogtreecommitdiff
path: root/include/configs/zynq-common.h
diff options
context:
space:
mode:
authorJagan Teki <jteki@openedev.com>2015-08-17 13:25:02 (GMT)
committerJagan Teki <jteki@openedev.com>2015-10-25 14:47:02 (GMT)
commita241d4ecab6f6e10336e91bbd317feeb0ff73941 (patch)
tree1f7da97a1d73147b9471e233e6987df53000024e /include/configs/zynq-common.h
parent73193b01c5d7222d4be84091d105a10f58d02549 (diff)
downloadu-boot-fsl-qoriq-a241d4ecab6f6e10336e91bbd317feeb0ff73941.tar.xz
zynq-common: Enable zynq qspi controller support
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>
Diffstat (limited to 'include/configs/zynq-common.h')
-rw-r--r--include/configs/zynq-common.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h
index 66b1e69..3910ae9 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