summaryrefslogtreecommitdiffstats
path: root/arch/riscv/Kconfig.socs
diff options
context:
space:
mode:
authorAnup Patel <Anup.Patel@wdc.com>2019-12-03 04:49:39 +0100
committerPalmer Dabbelt <palmerdabbelt@google.com>2020-03-05 19:48:46 +0100
commitd2047aba2e68f02119fa28904364070b98d92cd8 (patch)
treeefd9b2a35e81ef144f1d9b961e5dc93781b6cc9e /arch/riscv/Kconfig.socs
parentRISC-V: Select SYSCON Reboot and Poweroff for QEMU virt machine (diff)
downloadlinux-d2047aba2e68f02119fa28904364070b98d92cd8.tar.xz
linux-d2047aba2e68f02119fa28904364070b98d92cd8.zip
RISC-V: Select Goldfish RTC driver for QEMU virt machine
We select Goldfish RTC driver using QEMU virt machine kconfig option to access RTC device on QEMU virt machine. Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Atish Patra <atish.patra@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>
Diffstat (limited to 'arch/riscv/Kconfig.socs')
-rw-r--r--arch/riscv/Kconfig.socs2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs
index 9f6f9a063bc4..3078b2de0b2d 100644
--- a/arch/riscv/Kconfig.socs
+++ b/arch/riscv/Kconfig.socs
@@ -28,6 +28,8 @@ config SOC_VIRT
select VIRTIO_INPUT
select POWER_RESET_SYSCON
select POWER_RESET_SYSCON_POWEROFF
+ select GOLDFISH
+ select RTC_DRV_GOLDFISH
select SIFIVE_PLIC
help
This enables support for QEMU Virt Machine.