aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/clock34xx_data.c
diff options
context:
space:
mode:
authorPaul Walmsley <paul@pwsan.com>2010-01-26 22:12:56 -0500
committerPaul Walmsley <paul@pwsan.com>2010-01-26 22:12:56 -0500
commit2c8a177eba6762ca828738c92efcdaed02d198bc (patch)
treefd5b484b1ec7b1cbf9d4b49726635002b662a5d3 /arch/arm/mach-omap2/clock34xx_data.c
parent05842a32c7df9ad016cb55c66c9edb46aee1240b (diff)
OMAP3 clock: reorganize CK_* platform flags
Add CK_* flags for the two new Sitara chips, AM3505 and AM3517, and the OMAP34xx die shrink, OMAP36xx/OMAP37xx. Introduce a new CK_* flag, CK_3XXX, that marks all clocks that are common to OMAP3 family chips. CK_343X now refers to clocks that are available only on OMAP34{1,2,3,4}0 (WTBU) and OMAP35{03,15,25,30} (any version). At some point, the RATE_IN_* flags should be updated also. While here, add some documentation describing the chip families covered by these clock flags. This patch is partially based on patches from Ranjith Lohithakshan <ranjithl@ti.com> and Vishwanath Sripathy <vishwanath.bs@ti.com>. Signed-off-by: Paul Walmsley <paul@pwsan.com> Cc: Ranjith Lohithakshan <ranjithl@ti.com> Cc: Vishwanath Sripathy <vishwanath.bs@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/clock34xx_data.c')
-rw-r--r--arch/arm/mach-omap2/clock34xx_data.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/clock34xx_data.c b/arch/arm/mach-omap2/clock34xx_data.c
index 74930e3158e3..ea8a0fa0088c 100644
--- a/arch/arm/mach-omap2/clock34xx_data.c
+++ b/arch/arm/mach-omap2/clock34xx_data.c
@@ -3216,11 +3216,11 @@ int __init omap2_clk_init(void)
3216 /* struct prcm_config *prcm; */ 3216 /* struct prcm_config *prcm; */
3217 struct omap_clk *c; 3217 struct omap_clk *c;
3218 /* u32 clkrate; */ 3218 /* u32 clkrate; */
3219 u32 cpu_clkflg; 3219 u32 cpu_clkflg = CK_3XXX;
3220 3220
3221 if (cpu_is_omap34xx()) { 3221 if (cpu_is_omap34xx()) {
3222 cpu_mask = RATE_IN_343X; 3222 cpu_mask = RATE_IN_343X;
3223 cpu_clkflg = CK_343X; 3223 cpu_clkflg |= CK_343X;
3224 3224
3225 /* 3225 /*
3226 * Update this if there are further clock changes between ES2 3226 * Update this if there are further clock changes between ES2