diff options
author | Graeme Russ <graeme.russ@gmail.com> | 2011-07-15 02:19:44 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-07-26 14:53:30 +0200 |
commit | 4769be21cca65f1e7bef27bc024d886842bc6bad (patch) | |
tree | 47053c2ed79e6e43b1b6fd49b585fe53028ff6a5 /arch/sh/lib/time.c | |
parent | e110c4fe44edc34addee4839a1d20c0fbb076ad4 (diff) | |
download | u-boot-imx-4769be21cca65f1e7bef27bc024d886842bc6bad.zip u-boot-imx-4769be21cca65f1e7bef27bc024d886842bc6bad.tar.gz u-boot-imx-4769be21cca65f1e7bef27bc024d886842bc6bad.tar.bz2 |
Timer: Remove reset_timer() for non-Nios2 arches
Diffstat (limited to 'arch/sh/lib/time.c')
-rw-r--r-- | arch/sh/lib/time.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/sh/lib/time.c b/arch/sh/lib/time.c index c4bfc86..c70baed 100644 --- a/arch/sh/lib/time.c +++ b/arch/sh/lib/time.c @@ -139,13 +139,6 @@ unsigned long get_timer (unsigned long base) return tick_to_time(get_ticks()) - base; } -void reset_timer (void) -{ - tmu_timer_stop(0); - writel(0, TCNT0); - tmu_timer_start(0); -} - unsigned long get_tbclk (void) { return timer_freq; |