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/arm/cpu/arm1136 | |
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/arm/cpu/arm1136')
-rw-r--r-- | arch/arm/cpu/arm1136/mx31/timer.c | 5 | ||||
-rw-r--r-- | arch/arm/cpu/arm1136/mx35/timer.c | 5 | ||||
-rw-r--r-- | arch/arm/cpu/arm1136/omap24xx/timer.c | 5 |
3 files changed, 0 insertions, 15 deletions
diff --git a/arch/arm/cpu/arm1136/mx31/timer.c b/arch/arm/cpu/arm1136/mx31/timer.c index d51acbb..eac4ffb 100644 --- a/arch/arm/cpu/arm1136/mx31/timer.c +++ b/arch/arm/cpu/arm1136/mx31/timer.c @@ -113,11 +113,6 @@ void reset_timer_masked (void) gd->tbl = 0; /* start "advancing" time stamp from 0 */ } -void reset_timer(void) -{ - reset_timer_masked(); -} - unsigned long long get_ticks (void) { ulong now = GPTCNT; /* current tick value */ diff --git a/arch/arm/cpu/arm1136/mx35/timer.c b/arch/arm/cpu/arm1136/mx35/timer.c index 6dfb63a..80c0675 100644 --- a/arch/arm/cpu/arm1136/mx35/timer.c +++ b/arch/arm/cpu/arm1136/mx35/timer.c @@ -73,11 +73,6 @@ inline ulong get_timer_masked(void) return val; } -void reset_timer(void) -{ - reset_timer_masked(); -} - ulong get_timer(ulong base) { ulong tmp; diff --git a/arch/arm/cpu/arm1136/omap24xx/timer.c b/arch/arm/cpu/arm1136/omap24xx/timer.c index d6267ba..6f1ebbf 100644 --- a/arch/arm/cpu/arm1136/omap24xx/timer.c +++ b/arch/arm/cpu/arm1136/omap24xx/timer.c @@ -57,11 +57,6 @@ int timer_init (void) /* * timer without interrupts */ -void reset_timer (void) -{ - reset_timer_masked (); -} - ulong get_timer (ulong base) { return get_timer_masked () - base; |