Commit d63f3a58 authored by Paul Mundt's avatar Paul Mundt

sh: Fix up MTU2 support for SH7203.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent f5ad881b
...@@ -447,7 +447,8 @@ config SH_TIMER_IRQ ...@@ -447,7 +447,8 @@ config SH_TIMER_IRQ
CPU_SUBTYPE_SH7763 CPU_SUBTYPE_SH7763
default "86" if CPU_SUBTYPE_SH7619 default "86" if CPU_SUBTYPE_SH7619
default "140" if CPU_SUBTYPE_SH7206 default "140" if CPU_SUBTYPE_SH7206
default "142" if CPU_SUBTYPE_SH7203 default "142" if CPU_SUBTYPE_SH7203 && SH_CMT
default "153" if CPU_SUBTYPE_SH7203 && SH_MTU2
default "238" if CPU_SUBTYPE_MXG default "238" if CPU_SUBTYPE_MXG
default "16" default "16"
......
...@@ -35,7 +35,8 @@ ...@@ -35,7 +35,8 @@
#define MTU2_TSR_1 0xfffe4385 #define MTU2_TSR_1 0xfffe4385
#define MTU2_TCNT_1 0xfffe4386 /* 16-bit counter */ #define MTU2_TCNT_1 0xfffe4386 /* 16-bit counter */
#if defined(CONFIG_CPU_SUBTYPE_SH7201) #if defined(CONFIG_CPU_SUBTYPE_SH7201) || \
defined(CONFIG_CPU_SUBTYPE_SH7203)
#define MTU2_TGRA_1 0xfffe4388 #define MTU2_TGRA_1 0xfffe4388
#else #else
#define MTU2_TGRA_1 0xfffe438a #define MTU2_TGRA_1 0xfffe438a
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment