projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bec9fb0
)
sh: Add watch-dog register address for SH7722/SH7723/SH7724
author
Kuninori Morimoto
<
[email protected]
>
Tue, 16 Mar 2010 02:02:08 +0000
(
02:02
+0000)
committer
Paul Mundt
<
[email protected]
>
Tue, 23 Mar 2010 04:19:36 +0000
(13:19 +0900)
Signed-off-by: Kuninori Morimoto <
[email protected]
>
Signed-off-by: Paul Mundt <
[email protected]
>
arch/sh/include/cpu-sh4/cpu/watchdog.h
patch
|
blob
|
history
diff --git
a/arch/sh/include/cpu-sh4/cpu/watchdog.h
b/arch/sh/include/cpu-sh4/cpu/watchdog.h
index 7672301d0c70917da242ce4e398fa5d4b84712f9..7f62b9380938203ad6d25a221db7c44424b1c46f 100644
(file)
--- a/
arch/sh/include/cpu-sh4/cpu/watchdog.h
+++ b/
arch/sh/include/cpu-sh4/cpu/watchdog.h
@@
-21,6
+21,12
@@
#define WTCNT 0xffcc0000 /*WDTST*/
#define WTST WTCNT
#define WTBST 0xffcc0008 /*WDTBST*/
+/* Register definitions */
+#elif defined(CONFIG_CPU_SUBTYPE_SH7722) || \
+ defined(CONFIG_CPU_SUBTYPE_SH7723) || \
+ defined(CONFIG_CPU_SUBTYPE_SH7724)
+#define WTCNT 0xa4520000
+#define WTCSR 0xa4520004
#else
/* Register definitions */
#define WTCNT 0xffc00008