diff options
author | Janusz Krzysztofik <jkrzyszt@tis.icnet.pl> | 2011-12-08 21:01:41 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-12-08 21:02:23 -0500 |
commit | 24ce2705c2dd50e51f325c6e57dec378adc8c135 (patch) | |
tree | 9f0688dae115c48d87ea8cda615a64831fb3c80d /arch/arm/mach-omap1/clock.h | |
parent | ee62e93a3c135ae18f2fa18615ce065fe5487259 (diff) |
ARM: OMAP1: Move dpll1 rates selection from config to runtime
For still better multi-OMAP1 support, expand omap1_rate_table with flags
for different SoC types and match them while selecting clock rates. The
idea is stolen from current omap24xx clock rate selection algorithm.
Since clkdev platform flag definitions are reused here, those had to be
expanded with one extra entry for OMAP1710 subtype, as this is the only
SoC for which we allow selection of the highest, 216 MHz rate.
Once done, remove no longer needed clock rate configure time options.
Tested on Amstrad Delta.
Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
[tony@atomide.com: updated comments]
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap1/clock.h')
-rw-r--r-- | arch/arm/mach-omap1/clock.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-omap1/clock.h b/arch/arm/mach-omap1/clock.h index 16b1423b454a..3d04f4f67676 100644 --- a/arch/arm/mach-omap1/clock.h +++ b/arch/arm/mach-omap1/clock.h | |||
@@ -111,4 +111,7 @@ extern const struct clkops clkops_dummy; | |||
111 | extern const struct clkops clkops_uart_16xx; | 111 | extern const struct clkops clkops_uart_16xx; |
112 | extern const struct clkops clkops_generic; | 112 | extern const struct clkops clkops_generic; |
113 | 113 | ||
114 | /* used for passing SoC type to omap1_{select,round_to}_table_rate() */ | ||
115 | extern u32 cpu_mask; | ||
116 | |||
114 | #endif | 117 | #endif |