aboutsummaryrefslogtreecommitdiff
path: root/configs/qemu-ppce500_defconfig
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2021-02-25 17:22:53 +0800
committerPriyanka Jain <priyanka.jain@nxp.com>2021-03-05 10:25:43 +0530
commit037b17d29c2fa4d143ff129a43ffb131cce19674 (patch)
tree16e3c59323c9057ff5f9ef9ec9bcce0979de897c /configs/qemu-ppce500_defconfig
parent5f1a08b6ab1c3923735edb676a4de87df4bb96f7 (diff)
downloadu-boot-037b17d29c2fa4d143ff129a43ffb131cce19674.zip
u-boot-037b17d29c2fa4d143ff129a43ffb131cce19674.tar.gz
u-boot-037b17d29c2fa4d143ff129a43ffb131cce19674.tar.bz2
ppc: qemu: Enable support for power off via GPIO
The QEMU ppce500 target provides the power off functionality via the GPIO pin#0, and we can support this using the sysreset gpio poweroff driver. Let's enable it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'configs/qemu-ppce500_defconfig')
-rw-r--r--configs/qemu-ppce500_defconfig6
1 files changed, 5 insertions, 1 deletions
diff --git a/configs/qemu-ppce500_defconfig b/configs/qemu-ppce500_defconfig
index c5e2ad3..8798db6 100644
--- a/configs/qemu-ppce500_defconfig
+++ b/configs/qemu-ppce500_defconfig
@@ -1,7 +1,6 @@
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
@@ -18,6 +17,7 @@ CONFIG_CMD_GREPENV=y
CONFIG_CMD_DM=y
CONFIG_CMD_GPIO=y
CONFIG_CMD_PCI=y
+CONFIG_CMD_POWEROFF=y
CONFIG_CMD_DHCP=y
CONFIG_CMD_PING=y
# CONFIG_CMD_HASH is not set
@@ -38,6 +38,10 @@ CONFIG_DM_PCI=y
CONFIG_PCI_MPC85XX=y
CONFIG_DM_SERIAL=y
CONFIG_SYS_NS16550=y
+CONFIG_SYSRESET=y
+# CONFIG_SYSRESET_CMD_RESET is not set
+CONFIG_SYSRESET_CMD_POWEROFF=y
+CONFIG_POWEROFF_GPIO=y
CONFIG_VIRTIO_PCI=y
CONFIG_VIRTIO_NET=y
CONFIG_VIRTIO_BLK=y