[PATCH] watchdog: Tighten dependencies on WDT_DAVINCI
    Stefan Roese 
    stefan.roese at mailbox.org
       
    Thu Oct 16 14:34:13 CEST 2025
    
    
  
On 10/1/25 22:30, Tom Rini wrote:
> 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>
Applied to u-boot-watchdog/master
Thanks,
Stefan
> ---
>   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.
    
    
More information about the U-Boot
mailing list