summaryrefslogtreecommitdiff
path: root/arch/sh/lib/time_sh2.c
diff options
context:
space:
mode:
authorGraeme Russ <graeme.russ@gmail.com>2011-07-15 02:19:44 +0000
committerWolfgang Denk <wd@denx.de>2011-07-26 14:53:30 +0200
commit4769be21cca65f1e7bef27bc024d886842bc6bad (patch)
tree47053c2ed79e6e43b1b6fd49b585fe53028ff6a5 /arch/sh/lib/time_sh2.c
parente110c4fe44edc34addee4839a1d20c0fbb076ad4 (diff)
Timer: Remove reset_timer() for non-Nios2 arches
Diffstat (limited to 'arch/sh/lib/time_sh2.c')
-rw-r--r--arch/sh/lib/time_sh2.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/sh/lib/time_sh2.c b/arch/sh/lib/time_sh2.c
index a5c838bff0..58271186e2 100644
--- a/arch/sh/lib/time_sh2.c
+++ b/arch/sh/lib/time_sh2.c
@@ -90,14 +90,6 @@ ulong get_timer(ulong base)
return (get_usec() / 1000) - base;
}
-void reset_timer(void)
-{
- cmt_timer_stop(0);
- writew(CMT_TIMER_RESET, CMCOR_0);
- cmt0_timer = 0;
- cmt_timer_start(0);
-}
-
void __udelay(unsigned long usec)
{
unsigned long end = get_usec() + usec;