diff options
author | Greg Watson <jarrah@users.sourceforge.net> | 2003-11-09 23:04:18 +0000 |
---|---|---|
committer | Greg Watson <jarrah@users.sourceforge.net> | 2003-11-09 23:04:18 +0000 |
commit | 86a17433e3b0447bf75e4cca87e337e1d2e49ac5 (patch) | |
tree | 85d8f667328c748d688ed673434942d99b55d35c /src | |
parent | c8ee08a9bb7f3498ea1547991f314e990eb5463f (diff) |
ticks_since_boot needed for sandpoint
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1268 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/ppc/lib/timer.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/arch/ppc/lib/timer.c b/src/arch/ppc/lib/timer.c index dee891af57..8b485b8d51 100644 --- a/src/arch/ppc/lib/timer.c +++ b/src/arch/ppc/lib/timer.c @@ -10,22 +10,12 @@ unsigned long get_hz(void) return get_clock_speed(); } -#if 0 unsigned long ticks_since_boot(void) { extern unsigned long _get_ticks(void); return _get_ticks(); } -void sleep_ticks(unsigned long ticks) -{ - unsigned long now = ticks_since_boot(); - unsigned long then = ticks + now; - while(now < then) - now = ticks_since_boot(); -} -#endif - void udelay(int usecs) { extern void _wait_ticks(unsigned long); |