Explorar o código

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>
Bin Meng %!s(int64=3) %!d(string=hai) anos
pai
achega
a0cc38ab44
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      board/emulation/qemu-riscv/Kconfig

+ 4 - 0
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