From patchwork Tue Jun 23 05:29:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bin Meng X-Patchwork-Id: 242784 List-Id: U-Boot discussion From: bmeng.cn at gmail.com (Bin Meng) Date: Mon, 22 Jun 2020 22:29:45 -0700 Subject: [PATCH 4/5] riscv: qemu: Add syscon reboot and poweroff support In-Reply-To: <1592890186-18082-1-git-send-email-bmeng.cn@gmail.com> References: <1592890186-18082-1-git-send-email-bmeng.cn@gmail.com> Message-ID: <1592890186-18082-4-git-send-email-bmeng.cn@gmail.com> From: Bin Meng This adds syscon reboot and poweroff support to QEMU RISC-V. Signed-off-by: Bin Meng Reviewed-by: Pragnesh Patel --- board/emulation/qemu-riscv/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/board/emulation/qemu-riscv/Kconfig b/board/emulation/qemu-riscv/Kconfig index ad99b08..617c4aa 100644 --- a/board/emulation/qemu-riscv/Kconfig +++ b/board/emulation/qemu-riscv/Kconfig @@ -53,5 +53,9 @@ config BOARD_SPECIFIC_OPTIONS # dummy imply NVME imply SPL_RAM_SUPPORT imply SPL_RAM_DEVICE + imply SYSRESET + imply SYSRESET_SYSCON + imply CMD_POWEROFF + imply SYSRESET_CMD_POWEROFF endif