]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
OMAP3 clock/SRAM: fix CORE DPLL M2 divider mask
authorPaul Walmsley <paul@pwsan.com>
Tue, 8 Jul 2008 02:55:11 +0000 (20:55 -0600)
committerTony Lindgren <tony@atomide.com>
Tue, 5 Aug 2008 12:12:09 +0000 (15:12 +0300)
3430ES2+ CORE DPLL M2 divider can divide by 1 to 31, unlike ES1, which
was more limited.  The SRAM code currently only supports dividing by 1
or 2, but we should mask off the full range of bits to guard against
the event that the previous contents of CM_CLKSEL_PLL1 included an M2
divider > 2.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/sram34xx.S

index 63db781908e12a8b5c6e7a393e241dadc1c25d30..1acdbe89a803e12234a6d7bffb7f281dee858a99 100644 (file)
@@ -173,7 +173,7 @@ omap3_sdrc_dlla_status:
 omap3_sdrc_dlla_ctrl:
        .word OMAP34XX_SDRC_REGADDR(SDRC_DLLA_CTRL)
 core_m2_mask_val:
-       .word 0xE7FFFFFF
+       .word 0x07FFFFFF
 
 ENTRY(omap3_sram_configure_core_dpll_sz)
        .word   . - omap3_sram_configure_core_dpll