diff options
author | Anup Patel <Anup.Patel@wdc.com> | 2019-11-06 11:56:36 +0000 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2020-02-10 12:01:37 -0800 |
commit | 9a5b40b84279d60c0d93e5bb174fc9b49f901c91 (patch) | |
tree | f145c21957042bbbdff68fe4f81b5a0b3266bf05 /hw/rtc/Kconfig | |
parent | ae4a70c07196b76a67b772318b714ce910e10004 (diff) |
hw: rtc: Add Goldfish RTC device
This patch adds model for Google Goldfish virtual platform RTC device.
We will be adding Goldfish RTC device to the QEMU RISC-V virt machine
for providing real date-time to Guest Linux. The corresponding Linux
driver for Goldfish RTC device is already available in upstream Linux.
For now, VM migration support is available but untested for Goldfish RTC
device. It will be hardened in-future when we implement VM migration for
KVM RISC-V.
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'hw/rtc/Kconfig')
-rw-r--r-- | hw/rtc/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/rtc/Kconfig b/hw/rtc/Kconfig index 3dc2dd6888..f06e133b8a 100644 --- a/hw/rtc/Kconfig +++ b/hw/rtc/Kconfig @@ -22,3 +22,6 @@ config MC146818RTC config SUN4V_RTC bool + +config GOLDFISH_RTC + bool |