mirror of
https://github.com/xemu-project/xemu.git
synced 2024-12-18 01:08:51 +00:00
a9ad9e73a7
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>
16 lines
624 B
Makefile
16 lines
624 B
Makefile
common-obj-$(CONFIG_DS1338) += ds1338.o
|
|
common-obj-$(CONFIG_M41T80) += m41t80.o
|
|
common-obj-$(CONFIG_M48T59) += m48t59.o
|
|
ifeq ($(CONFIG_ISA_BUS),y)
|
|
common-obj-$(CONFIG_M48T59) += m48t59-isa.o
|
|
endif
|
|
common-obj-$(CONFIG_PL031) += pl031.o
|
|
common-obj-$(CONFIG_TWL92230) += twl92230.o
|
|
common-obj-$(CONFIG_XLNX_ZYNQMP) += xlnx-zynqmp-rtc.o
|
|
common-obj-$(CONFIG_EXYNOS4) += exynos4210_rtc.o
|
|
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
|