aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/Makefile')
-rw-r--r--arch/arm/mach-omap2/Makefile48
1 files changed, 36 insertions, 12 deletions
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile
index 1b699d3c6cb8..1fce382a90a9 100644
--- a/arch/arm/mach-omap2/Makefile
+++ b/arch/arm/mach-omap2/Makefile
@@ -4,19 +4,17 @@
4 4
5# Common support 5# Common support
6obj-y := id.o io.o control.o mux.o devices.o serial.o gpmc.o timer-gp.o pm.o \ 6obj-y := id.o io.o control.o mux.o devices.o serial.o gpmc.o timer-gp.o pm.o \
7 common.o gpio.o dma.o 7 common.o gpio.o dma.o wd_timer.o
8 8
9omap-2-3-common = irq.o sdrc.o prm2xxx_3xxx.o 9omap-2-3-common = irq.o sdrc.o
10hwmod-common = omap_hwmod.o \ 10hwmod-common = omap_hwmod.o \
11 omap_hwmod_common_data.o 11 omap_hwmod_common_data.o
12prcm-common = prcm.o powerdomain.o
13clock-common = clock.o clock_common_data.o \ 12clock-common = clock.o clock_common_data.o \
14 clockdomain.o clkt_dpll.o \ 13 clkt_dpll.o clkt_clksel.o
15 clkt_clksel.o
16 14
17obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(prcm-common) $(hwmod-common) 15obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(hwmod-common)
18obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(prcm-common) $(hwmod-common) 16obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(hwmod-common)
19obj-$(CONFIG_ARCH_OMAP4) += $(prcm-common) prm44xx.o $(hwmod-common) 17obj-$(CONFIG_ARCH_OMAP4) += prm44xx.o $(hwmod-common)
20 18
21obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o 19obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o
22 20
@@ -74,10 +72,36 @@ endif
74endif 72endif
75 73
76# PRCM 74# PRCM
77obj-$(CONFIG_ARCH_OMAP2) += cm.o 75obj-$(CONFIG_ARCH_OMAP2) += prcm.o cm2xxx_3xxx.o prm2xxx_3xxx.o
78obj-$(CONFIG_ARCH_OMAP3) += cm.o 76obj-$(CONFIG_ARCH_OMAP3) += prcm.o cm2xxx_3xxx.o prm2xxx_3xxx.o
79obj-$(CONFIG_ARCH_OMAP4) += cm4xxx.o 77# XXX The presence of cm2xxx_3xxx.o on the line below is temporary and
80 78# will be removed once the OMAP4 part of the codebase is converted to
79# use OMAP4-specific PRCM functions.
80obj-$(CONFIG_ARCH_OMAP4) += prcm.o cm2xxx_3xxx.o cminst44xx.o \
81 cm44xx.o prcm_mpu44xx.o \
82 prminst44xx.o
83
84# OMAP powerdomain framework
85powerdomain-common += powerdomain.o powerdomain-common.o
86obj-$(CONFIG_ARCH_OMAP2) += $(powerdomain-common) \
87 powerdomain2xxx_3xxx.o \
88 powerdomains2xxx_data.o \
89 powerdomains2xxx_3xxx_data.o
90obj-$(CONFIG_ARCH_OMAP3) += $(powerdomain-common) \
91 powerdomain2xxx_3xxx.o \
92 powerdomains3xxx_data.o \
93 powerdomains2xxx_3xxx_data.o
94obj-$(CONFIG_ARCH_OMAP4) += $(powerdomain-common) \
95 powerdomain44xx.o \
96 powerdomains44xx_data.o
97
98# PRCM clockdomain control
99obj-$(CONFIG_ARCH_OMAP2) += clockdomain.o \
100 clockdomains2xxx_3xxx_data.o
101obj-$(CONFIG_ARCH_OMAP3) += clockdomain.o \
102 clockdomains2xxx_3xxx_data.o
103obj-$(CONFIG_ARCH_OMAP4) += clockdomain.o \
104 clockdomains44xx_data.o
81# Clock framework 105# Clock framework
82obj-$(CONFIG_ARCH_OMAP2) += $(clock-common) clock2xxx.o \ 106obj-$(CONFIG_ARCH_OMAP2) += $(clock-common) clock2xxx.o \
83 clkt2xxx_sys.o \ 107 clkt2xxx_sys.o \