From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Wozniak Date: Tue, 04 Jan 2005 12:31:58 -0500 Subject: [U-Boot-Users] PPC440 interval timer off by factor of 10? Message-ID: <41DAD30E.1010404@mc.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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.