1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-10-04 21:11:58 +03:00
* shrink the memory window of the wdt


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26352 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
blogic 2011-03-29 05:18:08 +00:00
parent df7d799ecf
commit a3ce1ceaa0
2 changed files with 4 additions and 4 deletions

View File

@ -273,8 +273,8 @@
+#define PCI_CS_PR_BASE_ADDR (KSEG1 + 0x17000000) +#define PCI_CS_PR_BASE_ADDR (KSEG1 + 0x17000000)
+ +
+/*------------ WDT */ +/*------------ WDT */
+#define LQ_WDT_BASE 0x1F880000 +#define LQ_WDT_BASE 0x1F8803F0
+#define LQ_WDT_SIZE 0x400 +#define LQ_WDT_SIZE 0x10
+ +
+/*------------ Serial To Parallel conversion */ +/*------------ Serial To Parallel conversion */
+#define LQ_STP_BASE 0x1E100BB0 +#define LQ_STP_BASE 0x1E100BB0

View File

@ -49,8 +49,8 @@
+#define LQ_WDT_PW1 0x00BE0000 +#define LQ_WDT_PW1 0x00BE0000
+#define LQ_WDT_PW2 0x00DC0000 +#define LQ_WDT_PW2 0x00DC0000
+ +
+#define LQ_BIU_WDT_CR 0x3F0 +#define LQ_BIU_WDT_CR 0x0
+#define LQ_BIU_WDT_SR 0x3F8 +#define LQ_BIU_WDT_SR 0x8
+ +
+#ifndef CONFIG_WATCHDOG_NOWAYOUT +#ifndef CONFIG_WATCHDOG_NOWAYOUT
+static int wdt_ok_to_close; +static int wdt_ok_to_close;