
31 Dec
2023
31 Dec
'23
12:52 a.m.
The Goldfish RTC is a virtual device which may be supplied by QEMU. It is enabled by default on QEMU's RISC-V virt machine.
Provide a driver and enable it by default on RISC-V QEMU.
Heinrich Schuchardt (2): rtc: driver for Goldfish RTC riscv: qemu: imply GOLDFISH_RTC
board/emulation/qemu-riscv/Kconfig | 2 + drivers/rtc/Kconfig | 7 ++ drivers/rtc/Makefile | 1 + drivers/rtc/goldfish_rtc.c | 105 +++++++++++++++++++++++++++++ 4 files changed, 115 insertions(+) create mode 100644 drivers/rtc/goldfish_rtc.c
--
2.43.0