]> git.dujemihanovic.xyz Git - u-boot.git/commit
ppc/p4080: Fix synchronous frequency calculations
authorSrikanth Srinivasan <srikanth.srinivasan@freescale.com>
Wed, 10 Feb 2010 09:32:43 +0000 (17:32 +0800)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 27 Apr 2010 03:37:51 +0000 (22:37 -0500)
commitab48ca1a661b9ab8e3fee9fe2df65432b09ed073
tree6ba670c47296df3430c06dd3f80482e808bc0325
parent1749c3da8d8445cdf78d70120a803e3e9553113c
ppc/p4080: Fix synchronous frequency calculations

When DDR is in synchronous mode, the existing code assigns sysclk
frequency to DDR frequency.  It should be synchronous with the platform
frequency.  CPU frequency is based on platform frequency in synchronous
mode.

Also fix:

* Fixes the bit mask for DDR_SYNC (RCWSR5[184])
* Corrects the detection of synchronous mode.

Signed-off-by: Srikanth Srinivasan <srikanth.srinivasan@freescale.com>
Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/cpu/mpc85xx/cpu.c
arch/powerpc/cpu/mpc85xx/speed.c
arch/powerpc/include/asm/immap_85xx.h