aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorBin Meng2020-06-22 22:29:45 -0700
committerAndes2020-07-24 14:55:55 +0800
commita0cc38ab44b0fa8af65632cbea1b13630195f03d (patch)
treef438082cc69d44f294c76d45f8ba3f50b1855900 /board
parent9cdfade85ebeab73ce001e3dfdb8c529bf3cabed (diff)
riscv: qemu: Add syscon reboot and poweroff support
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>
Diffstat (limited to 'board')
-rw-r--r--board/emulation/qemu-riscv/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/emulation/qemu-riscv/Kconfig b/board/emulation/qemu-riscv/Kconfig
index ad99b08b447..617c4aa33ff 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