diff options
author | Paul Walmsley <paul@pwsan.com> | 2009-06-19 21:08:27 -0400 |
---|---|---|
committer | paul <paul@twilight.(none)> | 2009-06-19 21:09:31 -0400 |
commit | d0ba3922ae241a87d22a1c3ffad72b96fe993c9a (patch) | |
tree | 3f23d60fbbf2ffceef44b01c8579db7be7d20025 /arch/arm/mach-omap2/clock34xx.c | |
parent | c9812d042a21eb492a36cfabf9f41107f5ecee3d (diff) |
OMAP3 clock/SDRC: program SDRC_MR register during SDRC clock change
Program the SDRC_MR_0 register as well during SDRC clock changes.
This register allows selection of the memory CAS latency. Some SDRAM
chips, such as the Qimonda HYB18M512160AF6, have a lower CAS latency
at lower clock rates.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/clock34xx.c')
-rw-r--r-- | arch/arm/mach-omap2/clock34xx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/clock34xx.c b/arch/arm/mach-omap2/clock34xx.c index 4bfa650bb34..cf41ab55fa9 100644 --- a/arch/arm/mach-omap2/clock34xx.c +++ b/arch/arm/mach-omap2/clock34xx.c | |||
@@ -771,9 +771,9 @@ static int omap3_core_dpll_m2_set_rate(struct clk *clk, unsigned long rate) | |||
771 | /* REVISIT: SRAM code doesn't support other M2 divisors yet */ | 771 | /* REVISIT: SRAM code doesn't support other M2 divisors yet */ |
772 | WARN_ON(new_div != 1 && new_div != 2); | 772 | WARN_ON(new_div != 1 && new_div != 2); |
773 | 773 | ||
774 | /* REVISIT: Add SDRC_MR changing to this code also */ | ||
775 | omap3_configure_core_dpll(sp->rfr_ctrl, sp->actim_ctrla, | 774 | omap3_configure_core_dpll(sp->rfr_ctrl, sp->actim_ctrla, |
776 | sp->actim_ctrlb, new_div, unlock_dll, c); | 775 | sp->actim_ctrlb, new_div, unlock_dll, c, |
776 | sp->mr); | ||
777 | 777 | ||
778 | return 0; | 778 | return 0; |
779 | } | 779 | } |