diff options
author | Graeme Russ <graeme.russ@gmail.com> | 2011-07-15 02:18:12 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-07-26 14:52:17 +0200 |
commit | 5c8404aff16c2a207a11e1af5843e1009bf9fb01 (patch) | |
tree | 65d07a585508bf1dab4ddabf2768e44fb43d6f1f /arch/arm/cpu/arm920t | |
parent | dcac25a05e2bdf35be1e13c432d238007d1c3b9f (diff) | |
download | u-boot-imx-5c8404aff16c2a207a11e1af5843e1009bf9fb01.zip u-boot-imx-5c8404aff16c2a207a11e1af5843e1009bf9fb01.tar.gz u-boot-imx-5c8404aff16c2a207a11e1af5843e1009bf9fb01.tar.bz2 |
Timer: Remove set_timer completely
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 | 5 | ||||
-rw-r--r-- | arch/arm/cpu/arm920t/at91rm9200/timer.c | 5 | ||||
-rw-r--r-- | arch/arm/cpu/arm920t/imx/timer.c | 5 | ||||
-rw-r--r-- | arch/arm/cpu/arm920t/ks8695/timer.c | 5 | ||||
-rw-r--r-- | arch/arm/cpu/arm920t/s3c24x0/timer.c | 5 |
6 files changed, 0 insertions, 31 deletions
diff --git a/arch/arm/cpu/arm920t/a320/timer.c b/arch/arm/cpu/arm920t/a320/timer.c index 95cb8fd..b9c83c0 100644 --- a/arch/arm/cpu/arm920t/a320/timer.c +++ b/arch/arm/cpu/arm920t/a320/timer.c @@ -132,12 +132,6 @@ ulong get_timer(ulong base) return get_timer_masked() - base; } -void set_timer(ulong t) -{ - debug("%s(%lx)\n", __func__, t); - timestamp = t; -} - /* delay x useconds AND preserve advance timestamp value */ void __udelay(unsigned long usec) { diff --git a/arch/arm/cpu/arm920t/at91/timer.c b/arch/arm/cpu/arm920t/at91/timer.c index f0ad7d6..a69de57 100644 --- a/arch/arm/cpu/arm920t/at91/timer.c +++ b/arch/arm/cpu/arm920t/at91/timer.c @@ -83,11 +83,6 @@ ulong get_timer(ulong base) return get_timer_masked() - base; } -void set_timer(ulong t) -{ - gd->tbl = t; -} - void __udelay(unsigned long usec) { udelay_masked(usec); diff --git a/arch/arm/cpu/arm920t/at91rm9200/timer.c b/arch/arm/cpu/arm920t/at91rm9200/timer.c index 9c54bbe..0bcb775 100644 --- a/arch/arm/cpu/arm920t/at91rm9200/timer.c +++ b/arch/arm/cpu/arm920t/at91rm9200/timer.c @@ -82,11 +82,6 @@ ulong get_timer (ulong base) return get_timer_masked () - base; } -void set_timer (ulong t) -{ - timestamp = t; -} - void __udelay (unsigned long usec) { udelay_masked(usec); diff --git a/arch/arm/cpu/arm920t/imx/timer.c b/arch/arm/cpu/arm920t/imx/timer.c index b06b518..ff85a41 100644 --- a/arch/arm/cpu/arm920t/imx/timer.c +++ b/arch/arm/cpu/arm920t/imx/timer.c @@ -62,11 +62,6 @@ ulong get_timer (ulong base) return get_timer_masked() - base; } -void set_timer (ulong t) -{ - /* nop */ -} - void reset_timer_masked (void) { TCTL1 &= ~TCTL_TEN; diff --git a/arch/arm/cpu/arm920t/ks8695/timer.c b/arch/arm/cpu/arm920t/ks8695/timer.c index 886e370..8e14109 100644 --- a/arch/arm/cpu/arm920t/ks8695/timer.c +++ b/arch/arm/cpu/arm920t/ks8695/timer.c @@ -76,11 +76,6 @@ ulong get_timer(ulong base) return (get_timer_masked() - base); } -void set_timer(ulong t) -{ - timer_ticks = t; -} - void __udelay(ulong usec) { ulong start = get_timer_masked(); diff --git a/arch/arm/cpu/arm920t/s3c24x0/timer.c b/arch/arm/cpu/arm920t/s3c24x0/timer.c index f17b7ea..bba06d5 100644 --- a/arch/arm/cpu/arm920t/s3c24x0/timer.c +++ b/arch/arm/cpu/arm920t/s3c24x0/timer.c @@ -94,11 +94,6 @@ ulong get_timer(ulong base) return get_timer_masked() - base; } -void set_timer(ulong t) -{ - timestamp = t; -} - void __udelay (unsigned long usec) { ulong tmo; |