diff options
author | Paul Mundt <lethal@linux-sh.org> | 2006-01-16 22:14:17 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-16 23:15:28 -0800 |
commit | 36ddf31b689a8c11d424e43565d2aa440b77bbf4 (patch) | |
tree | 8cc1e98a496811126c41a9ec31f894c64bae13df /arch/sh/kernel/cpu/sh3/Makefile | |
parent | b66c1a3919abb40f9bd8fb92a0d9fd77eb899c54 (diff) | |
download | op-kernel-dev-36ddf31b689a8c11d424e43565d2aa440b77bbf4.zip op-kernel-dev-36ddf31b689a8c11d424e43565d2aa440b77bbf4.tar.gz |
[PATCH] sh: Simplistic clock framework
This adds a relatively simplistic clock framework for sh. The initial goal
behind this is to clean up the arch/sh/kernel/time.c mess and to get the CPU
subtype-specific frequency setting and calculation code moved somewhere more
sensible.
This only deals with the core clocks at the moment, though it's trivial for
other drivers to define their own clocks as desired.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Cc: john stultz <johnstul@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/sh/kernel/cpu/sh3/Makefile')
-rw-r--r-- | arch/sh/kernel/cpu/sh3/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/sh3/Makefile b/arch/sh/kernel/cpu/sh3/Makefile index a64532e..b54dbb9 100644 --- a/arch/sh/kernel/cpu/sh3/Makefile +++ b/arch/sh/kernel/cpu/sh3/Makefile @@ -4,3 +4,10 @@ obj-y := ex.o probe.o +clock-$(CONFIG_CPU_SH3) := clock-sh3.o +clock-$(CONFIG_CPU_SUBTYPE_SH7300) := clock-sh7300.o +clock-$(CONFIG_CPU_SUBTYPE_SH7705) := clock-sh7705.o +clock-$(CONFIG_CPU_SUBTYPE_SH7709) := clock-sh7709.o + +obj-y += $(clock-y) + |