]> git.baikalelectronics.ru Git - kernel.git/commit
sh: Only provide a PCLK definition for legacy CPG CPUs.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 29 Dec 2009 02:09:30 +0000 (11:09 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 29 Dec 2009 02:09:30 +0000 (11:09 +0900)
commit0bacb60749f34f6fa6a669701b4361cf74d6e9a3
treeb3f96ca4af09a1ddc8cd9fa5a6cd17f183ab7e6e
parent1bed234ad63b32b7153b32f25670f986d996fe15
sh: Only provide a PCLK definition for legacy CPG CPUs.

As CPUs are migrated over to more fully-featured clock frameworks of
their own and off of the legacy CPG code, they no longer have any real
need for defining the PCLK value. The PCLK define in itself is already
fairly misleading, as many boards get their input clocks from different
sources, making this value fairly arbitrary anyways.

Outside of the legacy CPG clock framework, the only place where this
value is used is for deriving CLOCK_TICK_RATE, which we set back to the
legacy PIT value that it was before the PCLK definitions were added in
the first place.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/Kconfig
arch/sh/include/asm/timex.h