forked from Minki/linux
36ddf31b68
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>
20 lines
508 B
Makefile
20 lines
508 B
Makefile
#
|
|
# Makefile for the Linux/SuperH SH-4 backends.
|
|
#
|
|
|
|
obj-y := ex.o probe.o
|
|
|
|
obj-$(CONFIG_SH_FPU) += fpu.o
|
|
obj-$(CONFIG_SH_STORE_QUEUES) += sq.o
|
|
|
|
# Primary on-chip clocks (common)
|
|
clock-$(CONFIG_CPU_SH4) := clock-sh4.o
|
|
clock-$(CONFIG_CPU_SUBTYPE_SH73180) := clock-sh73180.o
|
|
clock-$(CONFIG_CPU_SUBTYPE_SH7770) := clock-sh7770.o
|
|
clock-$(CONFIG_CPU_SUBTYPE_SH7780) := clock-sh7780.o
|
|
|
|
# Additional clocks by subtype
|
|
clock-$(CONFIG_CPU_SUBTYPE_SH4_202) += clock-sh4-202.o
|
|
|
|
obj-y += $(clock-y)
|