gpio: Kconfig: Enable Zynq GPIO driver using kconfig
Enable DM GPIO and ZYNQ GPIO using kconfig instead of the board config file. Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
68c7026e8d
commit
2978ae23fa
@ -579,6 +579,7 @@ config ARCH_ZYNQ
|
||||
select SPL_OF_CONTROL if SPL
|
||||
select DM
|
||||
select DM_ETH
|
||||
select DM_GPIO
|
||||
select SPL_DM if SPL
|
||||
select DM_MMC
|
||||
select DM_SPI
|
||||
|
@ -136,4 +136,11 @@ config MVEBU_GPIO
|
||||
help
|
||||
Say yes here to support Marvell MVEBU (Armada XP/38x) GPIOs.
|
||||
|
||||
config ZYNQ_GPIO
|
||||
bool "Zynq GPIO driver"
|
||||
depends on DM_GPIO && ARCH_ZYNQ
|
||||
default y
|
||||
help
|
||||
Supports GPIO access on Zynq SoC.
|
||||
|
||||
endmenu
|
||||
|
@ -39,8 +39,6 @@
|
||||
#define CONFIG_ARM_DCC
|
||||
#define CONFIG_ZYNQ_SERIAL
|
||||
|
||||
#define CONFIG_ZYNQ_GPIO
|
||||
|
||||
/* Ethernet driver */
|
||||
#if defined(CONFIG_ZYNQ_GEM)
|
||||
# define CONFIG_MII
|
||||
|
Loading…
Reference in New Issue
Block a user