diff options
author | Graeme Russ <graeme.russ@gmail.com> | 2011-07-15 02:18:12 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-07-26 12:52:17 (GMT) |
commit | 5c8404aff16c2a207a11e1af5843e1009bf9fb01 (patch) | |
tree | 65d07a585508bf1dab4ddabf2768e44fb43d6f1f /arch/arm/cpu/arm1176 | |
parent | dcac25a05e2bdf35be1e13c432d238007d1c3b9f (diff) | |
download | u-boot-5c8404aff16c2a207a11e1af5843e1009bf9fb01.tar.xz |
Timer: Remove set_timer completely
Diffstat (limited to 'arch/arm/cpu/arm1176')
-rw-r--r-- | arch/arm/cpu/arm1176/s3c64xx/timer.c | 5 | ||||
-rw-r--r-- | arch/arm/cpu/arm1176/tnetv107x/timer.c | 5 |
2 files changed, 0 insertions, 10 deletions
diff --git a/arch/arm/cpu/arm1176/s3c64xx/timer.c b/arch/arm/cpu/arm1176/s3c64xx/timer.c index 9768319..8e54060 100644 --- a/arch/arm/cpu/arm1176/s3c64xx/timer.c +++ b/arch/arm/cpu/arm1176/s3c64xx/timer.c @@ -159,11 +159,6 @@ ulong get_timer(ulong base) return get_timer_masked() - base; } -void set_timer(ulong t) -{ - timestamp = t * (timer_load_val / (100 * CONFIG_SYS_HZ)); -} - void __udelay(unsigned long usec) { unsigned long long tmp; diff --git a/arch/arm/cpu/arm1176/tnetv107x/timer.c b/arch/arm/cpu/arm1176/tnetv107x/timer.c index a7a400d..c27375c 100644 --- a/arch/arm/cpu/arm1176/tnetv107x/timer.c +++ b/arch/arm/cpu/arm1176/tnetv107x/timer.c @@ -88,11 +88,6 @@ ulong get_timer(ulong base) return (get_timer_raw() / (TIMER_LOAD_VAL / TIM_CLK_DIV)) - base; } -void set_timer(ulong t) -{ - timestamp = t; -} - unsigned long long get_ticks(void) { return get_timer(0); |