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/arm920t | |
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/arm920t')
-rw-r--r-- | arch/arm/cpu/arm920t/a320/timer.c | 6 | ||||
-rw-r--r-- | arch/arm/cpu/arm920t/at91/timer.c | 6 | ||||
-rw-r--r-- | arch/arm/cpu/arm920t/at91rm9200/timer.c | 6 | ||||
-rw-r--r-- | arch/arm/cpu/arm920t/ep93xx/timer.c | 5 | ||||
-rw-r--r-- | arch/arm/cpu/arm920t/imx/timer.c | 6 | ||||
-rw-r--r-- | arch/arm/cpu/arm920t/ks8695/timer.c | 7 | ||||
-rw-r--r-- | arch/arm/cpu/arm920t/s3c24x0/timer.c | 6 |
7 files changed, 1 insertions, 41 deletions
diff --git a/arch/arm/cpu/arm920t/a320/timer.c b/arch/arm/cpu/arm920t/a320/timer.c index b9c83c0..443d31d 100644 --- a/arch/arm/cpu/arm920t/a320/timer.c +++ b/arch/arm/cpu/arm920t/a320/timer.c @@ -81,12 +81,6 @@ void reset_timer_masked(void) debug("%s(): lastdec = %lx\n", __func__, lastdec); } -void reset_timer(void) -{ - debug("%s()\n", __func__); - reset_timer_masked(); -} - /* * return timer ticks */ diff --git a/arch/arm/cpu/arm920t/at91/timer.c b/arch/arm/cpu/arm920t/at91/timer.c index a69de57..374cc25 100644 --- a/arch/arm/cpu/arm920t/at91/timer.c +++ b/arch/arm/cpu/arm920t/at91/timer.c @@ -72,12 +72,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; diff --git a/arch/arm/cpu/arm920t/at91rm9200/timer.c b/arch/arm/cpu/arm920t/at91rm9200/timer.c index 0bcb775..9a1ae85 100644 --- a/arch/arm/cpu/arm920t/at91rm9200/timer.c +++ b/arch/arm/cpu/arm920t/at91rm9200/timer.c @@ -71,12 +71,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; diff --git a/arch/arm/cpu/arm920t/ep93xx/timer.c b/arch/arm/cpu/arm920t/ep93xx/timer.c index 4a0ce4d..f19ec61 100644 --- a/arch/arm/cpu/arm920t/ep93xx/timer.c +++ b/arch/arm/cpu/arm920t/ep93xx/timer.c @@ -97,11 +97,6 @@ void reset_timer_masked(void) timer.ticks = 0; } -void reset_timer(void) -{ - reset_timer_masked(); -} - void __udelay(unsigned long usec) { unsigned long long target; diff --git a/arch/arm/cpu/arm920t/imx/timer.c b/arch/arm/cpu/arm920t/imx/timer.c index ff85a41..cdb2148 100644 --- a/arch/arm/cpu/arm920t/imx/timer.c +++ b/arch/arm/cpu/arm920t/imx/timer.c @@ -51,12 +51,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; diff --git a/arch/arm/cpu/arm920t/ks8695/timer.c b/arch/arm/cpu/arm920t/ks8695/timer.c index 8e14109..c78fd90 100644 --- a/arch/arm/cpu/arm920t/ks8695/timer.c +++ b/arch/arm/cpu/arm920t/ks8695/timer.c @@ -33,7 +33,7 @@ ulong timer_ticks; int timer_init (void) { - reset_timer(); + reset_timer_masked(); return 0; } @@ -55,11 +55,6 @@ void reset_timer_masked(void) timer_ticks = 0; } -void reset_timer(void) -{ - reset_timer_masked(); -} - ulong get_timer_masked(void) { /* Check for timer wrap */ diff --git a/arch/arm/cpu/arm920t/s3c24x0/timer.c b/arch/arm/cpu/arm920t/s3c24x0/timer.c index bba06d5..9c71b80 100644 --- a/arch/arm/cpu/arm920t/s3c24x0/timer.c +++ b/arch/arm/cpu/arm920t/s3c24x0/timer.c @@ -83,12 +83,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; |