bcm4908: add watchdog support
[openwrt/staging/thess.git] / target / linux / bcm4908 / patches-5.4 / 800-watchdog-bcm7038_wdt-allow-building-on-ARCH_BCM4908.patch
1 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
2 Date: Tue, 9 Nov 2021 11:34:28 +0100
3 Subject: [PATCH] watchdog: bcm7038_wdt: allow building on ARCH_BCM4908
4 MIME-Version: 1.0
5 Content-Type: text/plain; charset=UTF-8
6 Content-Transfer-Encoding: 8bit
7
8 The same hardware block is present on BCM4908 SoCs family.
9
10 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
11 ---
12 drivers/watchdog/Kconfig | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15 --- a/drivers/watchdog/Kconfig
16 +++ b/drivers/watchdog/Kconfig
17 @@ -1759,7 +1759,7 @@ config BCM7038_WDT
18 tristate "BCM7038 Watchdog"
19 select WATCHDOG_CORE
20 depends on HAS_IOMEM
21 - depends on ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST
22 + depends on ARCH_BCM4908 || ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST
23 help
24 Watchdog driver for the built-in hardware in Broadcom 7038 and
25 later SoCs used in set-top boxes. BCM7038 was made public