[PATCH 0/2] rtc: driver for Goldfish RTC

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Sun Dec 31 00:52:59 CET 2023


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



More information about the U-Boot mailing list