aboutsummaryrefslogtreecommitdiff
path: root/hw/riscv/Kconfig
diff options
context:
space:
mode:
authorAnup Patel <Anup.Patel@wdc.com>2019-11-06 11:56:43 +0000
committerPalmer Dabbelt <palmerdabbelt@google.com>2020-02-10 12:01:38 -0800
commit67b5ef30492b11c2a0f061b47773e45d87109a17 (patch)
tree77651210ee0ad39f41b4108765b1b30daf6f1c1f /hw/riscv/Kconfig
parent9a5b40b84279d60c0d93e5bb174fc9b49f901c91 (diff)
downloadqemu-67b5ef30492b11c2a0f061b47773e45d87109a17.zip
qemu-67b5ef30492b11c2a0f061b47773e45d87109a17.tar.gz
qemu-67b5ef30492b11c2a0f061b47773e45d87109a17.tar.bz2
riscv: virt: Use Goldfish RTC device
We extend QEMU RISC-V virt machine by adding Goldfish RTC device to it. This will allow Guest Linux to sync it's local date/time with Host date/time via RTC device. Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Palmer Dabbelt <palmer@sifive.com> Acked-by: Palmer Dabbelt <palmer@sifive.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'hw/riscv/Kconfig')
-rw-r--r--hw/riscv/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/riscv/Kconfig b/hw/riscv/Kconfig
index b12660b..ff9fbe9 100644
--- a/hw/riscv/Kconfig
+++ b/hw/riscv/Kconfig
@@ -34,6 +34,7 @@ config RISCV_VIRT
select PCI
select HART
select SERIAL
+ select GOLDFISH_RTC
select VIRTIO_MMIO
select PCI_EXPRESS_GENERIC_BRIDGE
select PFLASH_CFI01