]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit280ef31a00073b4092bb47814fcb0a1f1f27b2bd
tree94a5c50222e4988853df2965e5c0f5d690488dde
parent98122d7329e76d00dad25dc0324ec9475f128181
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