summaryrefslogtreecommitdiffstats
path: root/hw/rtc/Makefile.objs
diff options
context:
space:
mode:
authorNiek Linnenbank2020-03-11 23:18:48 +0100
committerPeter Maydell2020-03-12 17:27:33 +0100
commita9ad9e73a733fee77b8287b660e2c9894cbc5255 (patch)
tree6d486027c1ec6392b52311ebe959c4640c7fe8c7 /hw/rtc/Makefile.objs
parenthw/arm/allwinner-h3: add SDRAM controller device (diff)
downloadqemu-a9ad9e73a733fee77b8287b660e2c9894cbc5255.tar.gz
qemu-a9ad9e73a733fee77b8287b660e2c9894cbc5255.tar.xz
qemu-a9ad9e73a733fee77b8287b660e2c9894cbc5255.zip
hw/arm/allwinner: add RTC device support
Allwinner System-on-Chips usually contain a Real Time Clock (RTC) for non-volatile system date and time keeping. This commit adds a generic Allwinner RTC device that supports the RTC devices found in Allwinner SoC family sun4i (A10), sun7i (A20) and sun6i and newer (A31, H2+, H3, etc). The following RTC functionality and features are implemented: * Year-Month-Day read/write * Hour-Minute-Second read/write * General Purpose storage The following boards are extended with the RTC device: * Cubieboard (hw/arm/cubieboard.c) * Orange Pi PC (hw/arm/orangepi.c) Signed-off-by: Niek Linnenbank <nieklinnenbank@gmail.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Message-id: 20200311221854.30370-13-nieklinnenbank@gmail.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/rtc/Makefile.objs')
-rw-r--r--hw/rtc/Makefile.objs1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/rtc/Makefile.objs b/hw/rtc/Makefile.objs
index aa208d0d10..e4c1b8617c 100644
--- a/hw/rtc/Makefile.objs
+++ b/hw/rtc/Makefile.objs
@@ -12,3 +12,4 @@ obj-$(CONFIG_MC146818RTC) += mc146818rtc.o
common-obj-$(CONFIG_SUN4V_RTC) += sun4v-rtc.o
common-obj-$(CONFIG_ASPEED_SOC) += aspeed_rtc.o
common-obj-$(CONFIG_GOLDFISH_RTC) += goldfish_rtc.o
+common-obj-$(CONFIG_ALLWINNER_H3) += allwinner-rtc.o