Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 146692
b: refs/heads/master
c: f425752
h: refs/heads/master
v: v3
  • Loading branch information
Magnus Damm authored and Paul Mundt committed Apr 30, 2009
1 parent 2613459 commit 778e3de
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 207 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 698aa99da5f5e2b4c666fd21ab77306f0225b8f5
refs/heads/master: f425752fc66acf1d4e47970ea704ed7d31c14173
18 changes: 5 additions & 13 deletions trunk/arch/sh/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -462,22 +462,14 @@ config SH_TMU
help
This enables the use of the TMU as the system timer.

config SH_CMT
bool "CMT timer support"
depends on SYS_SUPPORTS_CMT && CPU_SH2
default y
help
This enables the use of the CMT as the system timer.

#
# Support for the new-style CMT driver. This will replace SH_CMT
# once its other dependencies are merged.
#
config SH_TIMER_CMT
bool "CMT clockevents driver"
depends on SYS_SUPPORTS_CMT && !SH_CMT
bool "CMT timer driver"
depends on SYS_SUPPORTS_CMT
default y
select GENERIC_CLOCKEVENTS
select GENERIC_TIME
help
This enables build of the CMT timer driver.

config SH_MTU2
bool "MTU2 timer support"
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/sh/include/asm/timer.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ struct sys_timer {

#define TICK_SIZE (tick_nsec / 1000)

extern struct sys_timer tmu_timer, cmt_timer, mtu2_timer;
extern struct sys_timer tmu_timer, mtu2_timer;
extern struct sys_timer *sys_timer;

#ifndef CONFIG_GENERIC_TIME
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/sh/kernel/timers/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ obj-y := timer.o

obj-$(CONFIG_SH_TMU) += timer-tmu.o
obj-$(CONFIG_SH_MTU2) += timer-mtu2.o
obj-$(CONFIG_SH_CMT) += timer-cmt.o

obj-$(CONFIG_GENERIC_CLOCKEVENTS_BROADCAST) += timer-broadcast.o
188 changes: 0 additions & 188 deletions trunk/arch/sh/kernel/timers/timer-cmt.c

This file was deleted.

3 changes: 0 additions & 3 deletions trunk/arch/sh/kernel/timers/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ static struct sys_timer *sys_timers[] = {
#endif
#ifdef CONFIG_SH_MTU2
&mtu2_timer,
#endif
#ifdef CONFIG_SH_CMT
&cmt_timer,
#endif
NULL,
};
Expand Down

0 comments on commit 778e3de

Please sign in to comment.