powerpc/mpc8xxx: Fix picos_to_mclk() and get_memory_clk_period_ps()
authorYork Sun <yorksun@freescale.com>
Fri, 26 Aug 2011 18:32:42 +0000 (11:32 -0700)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 30 Sep 2011 00:01:06 +0000 (19:01 -0500)
commit905acde21a3662e366db4489238cdf35b3b2bb52
treeded07170bdbe864284ce03e0a976a9006ed8cd74
parent639f330f5f1637ce9510289a867ccf5b098c5923
powerpc/mpc8xxx: Fix picos_to_mclk() and get_memory_clk_period_ps()

Reduce the calculation error to 1ps.

Signed-off-by: York Sun <yorksun@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/cpu/mpc8xxx/ddr/util.c