Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
d63f3a58
Commit
d63f3a58
authored
Jan 29, 2009
by
Paul Mundt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sh: Fix up MTU2 support for SH7203.
Signed-off-by:
Paul Mundt
<
lethal@linux-sh.org
>
parent
f5ad881b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
arch/sh/Kconfig
arch/sh/Kconfig
+2
-1
arch/sh/kernel/timers/timer-mtu2.c
arch/sh/kernel/timers/timer-mtu2.c
+2
-1
No files found.
arch/sh/Kconfig
View file @
d63f3a58
...
@@ -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"
...
...
arch/sh/kernel/timers/timer-mtu2.c
View file @
d63f3a58
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment