aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mcs814x/patches-3.14/006-mcs814x_wdt.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2015-01-10 20:12:02 +0000
committerFlorian Fainelli <florian@openwrt.org>2015-01-10 20:12:02 +0000
commitdd4ee63fa43cf13190891a5df62676054942b52e (patch)
tree961871e70f77414e4bc647923a07119390b4676e /target/linux/mcs814x/patches-3.14/006-mcs814x_wdt.patch
parent3b523f6780113b0f55a2362ab093145dfa2a7c75 (diff)
downloadupstream-dd4ee63fa43cf13190891a5df62676054942b52e.tar.gz
upstream-dd4ee63fa43cf13190891a5df62676054942b52e.tar.bz2
upstream-dd4ee63fa43cf13190891a5df62676054942b52e.zip
mcs814x: add 3.14 kernel support
Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 43926
Diffstat (limited to 'target/linux/mcs814x/patches-3.14/006-mcs814x_wdt.patch')
-rw-r--r--target/linux/mcs814x/patches-3.14/006-mcs814x_wdt.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/target/linux/mcs814x/patches-3.14/006-mcs814x_wdt.patch b/target/linux/mcs814x/patches-3.14/006-mcs814x_wdt.patch
new file mode 100644
index 0000000000..41157ea234
--- /dev/null
+++ b/target/linux/mcs814x/patches-3.14/006-mcs814x_wdt.patch
@@ -0,0 +1,25 @@
+--- a/drivers/watchdog/Kconfig
++++ b/drivers/watchdog/Kconfig
+@@ -421,6 +421,12 @@ config SIRFSOC_WATCHDOG
+ Support for CSR SiRFprimaII and SiRFatlasVI watchdog. When
+ the watchdog triggers the system will be reset.
+
++config MCS814X_WATCHDOG
++ tristate "Moschip MCS814x watchdog"
++ depends on WATCHDOG_CORE && ARCH_MCS814X
++ help
++ Support for the Moschip MCS814x SoCs on-chip watchdog timer.
++
+ # AVR32 Architecture
+
+ config AT32AP700X_WDT
+--- a/drivers/watchdog/Makefile
++++ b/drivers/watchdog/Makefile
+@@ -58,6 +58,7 @@ obj-$(CONFIG_BCM2835_WDT) += bcm2835_wdt
+ obj-$(CONFIG_MOXART_WDT) += moxart_wdt.o
+ obj-$(CONFIG_SIRFSOC_WATCHDOG) += sirfsoc_wdt.o
+ obj-$(CONFIG_BCM_KONA_WDT) += bcm_kona_wdt.o
++obj-$(CONFIG_MCS814X_WATCHDOG) += mcs814x_wdt.o
+
+ # AVR32 Architecture
+ obj-$(CONFIG_AT32AP700X_WDT) += at32ap700x_wdt.o