diff options
author | Niek Linnenbank | 2020-03-11 23:18:48 +0100 |
---|---|---|
committer | Peter Maydell | 2020-03-12 17:27:33 +0100 |
commit | a9ad9e73a733fee77b8287b660e2c9894cbc5255 (patch) | |
tree | 6d486027c1ec6392b52311ebe959c4640c7fe8c7 /hw/rtc/Makefile.objs | |
parent | hw/arm/allwinner-h3: add SDRAM controller device (diff) | |
download | qemu-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.objs | 1 |
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 |