diff mbox series

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

Message ID 1548166395-22068-2-git-send-email-philippe.reynes@softathome.com
State Superseded
Delegated to: Tom Rini
Headers show
Series [U-Boot,V2,1/6] watchdog: bcm6345: switch to raw I/O functions | expand

Commit Message

Philippe REYNES Jan. 22, 2019, 2:13 p.m. UTC
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@softathome.com>
---
 drivers/watchdog/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Changelog:
v2:
- add a commit message (thanks Marek)

Comments

Daniel Schwierzeck Jan. 23, 2019, 4:49 p.m. UTC | #1
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@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.
>
diff mbox series

Patch

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)
 	help
 	  Select this to enable watchdog timer for BCM6345 SoCs.
 	  The watchdog timer is stopped when initialized.