ARM: OMAP2+: clock/dpll: convert bypass check to use clk_features

OMAP2 DPLL code for checking whether DPLL is in bypass mode now uses
clk_features data provided during boot. This avoids the need to use
cpu_is_X type checks runtime, and allows us to eventually move the
clock code under the clock driver.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Reviewed-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
This commit is contained in:
Tero Kristo
2014-07-02 11:47:42 +03:00
committed by Paul Walmsley
parent 5f84aeb6a1
commit 512d91cbd9
3 changed files with 31 additions and 12 deletions

View File

@@ -232,6 +232,7 @@ struct ti_clk_features {
long fint_max;
long fint_band1_max;
long fint_band2_min;
u8 dpll_bypass_vals;
};
extern struct ti_clk_features ti_clk_features;