diff options
Diffstat (limited to 'arch/arm/mach-omap2/Makefile')
-rw-r--r-- | arch/arm/mach-omap2/Makefile | 48 |
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 |
6 | obj-y := id.o io.o control.o mux.o devices.o serial.o gpmc.o timer-gp.o pm.o \ | 6 | obj-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 | ||
9 | omap-2-3-common = irq.o sdrc.o prm2xxx_3xxx.o | 9 | omap-2-3-common = irq.o sdrc.o |
10 | hwmod-common = omap_hwmod.o \ | 10 | hwmod-common = omap_hwmod.o \ |
11 | omap_hwmod_common_data.o | 11 | omap_hwmod_common_data.o |
12 | prcm-common = prcm.o powerdomain.o | ||
13 | clock-common = clock.o clock_common_data.o \ | 12 | clock-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 | ||
17 | obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(prcm-common) $(hwmod-common) | 15 | obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(hwmod-common) |
18 | obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(prcm-common) $(hwmod-common) | 16 | obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(hwmod-common) |
19 | obj-$(CONFIG_ARCH_OMAP4) += $(prcm-common) prm44xx.o $(hwmod-common) | 17 | obj-$(CONFIG_ARCH_OMAP4) += prm44xx.o $(hwmod-common) |
20 | 18 | ||
21 | obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o | 19 | obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o |
22 | 20 | ||
@@ -74,10 +72,36 @@ endif | |||
74 | endif | 72 | endif |
75 | 73 | ||
76 | # PRCM | 74 | # PRCM |
77 | obj-$(CONFIG_ARCH_OMAP2) += cm.o | 75 | obj-$(CONFIG_ARCH_OMAP2) += prcm.o cm2xxx_3xxx.o prm2xxx_3xxx.o |
78 | obj-$(CONFIG_ARCH_OMAP3) += cm.o | 76 | obj-$(CONFIG_ARCH_OMAP3) += prcm.o cm2xxx_3xxx.o prm2xxx_3xxx.o |
79 | obj-$(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. | ||
80 | obj-$(CONFIG_ARCH_OMAP4) += prcm.o cm2xxx_3xxx.o cminst44xx.o \ | ||
81 | cm44xx.o prcm_mpu44xx.o \ | ||
82 | prminst44xx.o | ||
83 | |||
84 | # OMAP powerdomain framework | ||
85 | powerdomain-common += powerdomain.o powerdomain-common.o | ||
86 | obj-$(CONFIG_ARCH_OMAP2) += $(powerdomain-common) \ | ||
87 | powerdomain2xxx_3xxx.o \ | ||
88 | powerdomains2xxx_data.o \ | ||
89 | powerdomains2xxx_3xxx_data.o | ||
90 | obj-$(CONFIG_ARCH_OMAP3) += $(powerdomain-common) \ | ||
91 | powerdomain2xxx_3xxx.o \ | ||
92 | powerdomains3xxx_data.o \ | ||
93 | powerdomains2xxx_3xxx_data.o | ||
94 | obj-$(CONFIG_ARCH_OMAP4) += $(powerdomain-common) \ | ||
95 | powerdomain44xx.o \ | ||
96 | powerdomains44xx_data.o | ||
97 | |||
98 | # PRCM clockdomain control | ||
99 | obj-$(CONFIG_ARCH_OMAP2) += clockdomain.o \ | ||
100 | clockdomains2xxx_3xxx_data.o | ||
101 | obj-$(CONFIG_ARCH_OMAP3) += clockdomain.o \ | ||
102 | clockdomains2xxx_3xxx_data.o | ||
103 | obj-$(CONFIG_ARCH_OMAP4) += clockdomain.o \ | ||
104 | clockdomains44xx_data.o | ||
81 | # Clock framework | 105 | # Clock framework |
82 | obj-$(CONFIG_ARCH_OMAP2) += $(clock-common) clock2xxx.o \ | 106 | obj-$(CONFIG_ARCH_OMAP2) += $(clock-common) clock2xxx.o \ |
83 | clkt2xxx_sys.o \ | 107 | clkt2xxx_sys.o \ |