
4 Jan
2005
4 Jan
'05
6:31 p.m.
Hello,
I'm porting the OCOTEA u-boot package to a customer PPC440 board. In the process of debugging (non-CFI) Flash timeout functions, it appears that get_timer() is returning a value which increments every 10msec instead of 1 msec:
Further code examinations shows that interrupt_init_cpu() is indeed setting up a 10msec interval.
#if defined(CONFIG_440) val = mfspr( tcr ); ... val = gd->bd->bi_intfreq/100; /* 10 msec */ ... Is this a real BUG? I can fix the flash related function which use the timer but what about all the other modules which use get_timer() - some are network related.
Thank you.