aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm4908/patches-5.4/800-watchdog-bcm7038_wdt-allow-building-on-ARCH_BCM4908.patch
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2021-11-09 12:07:59 +0100
committerRafał Miłecki <rafal@milecki.pl>2021-11-09 12:44:23 +0100
commit9565bd9bd61f026effce7ebfe17d413d1adb032f (patch)
tree1ce62a5f61188de65d6b6d34f97940e2b88407ee /target/linux/bcm4908/patches-5.4/800-watchdog-bcm7038_wdt-allow-building-on-ARCH_BCM4908.patch
parent9a18bbec1f63468182e4d6216b595ff73f08b919 (diff)
downloadupstream-9565bd9bd61f026effce7ebfe17d413d1adb032f.tar.gz
upstream-9565bd9bd61f026effce7ebfe17d413d1adb032f.tar.bz2
upstream-9565bd9bd61f026effce7ebfe17d413d1adb032f.zip
bcm4908: add watchdog support
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux/bcm4908/patches-5.4/800-watchdog-bcm7038_wdt-allow-building-on-ARCH_BCM4908.patch')
-rw-r--r--target/linux/bcm4908/patches-5.4/800-watchdog-bcm7038_wdt-allow-building-on-ARCH_BCM4908.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/target/linux/bcm4908/patches-5.4/800-watchdog-bcm7038_wdt-allow-building-on-ARCH_BCM4908.patch b/target/linux/bcm4908/patches-5.4/800-watchdog-bcm7038_wdt-allow-building-on-ARCH_BCM4908.patch
new file mode 100644
index 0000000000..16ed3f5072
--- /dev/null
+++ b/target/linux/bcm4908/patches-5.4/800-watchdog-bcm7038_wdt-allow-building-on-ARCH_BCM4908.patch
@@ -0,0 +1,25 @@
+From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
+Date: Tue, 9 Nov 2021 11:34:28 +0100
+Subject: [PATCH] watchdog: bcm7038_wdt: allow building on ARCH_BCM4908
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+The same hardware block is present on BCM4908 SoCs family.
+
+Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
+---
+ drivers/watchdog/Kconfig | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/drivers/watchdog/Kconfig
++++ b/drivers/watchdog/Kconfig
+@@ -1759,7 +1759,7 @@ config BCM7038_WDT
+ tristate "BCM7038 Watchdog"
+ select WATCHDOG_CORE
+ depends on HAS_IOMEM
+- depends on ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST
++ depends on ARCH_BCM4908 || ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST
+ help
+ Watchdog driver for the built-in hardware in Broadcom 7038 and
+ later SoCs used in set-top boxes. BCM7038 was made public