summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorJagan Teki <jteki@openedev.com>2015-08-17 18:55:02 +0530
committerJagan Teki <jteki@openedev.com>2015-10-25 20:17:02 +0530
commita241d4ecab6f6e10336e91bbd317feeb0ff73941 (patch)
tree1f7da97a1d73147b9471e233e6987df53000024e /include/configs
parent73193b01c5d7222d4be84091d105a10f58d02549 (diff)
downloadu-boot-imx-a241d4ecab6f6e10336e91bbd317feeb0ff73941.zip
u-boot-imx-a241d4ecab6f6e10336e91bbd317feeb0ff73941.tar.gz
u-boot-imx-a241d4ecab6f6e10336e91bbd317feeb0ff73941.tar.bz2
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')
-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