diff options
author | Bin Meng <bin.meng@windriver.com> | 2020-06-22 22:29:45 -0700 |
---|---|---|
committer | Andes <uboot@andestech.com> | 2020-07-24 14:55:55 +0800 |
commit | a0cc38ab44b0fa8af65632cbea1b13630195f03d (patch) | |
tree | f438082cc69d44f294c76d45f8ba3f50b1855900 | |
parent | 9cdfade85ebeab73ce001e3dfdb8c529bf3cabed (diff) | |
download | u-boot-a0cc38ab44b0fa8af65632cbea1b13630195f03d.zip u-boot-a0cc38ab44b0fa8af65632cbea1b13630195f03d.tar.gz u-boot-a0cc38ab44b0fa8af65632cbea1b13630195f03d.tar.bz2 |
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>
-rw-r--r-- | board/emulation/qemu-riscv/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
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 |