summaryrefslogtreecommitdiff
path: root/target/linux/ramips/patches-3.3/104-ramips-watchdog-driver.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-04-21 12:30:50 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-04-21 12:30:50 +0000
commit5c325b0057c3ae3447c396f0f27c8c1628321a4b (patch)
treeede9e3cdc6d26d484bbed214c2ee82ac63b6e014 /target/linux/ramips/patches-3.3/104-ramips-watchdog-driver.patch
parent7f902c962b3314665cbccf013e3bac599d514581 (diff)
downloadmtk-20170518-5c325b0057c3ae3447c396f0f27c8c1628321a4b.zip
mtk-20170518-5c325b0057c3ae3447c396f0f27c8c1628321a4b.tar.gz
mtk-20170518-5c325b0057c3ae3447c396f0f27c8c1628321a4b.tar.bz2
ramips: add support for 3.3
SVN-Revision: 31403
Diffstat (limited to 'target/linux/ramips/patches-3.3/104-ramips-watchdog-driver.patch')
-rw-r--r--target/linux/ramips/patches-3.3/104-ramips-watchdog-driver.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/target/linux/ramips/patches-3.3/104-ramips-watchdog-driver.patch b/target/linux/ramips/patches-3.3/104-ramips-watchdog-driver.patch
new file mode 100644
index 0000000..6a9cefa
--- /dev/null
+++ b/target/linux/ramips/patches-3.3/104-ramips-watchdog-driver.patch
@@ -0,0 +1,26 @@
+--- a/drivers/watchdog/Kconfig
++++ b/drivers/watchdog/Kconfig
+@@ -1033,6 +1033,13 @@ config LANTIQ_WDT
+ help
+ Hardware driver for the Lantiq SoC Watchdog Timer.
+
++config RAMIPS_WDT
++ tristate "Ralink RT288X/RT305X Watchdog Timer"
++ depends on (SOC_RT288X || SOC_RT305X || SOC_RT3883)
++ help
++ Hardware driver for the built-in watchdog timer on the
++ Ralink RT288X/RT305X SoCs.
++
+ # PARISC Architecture
+
+ # POWERPC Architecture
+--- a/drivers/watchdog/Makefile
++++ b/drivers/watchdog/Makefile
+@@ -132,6 +132,7 @@ obj-$(CONFIG_TXX9_WDT) += txx9wdt.o
+ obj-$(CONFIG_OCTEON_WDT) += octeon-wdt.o
+ octeon-wdt-y := octeon-wdt-main.o octeon-wdt-nmi.o
+ obj-$(CONFIG_LANTIQ_WDT) += lantiq_wdt.o
++obj-$(CONFIG_RAMIPS_WDT) += ramips_wdt.o
+
+ # PARISC Architecture
+