aboutsummaryrefslogtreecommitdiff
path: root/include/ppc440.h
diff options
context:
space:
mode:
authorYuri Tikhonov <yur@emcraft.com>2008-04-24 10:30:53 +0200
committerWolfgang Denk <wd@denx.de>2008-04-25 11:35:32 +0200
commiteb0615bf600d2caf5aa2958f47f5ba364c52d5e7 (patch)
tree0644dc35364e9d7a35021e6a3ca550693583c39e /include/ppc440.h
parent4b7a6dd89633d60dc4b58476d5ce48247f82a3ca (diff)
lwmon5: watchdog POST fix
Use the GPT0_MASKx registers as the temporary storage for watch-dog timer POST test instead of GPT0_COMPx. The latter (GPT0_COMP1..GPT0_COMP5) are used for the log-buffer header. Signed-off-by: Sergei Poselenov <sposelenov@emcraft.com> Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
Diffstat (limited to 'include/ppc440.h')
-rw-r--r--include/ppc440.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/ppc440.h b/include/ppc440.h
index bb39ad631..2f6ed97a6 100644
--- a/include/ppc440.h
+++ b/include/ppc440.h
@@ -1437,6 +1437,13 @@
#define GPT0_COMP2 0x00000088
#define GPT0_COMP1 0x00000084
+#define GPT0_MASK6 0x000000D8
+#define GPT0_MASK5 0x000000D4
+#define GPT0_MASK4 0x000000D0
+#define GPT0_MASK3 0x000000CC
+#define GPT0_MASK2 0x000000C8
+#define GPT0_MASK1 0x000000C4
+
#if defined(CONFIG_440EPX) || defined(CONFIG_440GRX)
#define SDR0_USB2D0CR 0x0320
#define SDR0_USB2D0CR_USB2DEV_EBC_SEL_MASK 0x00000004 /* USB 2.0 Device/EBC Master Selection */