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/mips/cpu/mips32 | |
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/mips/cpu/mips32')
-rw-r--r-- | arch/mips/cpu/mips32/time.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/mips/cpu/mips32/time.c b/arch/mips/cpu/mips32/time.c index 0e66441..b0a9c1f 100644 --- a/arch/mips/cpu/mips32/time.c +++ b/arch/mips/cpu/mips32/time.c @@ -64,12 +64,6 @@ ulong get_timer(ulong base) return (timestamp - base); } -void set_timer(ulong t) -{ - timestamp = t; - write_c0_compare(read_c0_count() + CYCLES_PER_JIFFY); -} - void __udelay(unsigned long usec) { unsigned int tmo; |