Makefile (404c3bc30cb1361e1b3533643326ab472d24a618) Makefile (1c213ba16ed8f48fc12dfec8a588d608ffef0904)
1#
2# Makefile for the linux kernel.
3#
4
5# Common support
6obj-y := id.o io.o control.o mux.o devices.o serial.o gpmc.o timer.o pm.o \
7 common.o gpio.o dma.o wd_timer.o display.o i2c.o hdq1w.o
8
9omap-2-3-common = irq.o sdrc.o
10hwmod-common = omap_hwmod.o \
11 omap_hwmod_common_data.o
12clock-common = clock.o clock_common_data.o \
13 clkt_dpll.o clkt_clksel.o
14secure-common = omap-smc.o omap-secure.o
15
16obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(hwmod-common)
17obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(hwmod-common) $(secure-common)
18obj-$(CONFIG_ARCH_OMAP4) += prm44xx.o $(hwmod-common) $(secure-common)
1#
2# Makefile for the linux kernel.
3#
4
5# Common support
6obj-y := id.o io.o control.o mux.o devices.o serial.o gpmc.o timer.o pm.o \
7 common.o gpio.o dma.o wd_timer.o display.o i2c.o hdq1w.o
8
9omap-2-3-common = irq.o sdrc.o
10hwmod-common = omap_hwmod.o \
11 omap_hwmod_common_data.o
12clock-common = clock.o clock_common_data.o \
13 clkt_dpll.o clkt_clksel.o
14secure-common = omap-smc.o omap-secure.o
15
16obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(hwmod-common)
17obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(hwmod-common) $(secure-common)
18obj-$(CONFIG_ARCH_OMAP4) += prm44xx.o $(hwmod-common) $(secure-common)
19obj-$(CONFIG_SOC_AM33XX) += irq.o $(hwmod-common)
19
20ifneq ($(CONFIG_SND_OMAP_SOC_MCBSP),)
21obj-y += mcbsp.o
22endif
23
24obj-$(CONFIG_TWL4030_CORE) += omap_twl.o
25
26# SMP support ONLY available for OMAP4

--- 58 unchanged lines hidden (view full) ---

85# PRCM
86obj-y += prm_common.o
87obj-$(CONFIG_ARCH_OMAP2) += prcm.o cm2xxx_3xxx.o prm2xxx_3xxx.o
88obj-$(CONFIG_ARCH_OMAP3) += prcm.o cm2xxx_3xxx.o prm2xxx_3xxx.o
89obj-$(CONFIG_ARCH_OMAP3) += vc3xxx_data.o vp3xxx_data.o
90obj-$(CONFIG_ARCH_OMAP4) += prcm.o cminst44xx.o cm44xx.o
91obj-$(CONFIG_ARCH_OMAP4) += prcm_mpu44xx.o prminst44xx.o
92obj-$(CONFIG_ARCH_OMAP4) += vc44xx_data.o vp44xx_data.o prm44xx.o
20
21ifneq ($(CONFIG_SND_OMAP_SOC_MCBSP),)
22obj-y += mcbsp.o
23endif
24
25obj-$(CONFIG_TWL4030_CORE) += omap_twl.o
26
27# SMP support ONLY available for OMAP4

--- 58 unchanged lines hidden (view full) ---

86# PRCM
87obj-y += prm_common.o
88obj-$(CONFIG_ARCH_OMAP2) += prcm.o cm2xxx_3xxx.o prm2xxx_3xxx.o
89obj-$(CONFIG_ARCH_OMAP3) += prcm.o cm2xxx_3xxx.o prm2xxx_3xxx.o
90obj-$(CONFIG_ARCH_OMAP3) += vc3xxx_data.o vp3xxx_data.o
91obj-$(CONFIG_ARCH_OMAP4) += prcm.o cminst44xx.o cm44xx.o
92obj-$(CONFIG_ARCH_OMAP4) += prcm_mpu44xx.o prminst44xx.o
93obj-$(CONFIG_ARCH_OMAP4) += vc44xx_data.o vp44xx_data.o prm44xx.o
94obj-$(CONFIG_SOC_AM33XX) += prcm.o prm33xx.o cm33xx.o
93
94# OMAP voltage domains
95voltagedomain-common := voltage.o vc.o vp.o
96obj-$(CONFIG_ARCH_OMAP2) += $(voltagedomain-common)
97obj-$(CONFIG_ARCH_OMAP2) += voltagedomains2xxx_data.o
98obj-$(CONFIG_ARCH_OMAP3) += $(voltagedomain-common)
99obj-$(CONFIG_ARCH_OMAP3) += voltagedomains3xxx_data.o
100obj-$(CONFIG_ARCH_OMAP4) += $(voltagedomain-common)
101obj-$(CONFIG_ARCH_OMAP4) += voltagedomains44xx_data.o
95
96# OMAP voltage domains
97voltagedomain-common := voltage.o vc.o vp.o
98obj-$(CONFIG_ARCH_OMAP2) += $(voltagedomain-common)
99obj-$(CONFIG_ARCH_OMAP2) += voltagedomains2xxx_data.o
100obj-$(CONFIG_ARCH_OMAP3) += $(voltagedomain-common)
101obj-$(CONFIG_ARCH_OMAP3) += voltagedomains3xxx_data.o
102obj-$(CONFIG_ARCH_OMAP4) += $(voltagedomain-common)
103obj-$(CONFIG_ARCH_OMAP4) += voltagedomains44xx_data.o
104obj-$(CONFIG_SOC_AM33XX) += $(voltagedomain-common)
105obj-$(CONFIG_SOC_AM33XX) += voltagedomains33xx_data.o
102
103# OMAP powerdomain framework
104powerdomain-common += powerdomain.o powerdomain-common.o
105obj-$(CONFIG_ARCH_OMAP2) += $(powerdomain-common)
106obj-$(CONFIG_ARCH_OMAP2) += powerdomains2xxx_data.o
107obj-$(CONFIG_ARCH_OMAP2) += powerdomain2xxx_3xxx.o
108obj-$(CONFIG_ARCH_OMAP2) += powerdomains2xxx_3xxx_data.o
109obj-$(CONFIG_ARCH_OMAP3) += $(powerdomain-common)
110obj-$(CONFIG_ARCH_OMAP3) += powerdomain2xxx_3xxx.o
111obj-$(CONFIG_ARCH_OMAP3) += powerdomains3xxx_data.o
112obj-$(CONFIG_ARCH_OMAP3) += powerdomains2xxx_3xxx_data.o
113obj-$(CONFIG_ARCH_OMAP4) += $(powerdomain-common)
114obj-$(CONFIG_ARCH_OMAP4) += powerdomain44xx.o
115obj-$(CONFIG_ARCH_OMAP4) += powerdomains44xx_data.o
106
107# OMAP powerdomain framework
108powerdomain-common += powerdomain.o powerdomain-common.o
109obj-$(CONFIG_ARCH_OMAP2) += $(powerdomain-common)
110obj-$(CONFIG_ARCH_OMAP2) += powerdomains2xxx_data.o
111obj-$(CONFIG_ARCH_OMAP2) += powerdomain2xxx_3xxx.o
112obj-$(CONFIG_ARCH_OMAP2) += powerdomains2xxx_3xxx_data.o
113obj-$(CONFIG_ARCH_OMAP3) += $(powerdomain-common)
114obj-$(CONFIG_ARCH_OMAP3) += powerdomain2xxx_3xxx.o
115obj-$(CONFIG_ARCH_OMAP3) += powerdomains3xxx_data.o
116obj-$(CONFIG_ARCH_OMAP3) += powerdomains2xxx_3xxx_data.o
117obj-$(CONFIG_ARCH_OMAP4) += $(powerdomain-common)
118obj-$(CONFIG_ARCH_OMAP4) += powerdomain44xx.o
119obj-$(CONFIG_ARCH_OMAP4) += powerdomains44xx_data.o
120obj-$(CONFIG_SOC_AM33XX) += $(powerdomain-common)
121obj-$(CONFIG_SOC_AM33XX) += powerdomain33xx.o
122obj-$(CONFIG_SOC_AM33XX) += powerdomains33xx_data.o
116
117# PRCM clockdomain control
118clockdomain-common += clockdomain.o
123
124# PRCM clockdomain control
125clockdomain-common += clockdomain.o
119clockdomain-common += clockdomains_common_data.o
120obj-$(CONFIG_ARCH_OMAP2) += $(clockdomain-common)
121obj-$(CONFIG_ARCH_OMAP2) += clockdomain2xxx_3xxx.o
122obj-$(CONFIG_ARCH_OMAP2) += clockdomains2xxx_3xxx_data.o
123obj-$(CONFIG_SOC_OMAP2420) += clockdomains2420_data.o
124obj-$(CONFIG_SOC_OMAP2430) += clockdomains2430_data.o
125obj-$(CONFIG_ARCH_OMAP3) += $(clockdomain-common)
126obj-$(CONFIG_ARCH_OMAP3) += clockdomain2xxx_3xxx.o
127obj-$(CONFIG_ARCH_OMAP3) += clockdomains2xxx_3xxx_data.o
128obj-$(CONFIG_ARCH_OMAP3) += clockdomains3xxx_data.o
129obj-$(CONFIG_ARCH_OMAP4) += $(clockdomain-common)
130obj-$(CONFIG_ARCH_OMAP4) += clockdomain44xx.o
131obj-$(CONFIG_ARCH_OMAP4) += clockdomains44xx_data.o
126obj-$(CONFIG_ARCH_OMAP2) += $(clockdomain-common)
127obj-$(CONFIG_ARCH_OMAP2) += clockdomain2xxx_3xxx.o
128obj-$(CONFIG_ARCH_OMAP2) += clockdomains2xxx_3xxx_data.o
129obj-$(CONFIG_SOC_OMAP2420) += clockdomains2420_data.o
130obj-$(CONFIG_SOC_OMAP2430) += clockdomains2430_data.o
131obj-$(CONFIG_ARCH_OMAP3) += $(clockdomain-common)
132obj-$(CONFIG_ARCH_OMAP3) += clockdomain2xxx_3xxx.o
133obj-$(CONFIG_ARCH_OMAP3) += clockdomains2xxx_3xxx_data.o
134obj-$(CONFIG_ARCH_OMAP3) += clockdomains3xxx_data.o
135obj-$(CONFIG_ARCH_OMAP4) += $(clockdomain-common)
136obj-$(CONFIG_ARCH_OMAP4) += clockdomain44xx.o
137obj-$(CONFIG_ARCH_OMAP4) += clockdomains44xx_data.o
138obj-$(CONFIG_SOC_AM33XX) += $(clockdomain-common)
139obj-$(CONFIG_SOC_AM33XX) += clockdomain33xx.o
140obj-$(CONFIG_SOC_AM33XX) += clockdomains33xx_data.o
132
133# Clock framework
134obj-$(CONFIG_ARCH_OMAP2) += $(clock-common) clock2xxx.o
135obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_sys.o
136obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_dpllcore.o
137obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_virt_prcm_set.o
138obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_apll.o clkt2xxx_osc.o
139obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_dpll.o clkt_iclk.o
140obj-$(CONFIG_SOC_OMAP2420) += clock2420_data.o
141obj-$(CONFIG_SOC_OMAP2430) += clock2430.o clock2430_data.o
142obj-$(CONFIG_ARCH_OMAP3) += $(clock-common) clock3xxx.o
143obj-$(CONFIG_ARCH_OMAP3) += clock34xx.o clkt34xx_dpll3m2.o
144obj-$(CONFIG_ARCH_OMAP3) += clock3517.o clock36xx.o
145obj-$(CONFIG_ARCH_OMAP3) += dpll3xxx.o clock3xxx_data.o
146obj-$(CONFIG_ARCH_OMAP3) += clkt_iclk.o
147obj-$(CONFIG_ARCH_OMAP4) += $(clock-common) clock44xx_data.o
148obj-$(CONFIG_ARCH_OMAP4) += dpll3xxx.o dpll44xx.o
141
142# Clock framework
143obj-$(CONFIG_ARCH_OMAP2) += $(clock-common) clock2xxx.o
144obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_sys.o
145obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_dpllcore.o
146obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_virt_prcm_set.o
147obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_apll.o clkt2xxx_osc.o
148obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_dpll.o clkt_iclk.o
149obj-$(CONFIG_SOC_OMAP2420) += clock2420_data.o
150obj-$(CONFIG_SOC_OMAP2430) += clock2430.o clock2430_data.o
151obj-$(CONFIG_ARCH_OMAP3) += $(clock-common) clock3xxx.o
152obj-$(CONFIG_ARCH_OMAP3) += clock34xx.o clkt34xx_dpll3m2.o
153obj-$(CONFIG_ARCH_OMAP3) += clock3517.o clock36xx.o
154obj-$(CONFIG_ARCH_OMAP3) += dpll3xxx.o clock3xxx_data.o
155obj-$(CONFIG_ARCH_OMAP3) += clkt_iclk.o
156obj-$(CONFIG_ARCH_OMAP4) += $(clock-common) clock44xx_data.o
157obj-$(CONFIG_ARCH_OMAP4) += dpll3xxx.o dpll44xx.o
158obj-$(CONFIG_SOC_AM33XX) += $(clock-common) dpll3xxx.o
149
150# OMAP2 clock rate set data (old "OPP" data)
151obj-$(CONFIG_SOC_OMAP2420) += opp2420_data.o
152obj-$(CONFIG_SOC_OMAP2430) += opp2430_data.o
153
154# hwmod data
155obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_ipblock_data.o
156obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_3xxx_ipblock_data.o

--- 82 unchanged lines hidden (view full) ---

239
240omap-flash-$(CONFIG_MTD_NAND_OMAP2) := board-flash.o
241omap-flash-$(CONFIG_MTD_ONENAND_OMAP2) := board-flash.o
242obj-y += $(omap-flash-y) $(omap-flash-m)
243
244omap-hsmmc-$(CONFIG_MMC_OMAP_HS) := hsmmc.o
245obj-y += $(omap-hsmmc-m) $(omap-hsmmc-y)
246
159
160# OMAP2 clock rate set data (old "OPP" data)
161obj-$(CONFIG_SOC_OMAP2420) += opp2420_data.o
162obj-$(CONFIG_SOC_OMAP2430) += opp2430_data.o
163
164# hwmod data
165obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_ipblock_data.o
166obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_3xxx_ipblock_data.o

--- 82 unchanged lines hidden (view full) ---

249
250omap-flash-$(CONFIG_MTD_NAND_OMAP2) := board-flash.o
251omap-flash-$(CONFIG_MTD_ONENAND_OMAP2) := board-flash.o
252obj-y += $(omap-flash-y) $(omap-flash-m)
253
254omap-hsmmc-$(CONFIG_MMC_OMAP_HS) := hsmmc.o
255obj-y += $(omap-hsmmc-m) $(omap-hsmmc-y)
256
247
248usbfs-$(CONFIG_ARCH_OMAP_OTG) := usb-fs.o
249obj-y += $(usbfs-m) $(usbfs-y)
250obj-y += usb-musb.o
251obj-y += omap_phy_internal.o
252
253obj-$(CONFIG_MACH_OMAP2_TUSB6010) += usb-tusb6010.o
254obj-y += usb-host.o
255
256onenand-$(CONFIG_MTD_ONENAND_OMAP2) := gpmc-onenand.o
257obj-y += $(onenand-m) $(onenand-y)

--- 17 unchanged lines hidden ---
257obj-y += usb-musb.o
258obj-y += omap_phy_internal.o
259
260obj-$(CONFIG_MACH_OMAP2_TUSB6010) += usb-tusb6010.o
261obj-y += usb-host.o
262
263onenand-$(CONFIG_MTD_ONENAND_OMAP2) := gpmc-onenand.o
264obj-y += $(onenand-m) $(onenand-y)

--- 17 unchanged lines hidden ---