[U-Boot] [PATCH V2 2/6] watchdog: bcm6345: allow to use this driver on arm

Daniel Schwierzeck daniel.schwierzeck at gmail.com
Wed Jan 23 16:49:52 UTC 2019



Am 22.01.19 um 15:13 schrieb Philippe Reynes:
> This IP is also used on some arm SoC, so we allow to
> use it on arm too.
> 
> Signed-off-by: Philippe Reynes <philippe.reynes at softathome.com>
> ---
>  drivers/watchdog/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Changelog:
> v2:
> - add a commit message (thanks Marek)
> 
> diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
> index 10fd303..e723c5e 100644
> --- a/drivers/watchdog/Kconfig
> +++ b/drivers/watchdog/Kconfig
> @@ -88,7 +88,7 @@ config WDT_ASPEED
>  
>  config WDT_BCM6345
>  	bool "BCM6345 watchdog timer support"
> -	depends on WDT && ARCH_BMIPS
> +	depends on WDT && (ARCH_BMIPS || ARM)

bcm968580_ram_defconfig contains:
CONFIG_ARM=y
CONFIG_ARCH_BCM6858=y

so couldn't this be limited to WDT && (ARCH_BMIPS || ARCH_BCM6858)?

>  	help
>  	  Select this to enable watchdog timer for BCM6345 SoCs.
>  	  The watchdog timer is stopped when initialized.
> 

-- 
- Daniel


More information about the U-Boot mailing list