summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-01-13 22:02:28 +0300
committerTom Rini <trini@konsulko.com>2023-01-19 03:41:16 +0300
commit1a064d05998c6d69de0e68b9916bde1f5998e829 (patch)
tree0a296e3a9c2b344db473b916611ef7b9733b1fd7
parent635bb31dad88f852b90376dfa38250b842cc5ba4 (diff)
downloadu-boot-1a064d05998c6d69de0e68b9916bde1f5998e829.tar.xz
configs: enable poweroff command on QEMU ARM platforms
Enable the sysreset based poweroff command. It invokes PSCI. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r--configs/qemu_arm64_defconfig1
-rw-r--r--configs/qemu_arm_defconfig1
2 files changed, 2 insertions, 0 deletions
diff --git a/configs/qemu_arm64_defconfig b/configs/qemu_arm64_defconfig
index 9335233152..2f46030855 100644
--- a/configs/qemu_arm64_defconfig
+++ b/configs/qemu_arm64_defconfig
@@ -63,6 +63,7 @@ CONFIG_DM_SCSI=y
CONFIG_DEBUG_UART_PL011=y
CONFIG_DEBUG_UART_SHIFT=2
CONFIG_SYSRESET=y
+CONFIG_SYSRESET_CMD_POWEROFF=y
CONFIG_SYSRESET_PSCI=y
CONFIG_TPM2_MMIO=y
CONFIG_USB=y
diff --git a/configs/qemu_arm_defconfig b/configs/qemu_arm_defconfig
index 6373185f29..f0ee54658a 100644
--- a/configs/qemu_arm_defconfig
+++ b/configs/qemu_arm_defconfig
@@ -65,6 +65,7 @@ CONFIG_DM_SCSI=y
CONFIG_DEBUG_UART_PL011=y
CONFIG_DEBUG_UART_SHIFT=2
CONFIG_SYSRESET=y
+CONFIG_SYSRESET_CMD_POWEROFF=y
CONFIG_SYSRESET_PSCI=y
CONFIG_TPM2_MMIO=y
CONFIG_USB=y