On 16.2.2018 15:34, Vipul Kumar wrote: > This patch added Kconfig support for CONFIG_XILINX_GPIO > and enabled it in respective defconfig. > > Signed-off-by: Vipul Kumar <vip...@xilinx.com> > Signed-off-by: Siva Durga Prasad Paladugu <siva...@xilinx.com> > --- > configs/microblaze-generic_defconfig | 1 + > drivers/gpio/Kconfig | 5 +++++ > include/configs/microblaze-generic.h | 1 - > 3 files changed, 6 insertions(+), 1 deletion(-) > > diff --git a/configs/microblaze-generic_defconfig > b/configs/microblaze-generic_defconfig > index ca68a81..e707b9f 100644 > --- a/configs/microblaze-generic_defconfig > +++ b/configs/microblaze-generic_defconfig > @@ -42,6 +42,7 @@ CONFIG_SPL_OF_CONTROL=y > CONFIG_OF_EMBED=y > CONFIG_NETCONSOLE=y > CONFIG_SPL_DM=y > +CONFIG_XILINX_GPIO=y > CONFIG_MTD_NOR_FLASH=y > CONFIG_PHY_ATHEROS=y > CONFIG_PHY_BROADCOM=y > diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig > index 34d4409..f35c2e7 100644 > --- a/drivers/gpio/Kconfig > +++ b/drivers/gpio/Kconfig > @@ -183,6 +183,11 @@ config SANDBOX_GPIO_COUNT > of 'anonymous' GPIOs that do not belong to any device or bank. > Select a suitable value depending on your needs. > > +config XILINX_GPIO > + bool "Enable Xilinx GPIO driver"
Remove "Enable" from description. M > + help > + This config enable the Xilinx GPIO driver for Microblaze. > + > config CMD_TCA642X > bool "tca642x - Command to access tca642x state" > help > diff --git a/include/configs/microblaze-generic.h > b/include/configs/microblaze-generic.h > index a065dd3..de33583 100644 > --- a/include/configs/microblaze-generic.h > +++ b/include/configs/microblaze-generic.h > @@ -41,7 +41,6 @@ > > /* gpio */ > #ifdef XILINX_GPIO_BASEADDR > -# define CONFIG_XILINX_GPIO > # define CONFIG_SYS_GPIO_0_ADDR XILINX_GPIO_BASEADDR > #endif > > _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot