aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2021-02-25 17:22:51 +0800
committerPriyanka Jain <priyanka.jain@nxp.com>2021-03-05 10:25:43 +0530
commite022403adb6e4df6dad449322aa9323aa9d16f20 (patch)
tree893fd280df0f2c85023b79218e5f8d8f58dfb86b
parent271a87b4ecc498cf718738b1a5271c911eec17ff (diff)
downloadu-boot-e022403adb6e4df6dad449322aa9323aa9d16f20.zip
u-boot-e022403adb6e4df6dad449322aa9323aa9d16f20.tar.gz
u-boot-e022403adb6e4df6dad449322aa9323aa9d16f20.tar.bz2
ppc: qemu: Enable GPIO support
QEMU ppce500 target integrates a GPIO controller that is compatible with the QorIQ GPIO controller. Enable the DM GPIO driver for it and the 'gpio' command. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
-rw-r--r--configs/qemu-ppce500_defconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/qemu-ppce500_defconfig b/configs/qemu-ppce500_defconfig
index b2510c8..c5e2ad3 100644
--- a/configs/qemu-ppce500_defconfig
+++ b/configs/qemu-ppce500_defconfig
@@ -1,6 +1,7 @@
CONFIG_PPC=y
CONFIG_SYS_TEXT_BASE=0xf01000
CONFIG_ENV_SIZE=0x2000
+CONFIG_DM_GPIO=y
CONFIG_MPC85xx=y
# CONFIG_CMD_ERRATA is not set
CONFIG_TARGET_QEMU_PPCE500=y
@@ -15,6 +16,7 @@ CONFIG_CMD_REGINFO=y
CONFIG_CMD_BOOTZ=y
CONFIG_CMD_GREPENV=y
CONFIG_CMD_DM=y
+CONFIG_CMD_GPIO=y
CONFIG_CMD_PCI=y
CONFIG_CMD_DHCP=y
CONFIG_CMD_PING=y
@@ -28,6 +30,7 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y
CONFIG_DM=y
CONFIG_BLK=y
CONFIG_HAVE_BLOCK_DEVICE=y
+CONFIG_MPC8XXX_GPIO=y
# CONFIG_MMC is not set
CONFIG_DM_ETH=y
CONFIG_E1000=y