mpc83xx: Use correct register to calculate clocks.
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
Thu, 27 Jan 2011 15:30:54 +0000 (16:30 +0100)
committerKim Phillips <kim.phillips@freescale.com>
Sat, 5 Feb 2011 23:06:57 +0000 (17:06 -0600)
commit26e5f794d3169080d89b57e64981a56e6a551da8
tree0fb27411a8858f9a46c329d8c6d9a1fb203ed6cf
parent10fa8d7c703b564bcbdaa2345442e30483c01f98
mpc83xx: Use correct register to calculate clocks.

Use SPMR instead of HRCWL when calculating clocks as HCRWL
may be changed and the CPU will not pick up all changes
until there is a POR. u-boot will think SPMF has changed and get
the clocks wrong.

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
arch/powerpc/cpu/mpc83xx/speed.c
include/mpc83xx.h