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.
Adjusted from previous version to rebase onto current Linus tree.
Signed-off-by: Jon Smirl
On Fri, Aug 07, 2009 at 03:19:36PM -0400, 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.
Signed-off-by: Jon Smirl
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.
Signed-off-by: Jon Smirl jonsm...@gmail.com
---
arch/powerpc/include/asm/mpc52xx.h