configs: enable poweroff command on QEMU ARM platforms
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 13 Jan 2023 19:02:28 +0000 (20:02 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 19 Jan 2023 00:41:16 +0000 (19:41 -0500)
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>
configs/qemu_arm64_defconfig
configs/qemu_arm_defconfig

index 9335233..2f46030 100644 (file)
@@ -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
index 6373185..f0ee546 100644 (file)
@@ -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