From: 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> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Bin Meng This adds syscon reboot and poweroff support to QEMU RISC-V. Signed-off-by: Bin Meng --- 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 -- 2.7.4