Skip to content
Snippets Groups Projects
Commit ab48ca1a authored by Srikanth Srinivasan's avatar Srikanth Srinivasan Committed by Kumar Gala
Browse files

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: default avatarSrikanth Srinivasan <srikanth.srinivasan@freescale.com>
Signed-off-by: default avatarDave Liu <daveliu@freescale.com>
Signed-off-by: default avatarEd Swarthout <Ed.Swarthout@freescale.com>
Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent 1749c3da
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment