riscv: qemu: Add syscon reboot and poweroff support
authorBin Meng <bin.meng@windriver.com>
Tue, 23 Jun 2020 05:29:45 +0000 (22:29 -0700)
committerAndes <uboot@andestech.com>
Fri, 24 Jul 2020 06:55:55 +0000 (14:55 +0800)
This adds syscon reboot and poweroff support to QEMU RISC-V.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Pragnesh Patel <pragnesh.patel@sifive.com>
board/emulation/qemu-riscv/Kconfig

index ad99b08..617c4aa 100644 (file)
@@ -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