RISC-V: Select SYSCON Reboot and Poweroff for QEMU virt machine
The SYSCON Reboot and Poweroff drivers can be used on QEMU virt machine to reboot or poweroff the system hence we select these drivers using QEMU virt machine kconfig option. Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
This commit is contained in:
parent
a4485398b6
commit
81e2d3c52c
|
@ -26,6 +26,8 @@ config SOC_VIRT
|
||||||
select RPMSG_VIRTIO
|
select RPMSG_VIRTIO
|
||||||
select CRYPTO_DEV_VIRTIO
|
select CRYPTO_DEV_VIRTIO
|
||||||
select VIRTIO_INPUT
|
select VIRTIO_INPUT
|
||||||
|
select POWER_RESET_SYSCON
|
||||||
|
select POWER_RESET_SYSCON_POWEROFF
|
||||||
select SIFIVE_PLIC
|
select SIFIVE_PLIC
|
||||||
help
|
help
|
||||||
This enables support for QEMU Virt Machine.
|
This enables support for QEMU Virt Machine.
|
||||||
|
|
|
@ -58,6 +58,7 @@ CONFIG_HW_RANDOM=y
|
||||||
CONFIG_SPI=y
|
CONFIG_SPI=y
|
||||||
CONFIG_SPI_SIFIVE=y
|
CONFIG_SPI_SIFIVE=y
|
||||||
# CONFIG_PTP_1588_CLOCK is not set
|
# CONFIG_PTP_1588_CLOCK is not set
|
||||||
|
CONFIG_POWER_RESET=y
|
||||||
CONFIG_DRM=y
|
CONFIG_DRM=y
|
||||||
CONFIG_DRM_RADEON=y
|
CONFIG_DRM_RADEON=y
|
||||||
CONFIG_FRAMEBUFFER_CONSOLE=y
|
CONFIG_FRAMEBUFFER_CONSOLE=y
|
||||||
|
|
|
@ -56,6 +56,7 @@ CONFIG_SERIAL_EARLYCON_RISCV_SBI=y
|
||||||
CONFIG_HVC_RISCV_SBI=y
|
CONFIG_HVC_RISCV_SBI=y
|
||||||
CONFIG_HW_RANDOM=y
|
CONFIG_HW_RANDOM=y
|
||||||
# CONFIG_PTP_1588_CLOCK is not set
|
# CONFIG_PTP_1588_CLOCK is not set
|
||||||
|
CONFIG_POWER_RESET=y
|
||||||
CONFIG_DRM=y
|
CONFIG_DRM=y
|
||||||
CONFIG_DRM_RADEON=y
|
CONFIG_DRM_RADEON=y
|
||||||
CONFIG_FRAMEBUFFER_CONSOLE=y
|
CONFIG_FRAMEBUFFER_CONSOLE=y
|
||||||
|
|
Loading…
Reference in New Issue