blob: fb38a9b24b0c9a96b3d20fa65af73b068bacb46b [file] [log] [blame]
Tony Lindgren1dbae812005-11-10 14:26:51 +00001#
2# Makefile for the linux kernel.
3#
4
5# Common support
Tony Lindgren0f622e82011-03-29 15:54:50 -07006obj-y := id.o io.o control.o mux.o devices.o serial.o gpmc.o timer.o pm.o \
Paul Walmsleyfcbde332012-09-11 19:09:13 -06007 common.o gpio.o dma.o wd_timer.o display.o i2c.o hdq1w.o omap_hwmod.o
Tony Lindgrend7607662009-05-25 11:26:47 -07008
Paul Walmsley445d12a2012-09-11 19:09:14 -06009# INTCPS IP block support - XXX should be moved to drivers/
10obj-$(CONFIG_ARCH_OMAP2) += irq.o
11obj-$(CONFIG_ARCH_OMAP3) += irq.o
12obj-$(CONFIG_SOC_AM33XX) += irq.o
13
14# Secure monitor API support
15obj-$(CONFIG_ARCH_OMAP3) += omap-smc.o omap-secure.o
16obj-$(CONFIG_ARCH_OMAP4) += omap-smc.o omap-secure.o
17obj-$(CONFIG_SOC_OMAP5) += omap-smc.o omap-secure.o
18
Peter Ujfalusi3ead4672012-03-09 10:23:27 +020019ifneq ($(CONFIG_SND_OMAP_SOC_MCBSP),)
20obj-y += mcbsp.o
21endif
Eduardo Valentin78673bc2008-07-03 12:24:40 +030022
Paul Walmsley032c1bb2012-09-11 19:09:13 -060023obj-$(CONFIG_TWL4030_CORE) += omap_twl.o
Thara Gopinathfbc319f2010-12-10 22:51:05 +053024
Santosh Shilimkar934f8be2009-04-28 20:52:05 +053025# SMP support ONLY available for OMAP4
Santosh Shilimkareb401552012-04-28 19:57:32 +053026
Santosh Shilimkar934f8be2009-04-28 20:52:05 +053027obj-$(CONFIG_SMP) += omap-smp.o omap-headsmp.o
Santosh Shilimkar7d35b8d2010-08-02 13:18:19 +030028obj-$(CONFIG_HOTPLUG_CPU) += omap-hotplug.o
Paul Walmsleyf992dca2012-09-11 19:09:14 -060029obj-$(CONFIG_ARCH_OMAP4) += omap4-common.o omap-wakeupgen.o
30obj-$(CONFIG_SOC_OMAP5) += omap4-common.o omap-wakeupgen.o
Santosh Shilimkard660f9a2010-03-11 07:33:46 +000031
John Rigbyfe297dd2010-12-01 05:57:51 +000032plus_sec := $(call as-instr,.arch_extension sec,+sec)
33AFLAGS_omap-headsmp.o :=-Wa,-march=armv7-a$(plus_sec)
Santosh Shilimkarba9456a2011-06-06 17:56:49 +053034AFLAGS_omap-smc.o :=-Wa,-march=armv7-a$(plus_sec)
Santosh Shilimkarb2b97622010-06-16 22:19:48 +053035AFLAGS_sleep44xx.o :=-Wa,-march=armv7-a$(plus_sec)
Santosh Shilimkar934f8be2009-04-28 20:52:05 +053036
Tony Lindgrenc2d43e32008-07-03 12:24:38 +030037# Functions loaded to SRAM
Tony Lindgren59b479e2011-01-27 16:39:40 -080038obj-$(CONFIG_SOC_OMAP2420) += sram242x.o
39obj-$(CONFIG_SOC_OMAP2430) += sram243x.o
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +030040obj-$(CONFIG_ARCH_OMAP3) += sram34xx.o
Tony Lindgrenc2d43e32008-07-03 12:24:38 +030041
Tony Lindgren56213ca2010-02-12 12:26:46 -080042AFLAGS_sram242x.o :=-Wa,-march=armv6
43AFLAGS_sram243x.o :=-Wa,-march=armv6
44AFLAGS_sram34xx.o :=-Wa,-march=armv7-a
45
Tony Lindgrenddaa9122009-12-11 16:16:32 -080046# Pin multiplexing
Tony Lindgren59b479e2011-01-27 16:39:40 -080047obj-$(CONFIG_SOC_OMAP2420) += mux2420.o
48obj-$(CONFIG_SOC_OMAP2430) += mux2430.o
Tony Lindgrenddaa9122009-12-11 16:16:32 -080049obj-$(CONFIG_ARCH_OMAP3) += mux34xx.o
Benoit Coussona041a522010-08-10 17:27:48 +020050obj-$(CONFIG_ARCH_OMAP4) += mux44xx.o
Tony Lindgrenddaa9122009-12-11 16:16:32 -080051
Paul Walmsleyf2ab9972009-01-28 12:27:37 -070052# SMS/SDRC
53obj-$(CONFIG_ARCH_OMAP2) += sdrc2xxx.o
54# obj-$(CONFIG_ARCH_OMAP3) += sdrc3xxx.o
Paul Walmsley445d12a2012-09-11 19:09:14 -060055obj-$(CONFIG_SOC_HAS_OMAP2_SDRC) += sdrc.o
Paul Walmsleyf2ab9972009-01-28 12:27:37 -070056
Nishanth Menonfd1478c2010-12-09 09:13:46 -060057# OPP table initialization
58ifeq ($(CONFIG_PM_OPP),y)
59obj-y += opp.o
60obj-$(CONFIG_ARCH_OMAP3) += opp3xxx_data.o
Nishanth Menonf5a64222010-12-09 09:13:47 -060061obj-$(CONFIG_ARCH_OMAP4) += opp4xxx_data.o
Nishanth Menonfd1478c2010-12-09 09:13:46 -060062endif
63
Tony Lindgren120db2c2006-04-02 17:46:27 +010064# Power Management
Tony Lindgren1835f1d2008-10-06 15:49:15 +030065ifeq ($(CONFIG_PM),y)
Paul Walmsleyf992dca2012-09-11 19:09:14 -060066obj-$(CONFIG_ARCH_OMAP2) += pm24xx.o sleep24xx.o
Santosh Shilimkareb401552012-04-28 19:57:32 +053067obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o
Santosh Shilimkareb401552012-04-28 19:57:32 +053068obj-$(CONFIG_ARCH_OMAP4) += pm44xx.o omap-mpuss-lowpower.o
Paul Walmsleyf992dca2012-09-11 19:09:14 -060069obj-$(CONFIG_ARCH_OMAP4) += sleep44xx.o
70obj-$(CONFIG_SOC_OMAP5) += omap-mpuss-lowpower.o sleep44xx.o
Kevin Hilman8bd22942009-05-28 10:56:16 -070071obj-$(CONFIG_PM_DEBUG) += pm-debug.o
Jean Pihet7fb149f2012-04-24 11:38:50 +053072
Jean Pihet21ff63a2012-04-25 16:43:17 +053073obj-$(CONFIG_POWER_AVS_OMAP) += sr_device.o
Paul Walmsley032c1bb2012-09-11 19:09:13 -060074obj-$(CONFIG_POWER_AVS_OMAP_CLASS3) += smartreflex-class3.o
Tony Lindgren56213ca2010-02-12 12:26:46 -080075
76AFLAGS_sleep24xx.o :=-Wa,-march=armv6
Oskar Andero6ba59322011-04-26 02:24:50 -070077AFLAGS_sleep34xx.o :=-Wa,-march=armv7-a$(plus_sec)
Tony Lindgren56213ca2010-02-12 12:26:46 -080078
Kevin Hilman57e6fe72009-11-05 19:06:01 -080079ifeq ($(CONFIG_PM_VERBOSE),y)
80CFLAGS_pm_bus.o += -DDEBUG
81endif
82
Tony Lindgren1835f1d2008-10-06 15:49:15 +030083endif
Tony Lindgren120db2c2006-04-02 17:46:27 +010084
Daniel Lezcano164e0cb2012-05-10 12:02:57 +020085ifeq ($(CONFIG_CPU_IDLE),y)
Paul Walmsley032c1bb2012-09-11 19:09:13 -060086obj-$(CONFIG_ARCH_OMAP3) += cpuidle34xx.o
87obj-$(CONFIG_ARCH_OMAP4) += cpuidle44xx.o
Daniel Lezcano164e0cb2012-05-10 12:02:57 +020088endif
89
Paul Walmsley71348bc2009-09-03 20:14:02 +030090# PRCM
Paul Walmsleydf47adb2012-09-11 19:09:15 -060091obj-y += prcm.o prm_common.o
92obj-$(CONFIG_ARCH_OMAP2) += cm2xxx_3xxx.o prm2xxx_3xxx.o
93obj-$(CONFIG_ARCH_OMAP3) += cm2xxx_3xxx.o prm2xxx_3xxx.o
94obj-$(CONFIG_ARCH_OMAP3) += vc3xxx_data.o vp3xxx_data.o
95obj-$(CONFIG_SOC_AM33XX) += prm33xx.o cm33xx.o
96omap-prcm-4-5-common = cminst44xx.o cm44xx.o prm44xx.o \
R Sricharan05e152c2012-06-05 16:21:32 +053097 prcm_mpu44xx.o prminst44xx.o \
Paul Walmsleyf992dca2012-09-11 19:09:14 -060098 vc44xx_data.o vp44xx_data.o \
99 prm44xx.o
Paul Walmsleydf47adb2012-09-11 19:09:15 -0600100obj-$(CONFIG_ARCH_OMAP4) += $(omap-prcm-4-5-common)
R Sricharan05e152c2012-06-05 16:21:32 +0530101obj-$(CONFIG_SOC_OMAP5) += $(omap-prcm-4-5-common)
Paul Walmsleyc0718df2011-03-10 22:17:45 -0700102
103# OMAP voltage domains
Paul Walmsleydf47adb2012-09-11 19:09:15 -0600104obj-y += voltage.o vc.o vp.o
Santosh Shilimkareb401552012-04-28 19:57:32 +0530105obj-$(CONFIG_ARCH_OMAP2) += voltagedomains2xxx_data.o
Santosh Shilimkareb401552012-04-28 19:57:32 +0530106obj-$(CONFIG_ARCH_OMAP3) += voltagedomains3xxx_data.o
Santosh Shilimkareb401552012-04-28 19:57:32 +0530107obj-$(CONFIG_ARCH_OMAP4) += voltagedomains44xx_data.o
Paul Walmsley032c1bb2012-09-11 19:09:13 -0600108obj-$(CONFIG_SOC_AM33XX) += voltagedomains33xx_data.o
Rajendra Nayak74bea6b2010-12-21 20:01:17 -0700109
110# OMAP powerdomain framework
Paul Walmsleydf47adb2012-09-11 19:09:15 -0600111obj-y += powerdomain.o powerdomain-common.o
Santosh Shilimkareb401552012-04-28 19:57:32 +0530112obj-$(CONFIG_ARCH_OMAP2) += powerdomains2xxx_data.o
113obj-$(CONFIG_ARCH_OMAP2) += powerdomain2xxx_3xxx.o
114obj-$(CONFIG_ARCH_OMAP2) += powerdomains2xxx_3xxx_data.o
Santosh Shilimkareb401552012-04-28 19:57:32 +0530115obj-$(CONFIG_ARCH_OMAP3) += powerdomain2xxx_3xxx.o
116obj-$(CONFIG_ARCH_OMAP3) += powerdomains3xxx_data.o
117obj-$(CONFIG_ARCH_OMAP3) += powerdomains2xxx_3xxx_data.o
Santosh Shilimkareb401552012-04-28 19:57:32 +0530118obj-$(CONFIG_ARCH_OMAP4) += powerdomain44xx.o
119obj-$(CONFIG_ARCH_OMAP4) += powerdomains44xx_data.o
Vaibhav Hiremath3f0ea762012-06-18 00:47:27 -0600120obj-$(CONFIG_SOC_AM33XX) += powerdomain33xx.o
121obj-$(CONFIG_SOC_AM33XX) += powerdomains33xx_data.o
R Sricharan05e152c2012-06-05 16:21:32 +0530122obj-$(CONFIG_SOC_OMAP5) += powerdomain44xx.o
Paul Walmsley71348bc2009-09-03 20:14:02 +0300123
Paul Walmsleydc0b3a72010-12-21 20:01:20 -0700124# PRCM clockdomain control
Paul Walmsleydf47adb2012-09-11 19:09:15 -0600125obj-y += clockdomain.o
Santosh Shilimkareb401552012-04-28 19:57:32 +0530126obj-$(CONFIG_ARCH_OMAP2) += clockdomain2xxx_3xxx.o
127obj-$(CONFIG_ARCH_OMAP2) += clockdomains2xxx_3xxx_data.o
Paul Walmsleya5ffef62011-09-14 16:01:21 -0600128obj-$(CONFIG_SOC_OMAP2420) += clockdomains2420_data.o
129obj-$(CONFIG_SOC_OMAP2430) += clockdomains2430_data.o
Santosh Shilimkareb401552012-04-28 19:57:32 +0530130obj-$(CONFIG_ARCH_OMAP3) += clockdomain2xxx_3xxx.o
131obj-$(CONFIG_ARCH_OMAP3) += clockdomains2xxx_3xxx_data.o
132obj-$(CONFIG_ARCH_OMAP3) += clockdomains3xxx_data.o
Santosh Shilimkareb401552012-04-28 19:57:32 +0530133obj-$(CONFIG_ARCH_OMAP4) += clockdomain44xx.o
134obj-$(CONFIG_ARCH_OMAP4) += clockdomains44xx_data.o
Vaibhav Hiremath9c80f3a2012-06-18 00:47:27 -0600135obj-$(CONFIG_SOC_AM33XX) += clockdomain33xx.o
136obj-$(CONFIG_SOC_AM33XX) += clockdomains33xx_data.o
R Sricharan05e152c2012-06-05 16:21:32 +0530137obj-$(CONFIG_SOC_OMAP5) += clockdomain44xx.o
Paul Walmsley530e5442011-02-25 15:39:28 -0700138
Paul Walmsley3d876e52008-03-18 14:41:40 +0200139# Clock framework
Paul Walmsley9afe4ee2012-09-11 19:09:14 -0600140obj-y += clock.o clock_common_data.o \
141 clkt_dpll.o clkt_clksel.o
142obj-$(CONFIG_ARCH_OMAP2) += clock2xxx.o
143obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_dpllcore.o clkt2xxx_sys.o
Santosh Shilimkareb401552012-04-28 19:57:32 +0530144obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_virt_prcm_set.o
145obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_apll.o clkt2xxx_osc.o
146obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_dpll.o clkt_iclk.o
Tony Lindgren59b479e2011-01-27 16:39:40 -0800147obj-$(CONFIG_SOC_OMAP2420) += clock2420_data.o
148obj-$(CONFIG_SOC_OMAP2430) += clock2430.o clock2430_data.o
Paul Walmsley9afe4ee2012-09-11 19:09:14 -0600149obj-$(CONFIG_ARCH_OMAP3) += clock3xxx.o
Santosh Shilimkareb401552012-04-28 19:57:32 +0530150obj-$(CONFIG_ARCH_OMAP3) += clock34xx.o clkt34xx_dpll3m2.o
Paul Walmsley9afe4ee2012-09-11 19:09:14 -0600151obj-$(CONFIG_ARCH_OMAP3) += clock3517.o clock36xx.o clkt_iclk.o
Santosh Shilimkareb401552012-04-28 19:57:32 +0530152obj-$(CONFIG_ARCH_OMAP3) += dpll3xxx.o clock3xxx_data.o
Paul Walmsley9afe4ee2012-09-11 19:09:14 -0600153obj-$(CONFIG_ARCH_OMAP4) += clock44xx_data.o
Santosh Shilimkareb401552012-04-28 19:57:32 +0530154obj-$(CONFIG_ARCH_OMAP4) += dpll3xxx.o dpll44xx.o
Paul Walmsley9afe4ee2012-09-11 19:09:14 -0600155obj-$(CONFIG_SOC_AM33XX) += dpll3xxx.o clock33xx_data.o
R Sricharan05e152c2012-06-05 16:21:32 +0530156obj-$(CONFIG_SOC_OMAP5) += dpll3xxx.o dpll44xx.o
Paul Walmsley657ebfa2010-02-22 22:09:20 -0700157
158# OMAP2 clock rate set data (old "OPP" data)
Tony Lindgren59b479e2011-01-27 16:39:40 -0800159obj-$(CONFIG_SOC_OMAP2420) += opp2420_data.o
160obj-$(CONFIG_SOC_OMAP2430) += opp2430_data.o
Paul Walmsley3d876e52008-03-18 14:41:40 +0200161
Paul Walmsley73591542010-02-22 22:09:32 -0700162# hwmod data
Paul Walmsleyfcbde332012-09-11 19:09:13 -0600163obj-y += omap_hwmod_common_data.o
Santosh Shilimkareb401552012-04-28 19:57:32 +0530164obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_ipblock_data.o
165obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_3xxx_ipblock_data.o
166obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_interconnect_data.o
167obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_3xxx_interconnect_data.o
168obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2420_data.o
169obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2xxx_ipblock_data.o
170obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2xxx_3xxx_ipblock_data.o
171obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2xxx_interconnect_data.o
172obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2xxx_3xxx_interconnect_data.o
173obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2430_data.o
174obj-$(CONFIG_ARCH_OMAP3) += omap_hwmod_2xxx_3xxx_ipblock_data.o
175obj-$(CONFIG_ARCH_OMAP3) += omap_hwmod_2xxx_3xxx_interconnect_data.o
176obj-$(CONFIG_ARCH_OMAP3) += omap_hwmod_3xxx_data.o
Vaibhav Hirematha2cfc502012-07-25 13:51:13 -0600177obj-$(CONFIG_SOC_AM33XX) += omap_hwmod_33xx_data.o
Benoit Cousson55d2cb02010-05-12 17:54:36 +0200178obj-$(CONFIG_ARCH_OMAP4) += omap_hwmod_44xx_data.o
Tony Lindgren1dbae812005-11-10 14:26:51 +0000179
Alexander Shishkin183bd502009-12-01 14:03:31 +0100180# EMU peripherals
Paul Walmsley657ebfa2010-02-22 22:09:20 -0700181obj-$(CONFIG_OMAP3_EMU) += emu.o
Jon Hunteree75d952012-09-23 17:28:29 -0600182obj-$(CONFIG_HW_PERF_EVENTS) += pmu.o
Alexander Shishkin183bd502009-12-01 14:03:31 +0100183
C A Subramaniam59fdc6e2009-11-22 10:11:17 -0800184obj-$(CONFIG_OMAP_MBOX_FWK) += mailbox_mach.o
185mailbox_mach-objs := mailbox.o
186
Hiroshi DOYU0bbc6fc2010-05-24 09:35:11 +0300187obj-$(CONFIG_OMAP_IOMMU) += iommu2.o
188
189iommu-$(CONFIG_OMAP_IOMMU) := omap-iommu.o
190obj-y += $(iommu-m) $(iommu-y)
Hiroshi DOYUcaf60772009-01-28 21:32:09 +0200191
Felipe Contreras90173882010-10-04 19:09:14 +0300192ifneq ($(CONFIG_TIDSPBRIDGE),)
193obj-y += dsp.o
194endif
195
Tony Lindgrenad1b6662012-05-08 17:23:33 -0600196# OMAP2420 MSDI controller integration support ("MMC")
197obj-$(CONFIG_SOC_OMAP2420) += msdi.o
198
Andy Grosse2fb5052012-05-23 15:08:10 -0500199ifneq ($(CONFIG_DRM_OMAP),)
200obj-y += drm.o
201endif
202
Tony Lindgren1dbae812005-11-10 14:26:51 +0000203# Specific board support
204obj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o
205obj-$(CONFIG_MACH_OMAP_H4) += board-h4.o
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700206obj-$(CONFIG_MACH_OMAP_2430SDP) += board-2430sdp.o
Tony Lindgren120db2c2006-04-02 17:46:27 +0100207obj-$(CONFIG_MACH_OMAP_APOLLON) += board-apollon.o
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700208obj-$(CONFIG_MACH_OMAP3_BEAGLE) += board-omap3beagle.o
Paul Walmsley032c1bb2012-09-11 19:09:13 -0600209obj-$(CONFIG_MACH_DEVKIT8000) += board-devkit8000.o
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700210obj-$(CONFIG_MACH_OMAP_LDP) += board-ldp.o
Paul Walmsley032c1bb2012-09-11 19:09:13 -0600211obj-$(CONFIG_MACH_OMAP3530_LV_SOM) += board-omap3logic.o
212obj-$(CONFIG_MACH_OMAP3_TORPEDO) += board-omap3logic.o
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700213obj-$(CONFIG_MACH_ENCORE) += board-omap3encore.o
214obj-$(CONFIG_MACH_OVERO) += board-overo.o
215obj-$(CONFIG_MACH_OMAP3EVM) += board-omap3evm.o
216obj-$(CONFIG_MACH_OMAP3_PANDORA) += board-omap3pandora.o
217obj-$(CONFIG_MACH_OMAP_3430SDP) += board-3430sdp.o
Kalle Valo63138812009-08-28 10:51:38 -0700218obj-$(CONFIG_MACH_NOKIA_N8X0) += board-n8x0.o
Santosh Shilimkareb401552012-04-28 19:57:32 +0530219obj-$(CONFIG_MACH_NOKIA_RM680) += board-rm680.o sdram-nokia.o
220obj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51.o sdram-nokia.o
221obj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51-peripherals.o
222obj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51-video.o
223obj-$(CONFIG_MACH_OMAP_ZOOM2) += board-zoom.o board-zoom-peripherals.o
224obj-$(CONFIG_MACH_OMAP_ZOOM2) += board-zoom-display.o
225obj-$(CONFIG_MACH_OMAP_ZOOM2) += board-zoom-debugboard.o
226obj-$(CONFIG_MACH_OMAP_ZOOM3) += board-zoom.o board-zoom-peripherals.o
227obj-$(CONFIG_MACH_OMAP_ZOOM3) += board-zoom-display.o
228obj-$(CONFIG_MACH_OMAP_ZOOM3) += board-zoom-debugboard.o
229obj-$(CONFIG_MACH_OMAP_3630SDP) += board-3630sdp.o
230obj-$(CONFIG_MACH_OMAP_3630SDP) += board-zoom-peripherals.o
231obj-$(CONFIG_MACH_OMAP_3630SDP) += board-zoom-display.o
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700232obj-$(CONFIG_MACH_CM_T35) += board-cm-t35.o
Igor Grinbergd04b6202010-09-21 16:03:09 +0000233obj-$(CONFIG_MACH_CM_T3517) += board-cm-t3517.o
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700234obj-$(CONFIG_MACH_IGEP0020) += board-igep0020.o
Radek Pilara17fb8f2012-08-17 18:03:43 +0200235obj-$(CONFIG_MACH_TOUCHBOOK) += board-omap3touchbook.o
Linus Torvalds95241452011-11-01 20:11:00 -0700236obj-$(CONFIG_MACH_OMAP_4430SDP) += board-4430sdp.o
237obj-$(CONFIG_MACH_OMAP4_PANDA) += board-omap4panda.o
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700238
Linus Torvalds95241452011-11-01 20:11:00 -0700239obj-$(CONFIG_MACH_PCM049) += board-omap4pcm049.o
Tony Lindgrenad19d8d2009-03-30 22:58:31 +0100240
Felipe Balbib3c3dc22011-07-10 12:22:20 +0300241obj-$(CONFIG_MACH_OMAP3517EVM) += board-am3517evm.o
Ranjith Lohithakshanc6253272009-11-18 18:41:09 -0800242
Srinath1cb125c2010-11-16 14:26:58 -0800243obj-$(CONFIG_MACH_CRANEBOARD) += board-am3517crane.o
244
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700245obj-$(CONFIG_MACH_SBC3530) += board-omap3stalker.o
Hemant Pedanekar2c87fb22011-02-15 23:06:08 +0530246obj-$(CONFIG_MACH_TI8168EVM) += board-ti8168evm.o
Hemant Pedanekara890b672011-12-13 10:48:55 -0800247obj-$(CONFIG_MACH_TI8148EVM) += board-ti8168evm.o
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700248
Felipe Balbi18cb7ac2009-03-23 18:34:06 -0700249# Platform specific device init code
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700250
251omap-flash-$(CONFIG_MTD_NAND_OMAP2) := board-flash.o
252omap-flash-$(CONFIG_MTD_ONENAND_OMAP2) := board-flash.o
253obj-y += $(omap-flash-y) $(omap-flash-m)
254
255omap-hsmmc-$(CONFIG_MMC_OMAP_HS) := hsmmc.o
256obj-y += $(omap-hsmmc-m) $(omap-hsmmc-y)
257
Felipe Balbi18cb7ac2009-03-23 18:34:06 -0700258obj-y += usb-musb.o
Felipe Balbib3c3dc22011-07-10 12:22:20 +0300259obj-y += omap_phy_internal.o
260
Kalle Valo1b52d5d2009-08-28 10:51:37 -0700261obj-$(CONFIG_MACH_OMAP2_TUSB6010) += usb-tusb6010.o
Felipe Balbia8480ea2011-03-01 20:08:15 +0530262obj-y += usb-host.o
Juha Yrjolaaa62e902009-05-28 13:23:52 -0700263
264onenand-$(CONFIG_MTD_ONENAND_OMAP2) := gpmc-onenand.o
265obj-y += $(onenand-m) $(onenand-y)
Tony Lindgren1a48e152009-05-28 13:23:52 -0700266
Vimal Singh2f70a1e2010-02-15 10:03:33 -0800267nand-$(CONFIG_MTD_NAND_OMAP2) := gpmc-nand.o
268obj-y += $(nand-m) $(nand-y)
269
Tony Lindgren1a48e152009-05-28 13:23:52 -0700270smc91x-$(CONFIG_SMC91X) := gpmc-smc91x.o
271obj-y += $(smc91x-m) $(smc91x-y)
Tim Nordellcdd280b2010-09-27 16:05:49 +0000272
273smsc911x-$(CONFIG_SMSC911X) := gpmc-smsc911x.o
274obj-y += $(smsc911x-m) $(smsc911x-y)
Ohad Ben-Cohenbe89cd92012-03-05 16:11:02 -0800275ifneq ($(CONFIG_HWSPINLOCK_OMAP),)
276obj-y += hwspinlock.o
277endif
Sumit Semwalb7ee79a2011-01-24 06:21:54 +0000278
Ilya Yanoka8195ba2012-03-05 11:08:36 -0800279emac-$(CONFIG_TI_DAVINCI_EMAC) := am35xx-emac.o
280obj-y += $(emac-m) $(emac-y)
281
Tomi Valkeinen0191bf32012-11-05 15:14:17 +0200282obj-y += common-board-devices.o twl-common.o dss-common.o