[PATCH 4/5] Kconfig: Enable APM X-Gene RTC for XuanTie TH1520

From: wefu
Date: Fri Apr 12 2024 - 04:04:05 EST


From: Wei Fu <wefu@xxxxxxxxxx>

This patch enables APM X-Gene RTC for XuanTie TH1520.

Signed-off-by: Wei Fu <wefu@xxxxxxxxxx>
---
drivers/rtc/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 3a89f1e6095d..b219aeef4ce9 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -1880,7 +1880,7 @@ config RTC_DRV_MT7622
config RTC_DRV_XGENE
tristate "APM X-Gene RTC"
depends on HAS_IOMEM
- depends on ARCH_XGENE || COMPILE_TEST
+ depends on ARCH_XGENE || ARCH_THEAD || COMPILE_TEST
help
If you say yes here you get support for the APM X-Gene SoC real time
clock.
--
2.44.0