sunxi: build kernel with sun6i-rtc driver
authorDaniel Golle <daniel@makrotopia.org>
Sun, 21 Nov 2021 21:33:41 +0000 (21:33 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 21 Nov 2021 21:37:56 +0000 (21:37 +0000)
commitd6c5bb69cd165b1afbf149a5259543fe0ceed6d2
tree58864220244c84f8293ae0798717ee42d34d495b
parent148c516e1fdce13f7e786279b4f14ef18c4d28d3
sunxi: build kernel with sun6i-rtc driver

sun6i-rtc cannot be built as a module and the hardware is only
present in some of the sunxi SoCs, see driver source:
        { .compatible = "allwinner,sun6i-a31-rtc" },
        { .compatible = "allwinner,sun8i-a23-rtc" },
        { .compatible = "allwinner,sun8i-h3-rtc" },
        { .compatible = "allwinner,sun8i-r40-rtc" },
        { .compatible = "allwinner,sun8i-v3-rtc" },
        { .compatible = "allwinner,sun50i-h5-rtc" },
        { .compatible = "allwinner,sun50i-h6-rtc" },

Set CONFIG_RTC_DRV_SUN6I=y in kernel config file for cortexa7 and
cortexa53 subtargets which covers all of the above.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/sunxi/cortexa53/config-5.10
target/linux/sunxi/cortexa7/config-5.10