diff mbox series

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

Message ID 1548686252-18446-2-git-send-email-philippe.reynes@softathome.com
State Accepted
Commit 47b68d00a383daefdc233f4b92f016caf43d712b
Delegated to: Tom Rini
Headers show
Series [U-Boot,V3,1/6] watchdog: bcm6345: switch to raw I/O functions | expand

Commit Message

Philippe REYNES Jan. 28, 2019, 2:37 p.m. UTC
This IP is also used on some arm SoC, so we allow to
use it on arm bcm6858 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)
v3:
- only enable this driver on bcm6858 (thanks Daniel)

Comments

Tom Rini Feb. 10, 2019, 1:06 p.m. UTC | #1
On Mon, Jan 28, 2019 at 03:37:28PM +0100, Philippe Reynes wrote:

> This IP is also used on some arm SoC, so we allow to
> use it on arm bcm6858 too.
> 
> Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index 10fd303..9456abd 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 || ARCH_BCM6858)
 	help
 	  Select this to enable watchdog timer for BCM6345 SoCs.
 	  The watchdog timer is stopped when initialized.