Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 175613
b: refs/heads/master
c: 75d4334
h: refs/heads/master
i:
  175611: eed24d9
v: v3
  • Loading branch information
Paul Walmsley authored and paul committed Dec 11, 2009
1 parent c65aaca commit a760b27
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 55d8a65308a5099155683c5a9bba3b8577988111
refs/heads/master: 75d43340113e3822e390f644e8b197737e4c553e
5 changes: 4 additions & 1 deletion trunk/arch/arm/mach-omap2/clock24xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -751,13 +751,16 @@ int __init omap2_clk_init(void)
struct prcm_config *prcm;
struct omap_clk *c;
u32 clkrate;
u16 cpu_clkflg;

if (cpu_is_omap242x()) {
prcm_clksrc_ctrl = OMAP2420_PRCM_CLKSRC_CTRL;
cpu_mask = RATE_IN_242X;
cpu_clkflg = CK_242X;
} else if (cpu_is_omap2430()) {
prcm_clksrc_ctrl = OMAP2430_PRCM_CLKSRC_CTRL;
cpu_mask = RATE_IN_243X;
cpu_clkflg = CK_243X;
}

clk_init(&omap2_clk_functions);
Expand All @@ -771,7 +774,7 @@ int __init omap2_clk_init(void)
propagate_rate(&sys_ck);

for (c = omap24xx_clks; c < omap24xx_clks + ARRAY_SIZE(omap24xx_clks); c++)
if (c->cpu & cpu_mask) {
if (c->cpu & cpu_clkflg) {
clkdev_add(&c->lk);
clk_register(c->lk.clk);
omap2_init_clk_clkdm(c->lk.clk);
Expand Down

0 comments on commit a760b27

Please sign in to comment.