summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>2015-04-15 06:18:48 (GMT)
committerMichal Simek <michal.simek@xilinx.com>2015-04-29 09:19:04 (GMT)
commit48d7260d19d7b256f6404fe56e71754a18f88ceb (patch)
treeefce0835365e728d84da69acae0f4ac86f74f20a /include/configs
parent2594e03c64782e858e2e2d11beebd7e4685620dc (diff)
downloadu-boot-48d7260d19d7b256f6404fe56e71754a18f88ceb.tar.xz
zynqmp: Add SPI driver support for ZynqMP
Added the SPI driver support for ZynqMP The controller is same as zynq SPI controller Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/xilinx_zynqmp.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h
index 54bca6d..1d8eaa7 100644
--- a/include/configs/xilinx_zynqmp.h
+++ b/include/configs/xilinx_zynqmp.h
@@ -71,6 +71,13 @@
#define CONFIG_CMD_ELF
#define CONFIG_MP
+/* SPI */
+#ifdef CONFIG_ZYNQ_SPI
+# define CONFIG_SPI_FLASH
+# define CONFIG_SPI_FLASH_SST
+# define CONFIG_CMD_SF
+#endif
+
#if defined(CONFIG_ZYNQ_SDHCI0) || defined(CONFIG_ZYNQ_SDHCI1)
# define CONFIG_MMC
# define CONFIG_GENERIC_MMC