mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-28 15:40:29 +09:00
microblaze: Added Kconfig support for CONFIG_XILINX_GPIO
This patch added Kconfig support for CONFIG_XILINX_GPIO and enabled it in respective defconfig. Signed-off-by: Vipul Kumar <vipulk@xilinx.com> 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
e885b4255f
commit
71d5a14204
@ -46,6 +46,7 @@ CONFIG_BOOTP_BOOTPATH=y
|
|||||||
CONFIG_BOOTP_GATEWAY=y
|
CONFIG_BOOTP_GATEWAY=y
|
||||||
CONFIG_BOOTP_HOSTNAME=y
|
CONFIG_BOOTP_HOSTNAME=y
|
||||||
CONFIG_SPL_DM=y
|
CONFIG_SPL_DM=y
|
||||||
|
CONFIG_XILINX_GPIO=y
|
||||||
CONFIG_MTD_NOR_FLASH=y
|
CONFIG_MTD_NOR_FLASH=y
|
||||||
CONFIG_PHY_ATHEROS=y
|
CONFIG_PHY_ATHEROS=y
|
||||||
CONFIG_PHY_BROADCOM=y
|
CONFIG_PHY_BROADCOM=y
|
||||||
|
@ -183,6 +183,11 @@ config SANDBOX_GPIO_COUNT
|
|||||||
of 'anonymous' GPIOs that do not belong to any device or bank.
|
of 'anonymous' GPIOs that do not belong to any device or bank.
|
||||||
Select a suitable value depending on your needs.
|
Select a suitable value depending on your needs.
|
||||||
|
|
||||||
|
config XILINX_GPIO
|
||||||
|
bool "Xilinx GPIO driver"
|
||||||
|
help
|
||||||
|
This config enable the Xilinx GPIO driver for Microblaze.
|
||||||
|
|
||||||
config CMD_TCA642X
|
config CMD_TCA642X
|
||||||
bool "tca642x - Command to access tca642x state"
|
bool "tca642x - Command to access tca642x state"
|
||||||
help
|
help
|
||||||
|
@ -41,7 +41,6 @@
|
|||||||
|
|
||||||
/* gpio */
|
/* gpio */
|
||||||
#ifdef XILINX_GPIO_BASEADDR
|
#ifdef XILINX_GPIO_BASEADDR
|
||||||
# define CONFIG_XILINX_GPIO
|
|
||||||
# define CONFIG_SYS_GPIO_0_ADDR XILINX_GPIO_BASEADDR
|
# define CONFIG_SYS_GPIO_0_ADDR XILINX_GPIO_BASEADDR
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user