Re: Timers on mpc8248 etc...

2007-11-29 Thread Vitaly Bordug
On Wed, 28 Nov 2007 21:06:36 -0700 Alan Bennett wrote: It comes from uboot. Can you point me in the right direction to make sure its right? PowerPC,[EMAIL PROTECTED] { device_type = cpu; reg = 0;

Re: Timers on mpc8248 etc...

2007-11-29 Thread Alan Bennett
My uboot is new-ish, but I don't have the fdt commands? U-Boot 1.3.0 g992742a5-dirty u-boot:clock configuration === MPC8248 Clock Configuration - Bus-to-Core Mult 3.5x, VCO Div 2, 60x Bus Freq 30-85 , Core Freq 100-300 - dfbrg 1, corecnf 0x1e, busdf 3, cpmdf 1, plldf

Timers on mpc8248 etc...

2007-11-28 Thread Alan Bennett
I've got a routine that needs to delay for X microseconds, this is a must. The command after schedule_timeout must has to wait for the HW to complete a task that takes X microseconds. I would think that one way to do this is with a simple schedule_timeout. But in the example below, the time

Re: Timers on mpc8248 etc...

2007-11-28 Thread Scott Wood
Alan Bennett wrote: I've got a routine that needs to delay for X microseconds, this is a must. The command after schedule_timeout must has to wait for the HW to complete a task that takes X microseconds. I would think that one way to do this is with a simple schedule_timeout. But in the

Re: Timers on mpc8248 etc...

2007-11-28 Thread Alan Bennett
It comes from uboot. Can you point me in the right direction to make sure its right? PowerPC,[EMAIL PROTECTED] { device_type = cpu; reg = 0; d-cache-line-size = d#32; i-cache-line-size =