sh: clkfwk: Make clock-cpg usable for non-legacy platforms.
commit36aa1e32f451b664adaf3fc9a77d8279b7a833b2
authorPaul Mundt <lethal@linux-sh.org>
Fri, 22 May 2009 05:00:34 +0000 (22 14:00 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 22 May 2009 05:00:34 +0000 (22 14:00 +0900)
treef33555992b09fcd0aa97debfa1d5d2b4b8694283
parent7fc1e5c15fde0fa9d2c08441f6898a9e51593d47
sh: clkfwk: Make clock-cpg usable for non-legacy platforms.

This adds a new SH_CLK_CPG for parts that have CPG support.
SH_CLK_CPG_LEGACY is made to depend on this, and still needs to be set
for platforms that want clock-cpg to register the legacy clocks. With
this new config item in place, it is now possible to start layering more
generic CPG code in place while other platforms transition off of the
legacy clocks.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/Kconfig
arch/sh/kernel/cpu/Makefile
arch/sh/kernel/cpu/clock-cpg.c