watchdog: Tighten dependencies on WDT_DAVINCI
authorTom Rini <trini@konsulko.com>
Wed, 1 Oct 2025 20:30:39 +0000 (14:30 -0600)
committerStefan Roese <stefan.roese@mailbox.org>
Thu, 16 Oct 2025 07:16:36 +0000 (09:16 +0200)
The WDT_DAVINCI driver is not safe to compile on 64bit platforms such as
allyesconfig on a 64bit host. Tighten the dependencies here to the
platforms which could use it today.

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

index f646b35..309f9cd 100644 (file)
@@ -190,7 +190,7 @@ config WDT_DA9063
 
 config WDT_DAVINCI
        bool "DaVinci watchdog timer support"
-       depends on WDT
+       depends on WDT && (ARCH_DAVINCI || ARCH_KEYSTONE)
        help
          Select this to enable the watchdog timer for DaVinci SoCs such as the
          OMAP-L138.