[PATCH] watchdog: Tighten dependencies on WDT_DAVINCI

Tom Rini trini at konsulko.com
Wed Oct 1 22:30:39 CEST 2025


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 at konsulko.com>
---
Note that today no platforms enable it, but based on the compatible
string a number of platforms could, so I'm cc'ing platform maintainers
that may want to enable it.

Cc: Andrew Davis <afd at ti.com>
Cc: David Lechner <david at lechnology.com>
Cc: Adam Ford <aford173 at gmail.com>
---
 drivers/watchdog/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index f646b35eff84..309f9cd4829b 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -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.
-- 
2.43.0



More information about the U-Boot mailing list