Use clock freqency from the device tree to calculate correct MPC5200 PSC clock.
Previous code had errors or used a constant. This versions computes
the right clock based on the xtal and register settings.
---
arch/powerpc/include/asm/mpc52xx.h |2 +-
arch/powerpc/platforms/52xx/mpc52
On Fri, Aug 7, 2009 at 12:41 PM, Jon Smirl wrote:
> Use clock freqency from the device tree to calculate correct MPC5200 PSC
> clock.
> Previous code had errors or used a constant. This versions computes
> the right clock based on the xtal and register settings.
Looks good to me; one comment belo