[U-Boot] [PATCH] net/net.c: add get_timer_ms()

Daniel Mack daniel at caiaq.de
Fri Dec 5 22:07:19 CET 2008


On Fri, Dec 05, 2008 at 10:01:44PM +0100, Wolfgang Denk wrote:
> > The timer implementation (at least the one for PXA processors) assumes
> > that the OSCR register increments 1000 times a second. Which it doesn't
> > for PXA3xx variants. Hence, all functions from cpu/pxa/interrupts.c will
> > behave entirely differently on a PXA270 compared to a PXA3xx, and so all
> > code using this functions will break.
> 
> So this is a bug, and needs to be fixed.

Ok. Do you want me to submit some "#ifdef MONAHANS" patch for the pxa
ge_timer() function or is anyone working on major reworks for this
anyway?

Best regards,
Daniel



More information about the U-Boot mailing list