]> git.baikalelectronics.ru Git - kernel.git/commit
m68knommu: modify clock code so it can be used by all ColdFire CPU types
authorGreg Ungerer <gerg@uclinux.org>
Fri, 13 Jul 2012 06:08:44 +0000 (16:08 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Wed, 5 Dec 2012 00:51:35 +0000 (10:51 +1000)
commit9a8593adb1701953b65fba54fc838880cd61db9c
tree94a5c50222e4988853df2965e5c0f5d690488dde
parent0cfee473d7094c3f48409eb92c8571b312524542
m68knommu: modify clock code so it can be used by all ColdFire CPU types

The existing clk.c code for ColdFire CPUs has one set of functions to
support those CPU types that have selectable clocks (those with a PPMCR
register), and a duplicate simpler set for those with static clocks.

Modify the clk.c code so there is just one set of support functions. All
CPU types now define a list of clocks (in "struct clk"s), so we only need
a single set of clock functions.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68k/platform/coldfire/clk.c