RE: [PATCH 4/5] riscv: qemu: Add syscon reboot and poweroff support

2020-06-26 Thread Pragnesh Patel
>-Original Message-
>From: Bin Meng 
>Sent: 23 June 2020 11:00
>To: Rick Chen ; Simon Glass ;
>Pragnesh Patel ; Sagar Kadam
>; U-Boot Mailing List 
>Cc: Bin Meng 
>Subject: [PATCH 4/5] riscv: qemu: Add syscon reboot and poweroff support
>
>[External Email] Do not click links or attachments unless you recognize the
>sender and know the content is safe
>
>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(+)

Reviewed-by: Pragnesh Patel  


[PATCH 4/5] riscv: qemu: Add syscon reboot and poweroff support

2020-06-22 Thread Bin Meng
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