OSDN Git Service

ARM: OMAP3: clock: use clk_features flags for omap3 DPLL4 checks
authorTero Kristo <t-kristo@ti.com>
Fri, 3 Oct 2014 13:57:10 +0000 (16:57 +0300)
committerPaul Walmsley <paul@pwsan.com>
Thu, 13 Nov 2014 16:25:06 +0000 (09:25 -0700)
commitf0d2f68a6387867c4748bc94c9b0165a49701204
treecc53c00581f04a84b514ea5ce571b6b1a38c3a1d
parentf114040e3ea6e07372334ade75d1ee0775c355e1
ARM: OMAP3: clock: use clk_features flags for omap3 DPLL4 checks

DPLL4 can't be reprogrammed on OMAP3430 ES1.0 due to hardware limitation.
Currently, the code does runtime omap_rev() check to see the chip it is
being executed on, instead, change this to use clk_features flags.
This avoids need for runtime omap_rev() checks.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/clock.c
arch/arm/mach-omap2/clock.h
arch/arm/mach-omap2/clock3xxx.c