]> git.proxmox.com Git - mirror_qemu.git/commit
hw: timer: Add ASPEED RTC device
authorJoel Stanley <joel@jms.id.au>
Mon, 1 Jul 2019 16:26:15 +0000 (17:26 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 1 Jul 2019 16:28:59 +0000 (17:28 +0100)
commit979672cf51533ac629b925fea096eb6bfe25261a
tree8852f1cb1fc1925a41e68144bf054811dc14a8d6
parentd783d1fe581dc250dcc44e629f2f52f617920465
hw: timer: Add ASPEED RTC device

The RTC is modeled to provide time and date functionality. It is
initialised at zero to match the hardware.

There is no modelling of the alarm functionality, which includes the IRQ
line. As there is no guest code to exercise this function that is
acceptable for now.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20190618165311.27066-4-clg@kaod.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/timer/Makefile.objs
hw/timer/aspeed_rtc.c [new file with mode: 0644]
hw/timer/trace-events
include/hw/timer/aspeed_rtc.h [new file with mode: 0644]