From: Daniel Schwierzeck Date: Wed, 23 Jan 2019 17:49:52 +0100 Subject: [U-Boot] [PATCH V2 2/6] watchdog: bcm6345: allow to use this driver on arm In-Reply-To: <1548166395-22068-2-git-send-email-philippe.reynes@softathome.com> References: <1548166395-22068-1-git-send-email-philippe.reynes@softathome.com> <1548166395-22068-2-git-send-email-philippe.reynes@softathome.com> Message-ID: <38cb1adf-190b-d923-ba17-e38ad9ae8df1@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > 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