summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>2015-04-15 11:48:48 +0530
committerMichal Simek <michal.simek@xilinx.com>2015-04-29 11:19:04 +0200
commit48d7260d19d7b256f6404fe56e71754a18f88ceb (patch)
treeefce0835365e728d84da69acae0f4ac86f74f20a /include
parent2594e03c64782e858e2e2d11beebd7e4685620dc (diff)
downloadu-boot-48d7260d19d7b256f6404fe56e71754a18f88ceb.tar.gz
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')
-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 54bca6d47b..1d8eaa76df 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