On 24/05/11 20:54, Graeme Russ wrote: > There is no need to use set_timer() and reset_timer() and there are build > breakages occuring because of them (specifically cfi_flash). Remove any > usage outside arch/ to fix build breakages and to prepare for complete > removal > > The Nios2 timer implentation updates every 10ms (increases in 10ms steps) > and required a reset_timer() call before timing operations. For Nios2, call > reset_timer() when get_timer() is called with a parameter value of 0
That's not going to work either - start = get_timer(0) will reset the timer and set start to zero so get_timer(start) will continually reset the timer and return zero :( Stay tuned for v3 :) Regards, Graeme _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot