diff options
author | Paul Walmsley <paul@pwsan.com> | 2010-01-26 22:13:08 -0500 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2010-01-28 20:13:49 -0500 |
commit | 44da0a51032f3d90a441bd80c2efe68532104980 (patch) | |
tree | 25f119597684c1d7ce2a2525d6f3c3c2c0fc4053 /arch/arm/mach-omap2/Makefile | |
parent | 87a1b26c2d31dce62758b78c077ff5a1b5a52ab8 (diff) |
OMAP2xxx clock: move sys_clk code into mach-omap2/clkt2xxx_sys.c
Move the sys_clk clock functions from clock2xxx.c to
mach-omap2/clkt2xxx_sys.c. This is intended to make the clock code
easier to understand, since all of the functions needed to manage the
sys_clk are now located in their own file, rather than being mixed
with other, unrelated functions.
Clock debugging is also now more finely-grained, since the DEBUG
macro can now be defined for the sys_clk clock alone. This
should reduce unnecessary console noise when debugging.
Also, if at some future point the mach-omap2/ directory is split into
OMAP2/3/4 variants, this clkt file can be placed in the mach-omap2xxx/
directory, rather than shared with other chip types that don't use
this clock type.
Thanks to Alexander Shishkin <virtuoso@slind.org> for his comments to
improve the patch description.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Alexander Shishkin <virtuoso@slind.org>
Diffstat (limited to 'arch/arm/mach-omap2/Makefile')
-rw-r--r-- | arch/arm/mach-omap2/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile index 51178bff698c..7ce5fea7f2bc 100644 --- a/arch/arm/mach-omap2/Makefile +++ b/arch/arm/mach-omap2/Makefile | |||
@@ -13,7 +13,8 @@ clock-common = clock.o clock_common_data.o \ | |||
13 | clkt_clksel.o | 13 | clkt_clksel.o |
14 | clock-omap2xxx = clkt2xxx_dpllcore.o \ | 14 | clock-omap2xxx = clkt2xxx_dpllcore.o \ |
15 | clkt2xxx_virt_prcm_set.o \ | 15 | clkt2xxx_virt_prcm_set.o \ |
16 | clkt2xxx_apll.o clkt2xxx_osc.o | 16 | clkt2xxx_apll.o clkt2xxx_osc.o \ |
17 | clkt2xxx_sys.o | ||
17 | 18 | ||
18 | obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(prcm-common) $(clock-common) \ | 19 | obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(prcm-common) $(clock-common) \ |
19 | $(clock-omap2xxx) | 20 | $(clock-omap2xxx) |