spi: Kconfig: Add Zynq SPI controller entry
authorJagan Teki <jteki@openedev.com>
Fri, 26 Jun 2015 19:21:38 +0000 (00:51 +0530)
committerJagan Teki <jteki@openedev.com>
Wed, 1 Jul 2015 15:45:03 +0000 (21:15 +0530)
Add Zynq SPI controller Kconfig entry.

Signed-off-by: Jagan Teki <jteki@openedev.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Cc: Marek Vasut <marex@denx.de>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
drivers/spi/Kconfig

index 357a335..fbff707 100644 (file)
@@ -51,3 +51,11 @@ config CADENCE_QSPI
          Enable the Cadence Quad-SPI (QSPI) driver. This driver can be
          used to access the SPI NOR flash on platforms embedding this
          Cadence IP core.
+
+config ZYNQ_SPI
+       bool "Zynq SPI driver"
+       depends on DM_SPI && (ARCH_ZYNQ || TARGET_XILINX_ZYNQMP)
+       help
+         Enable the Zynq SPI driver. This driver can be used to
+         access the SPI NOR flash on platforms embedding this Zynq
+         SPI IP core.