summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJagannadha Sutradharudu Teki <jaganna@xilinx.com>2013-08-07 01:12:06 +0530
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>2013-08-07 01:17:00 +0530
commit097dc6c7ec08e789666a674c10e6d569e0b96e62 (patch)
treea9b12ec6ca17c790f48642559741a19f5fec9be0 /include
parent04e15648ce969e273deac264474794318e9178ae (diff)
downloadu-boot-imx-097dc6c7ec08e789666a674c10e6d569e0b96e62.zip
u-boot-imx-097dc6c7ec08e789666a674c10e6d569e0b96e62.tar.gz
u-boot-imx-097dc6c7ec08e789666a674c10e6d569e0b96e62.tar.bz2
zynq: Enable CONFIG_ZYNQ_SPI
Tested spi on zynq board with sst flash by enabling CONFIG_ZYNQ_SPI. sf probe 1:1 0 0 SF: Detected SST25WF080 with page size 4 KiB, total 1 MiB Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com> Acked-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/zynq.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/zynq.h b/include/configs/zynq.h
index 79fa5bb..b9f381f 100644
--- a/include/configs/zynq.h
+++ b/include/configs/zynq.h
@@ -72,6 +72,15 @@
# define CONFIG_CPU_V6 /* Required by CONFIG_ARM_DCC */
#endif
+#define CONFIG_ZYNQ_SPI
+
+/* SPI */
+#ifdef CONFIG_ZYNQ_SPI
+# define CONFIG_SPI_FLASH
+# define CONFIG_SPI_FLASH_SST
+# define CONFIG_CMD_SF
+#endif
+
/* Enable the PL to be downloaded */
#define CONFIG_FPGA
#define CONFIG_FPGA_XILINX