]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
rtc: Tighten some rtc driver dependencies
authorTom Rini <trini@konsulko.com>
Mon, 4 Aug 2025 21:57:10 +0000 (15:57 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 14 Aug 2025 17:02:58 +0000 (11:02 -0600)
The Marvell RTC rtc driver cannot build without access to some
platform specific header files. Express that requirements in Kconfig as
well.

Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/rtc/Kconfig

index 79b879d68d1bdc3981ceec964a245ce2464ee68d..ed903999f067995289af771267e12d5502a39691 100644 (file)
@@ -218,7 +218,7 @@ config RTC_PL031
 
 config RTC_MV
        bool "Enable Marvell RTC driver"
-       depends on DM_RTC
+       depends on DM_RTC && ARCH_KIRKWOOD
        help
          Enable Marvell RTC driver. This driver supports the rtc that is present
          on some Marvell SoCs.