summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2011-03-29 05:18:08 +0000
committerJohn Crispin <john@openwrt.org>2011-03-29 05:18:08 +0000
commit5b0f2fb9182684ad50bbc53a0c4a2bf1677f320c (patch)
tree8ac5c77ead6baeedf3d3a5c0d5b3f660229fc8e8
parentdb56769b0a1c5b9bcc4506850de78ceeeb7f4334 (diff)
downloadmtk-20170518-5b0f2fb9182684ad50bbc53a0c4a2bf1677f320c.zip
mtk-20170518-5b0f2fb9182684ad50bbc53a0c4a2bf1677f320c.tar.gz
mtk-20170518-5b0f2fb9182684ad50bbc53a0c4a2bf1677f320c.tar.bz2
* shrink the memory window of the wdt
SVN-Revision: 26352
-rw-r--r--target/linux/lantiq/patches/105-header_xway.patch4
-rw-r--r--target/linux/lantiq/patches/250-watchdog.patch4
2 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/lantiq/patches/105-header_xway.patch b/target/linux/lantiq/patches/105-header_xway.patch
index 90de9a8..18e37a7 100644
--- a/target/linux/lantiq/patches/105-header_xway.patch
+++ b/target/linux/lantiq/patches/105-header_xway.patch
@@ -273,8 +273,8 @@
+#define PCI_CS_PR_BASE_ADDR (KSEG1 + 0x17000000)
+
+/*------------ WDT */
-+#define LQ_WDT_BASE 0x1F880000
-+#define LQ_WDT_SIZE 0x400
++#define LQ_WDT_BASE 0x1F8803F0
++#define LQ_WDT_SIZE 0x10
+
+/*------------ Serial To Parallel conversion */
+#define LQ_STP_BASE 0x1E100BB0
diff --git a/target/linux/lantiq/patches/250-watchdog.patch b/target/linux/lantiq/patches/250-watchdog.patch
index 510d4e1..96875db 100644
--- a/target/linux/lantiq/patches/250-watchdog.patch
+++ b/target/linux/lantiq/patches/250-watchdog.patch
@@ -49,8 +49,8 @@
+#define LQ_WDT_PW1 0x00BE0000
+#define LQ_WDT_PW2 0x00DC0000
+
-+#define LQ_BIU_WDT_CR 0x3F0
-+#define LQ_BIU_WDT_SR 0x3F8
++#define LQ_BIU_WDT_CR 0x0
++#define LQ_BIU_WDT_SR 0x8
+
+#ifndef CONFIG_WATCHDOG_NOWAYOUT
+static int wdt_ok_to_close;