aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/Makefile
diff options
context:
space:
mode:
authorPaul Walmsley <paul@pwsan.com>2010-02-23 00:09:20 -0500
committerPaul Walmsley <paul@pwsan.com>2010-02-24 14:16:15 -0500
commit657ebfadc19c5a14f709dee1645082828330d5d4 (patch)
tree26d615ae6e76437e0852b8d7fc060a070786f369 /arch/arm/mach-omap2/Makefile
parentb92c170d019db7554db95380d2e1dfb3a368e350 (diff)
OMAP3/4 clock: split into per-chip family files
clock34xx_data.c now contains data for the OMAP34xx family, the OMAP36xx family, and the OMAP3517 family, so rename it to clock3xxx_data.c. Rename clock34xx.c to clock3xxx.c, and move the chip family-specific clock functions to clock34xx.c, clock36xx.c, or clock3517.c, as appropriate. So now "clock3xxx.*" refers to the OMAP3 superset. The main goal here is to prepare to compile chip family-specific clock functions only for kernel builds that target that chip family. To get to that point, we also need to add CONFIG_SOC_* options for those other chip families; that will be done in future patches, planned for 2.6.35. OMAP4 is also affected by this. It duplicated the OMAP3 non-CORE DPLL clkops structure. The OMAP4 variant of this clkops structure has been removed, and since there was nothing else currently in clock44xx.c, it too has been removed -- it can always be added back later when there is some content for it. (The OMAP4 clock autogeneration scripts have been updated accordingly.) Signed-off-by: Paul Walmsley <paul@pwsan.com> Cc: BenoƮt Cousson <b-cousson@ti.com> Cc: Rajendra Nayak <rnayak@ti.com> Cc: Ranjith Lohithakshan <ranjithl@ti.com> Cc: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/Makefile')
-rw-r--r--arch/arm/mach-omap2/Makefile36
1 files changed, 19 insertions, 17 deletions
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile
index 3ebd0b6525df..5f10d32f1184 100644
--- a/arch/arm/mach-omap2/Makefile
+++ b/arch/arm/mach-omap2/Makefile
@@ -7,22 +7,14 @@ obj-y := id.o io.o control.o mux.o devices.o serial.o gpmc.o timer-gp.o
7 7
8omap-2-3-common = irq.o sdrc.o omap_hwmod.o \ 8omap-2-3-common = irq.o sdrc.o omap_hwmod.o \
9 omap_hwmod_common_data.o 9 omap_hwmod_common_data.o
10omap-3-4-common = dpll3xxx.o
11prcm-common = prcm.o powerdomain.o 10prcm-common = prcm.o powerdomain.o
12clock-common = clock.o clock_common_data.o \ 11clock-common = clock.o clock_common_data.o \
13 clockdomain.o clkt_dpll.o \ 12 clockdomain.o clkt_dpll.o \
14 clkt_clksel.o 13 clkt_clksel.o
15clock-omap2xxx = clkt2xxx_dpllcore.o \ 14
16 clkt2xxx_virt_prcm_set.o \ 15obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(prcm-common)
17 clkt2xxx_apll.o clkt2xxx_osc.o \ 16obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(prcm-common)
18 clkt2xxx_sys.o 17obj-$(CONFIG_ARCH_OMAP4) += $(prcm-common)
19clock-omap3xxx = clkt34xx_dpll3m2.o
20
21obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(prcm-common) $(clock-common) \
22 $(clock-omap2xxx)
23obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(prcm-common) $(clock-common) \
24 $(omap-3-4-common) $(clock-omap3xxx)
25obj-$(CONFIG_ARCH_OMAP4) += $(omap-3-4-common) $(prcm-common) $(clock-common)
26 18
27obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o 19obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o
28 20
@@ -64,14 +56,24 @@ obj-$(CONFIG_ARCH_OMAP3) += cm.o
64obj-$(CONFIG_ARCH_OMAP4) += cm4xxx.o 56obj-$(CONFIG_ARCH_OMAP4) += cm4xxx.o
65 57
66# Clock framework 58# Clock framework
67obj-$(CONFIG_ARCH_OMAP2) += clock2xxx.o clock2xxx_data.o 59obj-$(CONFIG_ARCH_OMAP2) += $(clock-common) clock2xxx.o \
60 clock2xxx_data.o clkt2xxx_sys.o \
61 clkt2xxx_dpllcore.o \
62 clkt2xxx_virt_prcm_set.o \
63 clkt2xxx_apll.o clkt2xxx_osc.o
64obj-$(CONFIG_ARCH_OMAP3) += $(clock-common) clock3xxx.o \
65 clock34xx.o clkt34xx_dpll3m2.o \
66 clock3517.o clock36xx.o \
67 dpll3xxx.o clock3xxx_data.o
68obj-$(CONFIG_ARCH_OMAP4) += $(clock-common) clock44xx_data.o \
69 dpll3xxx.o
70
71# OMAP2 clock rate set data (old "OPP" data)
68obj-$(CONFIG_ARCH_OMAP2420) += opp2420_data.o 72obj-$(CONFIG_ARCH_OMAP2420) += opp2420_data.o
69obj-$(CONFIG_ARCH_OMAP3) += clock34xx.o clock34xx_data.o
70obj-$(CONFIG_ARCH_OMAP2430) += opp2430_data.o 73obj-$(CONFIG_ARCH_OMAP2430) += opp2430_data.o
71obj-$(CONFIG_ARCH_OMAP4) += clock44xx.o clock44xx_data.o
72 74
73# EMU peripherals 75# EMU peripherals
74obj-$(CONFIG_OMAP3_EMU) += emu.o 76obj-$(CONFIG_OMAP3_EMU) += emu.o
75 77
76obj-$(CONFIG_OMAP_MBOX_FWK) += mailbox_mach.o 78obj-$(CONFIG_OMAP_MBOX_FWK) += mailbox_mach.o
77mailbox_mach-objs := mailbox.o 79mailbox_mach-objs := mailbox.o
@@ -127,7 +129,7 @@ obj-$(CONFIG_MACH_OMAP3_TOUCHBOOK) += board-omap3touchbook.o \
127 hsmmc.o 129 hsmmc.o
128obj-$(CONFIG_MACH_OMAP_4430SDP) += board-4430sdp.o 130obj-$(CONFIG_MACH_OMAP_4430SDP) += board-4430sdp.o
129 131
130obj-$(CONFIG_MACH_OMAP3517EVM) += board-am3517evm.o 132obj-$(CONFIG_MACH_OMAP3517EVM) += board-am3517evm.o
131 133
132# Platform specific device init code 134# Platform specific device init code
133obj-y += usb-musb.o 135obj-y += usb-musb.o