summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/timers/timer-mtu2.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/kernel/timers/timer-mtu2.c')
-rw-r--r--arch/sh/kernel/timers/timer-mtu2.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sh/kernel/timers/timer-mtu2.c b/arch/sh/kernel/timers/timer-mtu2.c
index fe453c01f9c..c3d237e1d56 100644
--- a/arch/sh/kernel/timers/timer-mtu2.c
+++ b/arch/sh/kernel/timers/timer-mtu2.c
@@ -34,7 +34,12 @@
#define MTU2_TIER_1 0xfffe4384
#define MTU2_TSR_1 0xfffe4385
#define MTU2_TCNT_1 0xfffe4386 /* 16-bit counter */
+
+#if defined(CONFIG_CPU_SUBTYPE_SH7201)
+#define MTU2_TGRA_1 0xfffe4388
+#else
#define MTU2_TGRA_1 0xfffe438a
+#endif
#define STBCR3 0xfffe0408