Re: [U-Boot] [PATCH] ppc: Increase precision of ticks2usec

2009-03-10 Thread Benoit Monin
> De : "Wolfgang Denk" > > Dear Benoit Monin, > > In message <9454366.19868.1236182927234.javamail@wwinf8202> you wrote: > > > > The tick of some PowerPC cpu is running at high frequency and > > it can be used to get microsecond precision from it. Make use > > of div64 to achieve this precis

Re: [U-Boot] [PATCH] ppc: Increase precision of ticks2usec

2009-03-08 Thread Wolfgang Denk
Dear Benoit Monin, In message <9454366.19868.1236182927234.javamail@wwinf8202> you wrote: > > The tick of some PowerPC cpu is running at high frequency and > it can be used to get microsecond precision from it. Make use > of div64 to achieve this precision in ticks2usec. Which problem are yo

[U-Boot] [PATCH] ppc: Increase precision of ticks2usec

2009-03-04 Thread Benoit Monin
The tick of some PowerPC cpu is running at high frequency and it can be used to get microsecond precision from it. Make use of div64 to achieve this precision in ticks2usec. Signed-off-by: BenoƮt Monin --- lib_ppc/time.c | 15 +-- 1 files changed, 5 insertions(+), 10 deletions(-)