瀏覽代碼

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 4 年之前
父節點
當前提交
a0cc38ab44
共有 1 個文件被更改,包括 4 次插入0 次删除
  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