]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
zynqmp: Kconfig: Enable DM_GPIO and ZYNQ_GPIO for ZynqMP
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Thu, 10 Mar 2016 10:57:44 +0000 (16:27 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 10 Mar 2016 19:33:41 +0000 (20:33 +0100)
Enable  DM_GPIO and ZYNQ_GPIO for ZynqM using
Kconfig. The enables the GPIO driver support
for ZynqMP

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/Kconfig
drivers/gpio/Kconfig

index 306323f734546b099e6ebe536dba1de48711a96a..224eae9281e61d41d80b701190bf237c9cc8b2a5 100644 (file)
@@ -570,6 +570,7 @@ config ARCH_ZYNQMP
        select DM_SPI
        select DM_SPI_FLASH
        select DM_ETH
+       select DM_GPIO
        select DM_MMC
        select DM_SERIAL
        select OF_CONTROL
index 99c30cdaa0cb556af29447947d712edd7832f3fa..c479968951122f8252ee23019a3f4a405655e316 100644 (file)
@@ -85,7 +85,7 @@ config VYBRID_GPIO
 
 config ZYNQ_GPIO
        bool "Zynq GPIO driver"
-       depends on DM_GPIO && ARCH_ZYNQ
+       depends on DM_GPIO && (ARCH_ZYNQ || ARCH_ZYNQMP)
        default y
        help
          Supports GPIO access on Zynq SoC.