On Tue, Apr 22, 2003 at 04:00:39PM -0700, Pete Popov wrote: > On Tue, 2003-04-22 at 15:56, Jun Sun wrote: > > I think this is a good example to show benefit of code sharing. > > There is no good reason for au1x00 boards of not using new time.c. > > You get to write less board code, fewer bugs and future proof. > > The I didn't use the generic time.c back then is power management. Oh, I see. My ignorance ... :) > The > CP0 counter sleeps when using the 'wait' instruction, so in that case > you have to use a different counter with a rather poor resolution. The > modifications I had to make were such that they couldn't go in the > generic time.c. But that area definitely needs to be revisited and > cleaned up. > Yeah, there might be something interesting to do here. Jun