blob: f6a24b3f9c4f7b4dd3e381eb3ff7823444d99e70 [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 Walmsley9e1b7492012-05-08 11:34:27 -06007 common.o gpio.o dma.o wd_timer.o display.o i2c.o hdq1w.o
Tony Lindgrend7607662009-05-25 11:26:47 -07008
Vaibhav Hiremathecc46cf2012-07-05 08:05:15 -07009omap-2-3-common = irq.o
Paul Walmsley43b40992010-02-22 22:09:34 -070010hwmod-common = omap_hwmod.o \
Thara Gopinath358f0e62010-02-24 12:05:58 -070011 omap_hwmod_common_data.o
Paul Walmsley0b96af62010-01-26 20:13:03 -070012clock-common = clock.o clock_common_data.o \
Paul Walmsleydc0b3a72010-12-21 20:01:20 -070013 clkt_dpll.o clkt_clksel.o
Santosh Shilimkarfef67c52012-02-06 15:49:47 +053014secure-common = omap-smc.o omap-secure.o
Tony Lindgrend7607662009-05-25 11:26:47 -070015
Santosh Shilimkarfef67c52012-02-06 15:49:47 +053016obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(hwmod-common)
Santosh Shilimkarba9456a2011-06-06 17:56:49 +053017obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(hwmod-common) $(secure-common)
18obj-$(CONFIG_ARCH_OMAP4) += prm44xx.o $(hwmod-common) $(secure-common)
Vaibhav Hiremath1c213ba2012-07-05 08:05:15 -070019obj-$(CONFIG_SOC_AM33XX) += irq.o $(hwmod-common)
R Sricharan05e152c2012-06-05 16:21:32 +053020obj-$(CONFIG_SOC_OMAP5) += prm44xx.o $(hwmod-common) $(secure-common)
Tony Lindgren1dbae812005-11-10 14:26:51 +000021
Peter Ujfalusi3ead4672012-03-09 10:23:27 +020022ifneq ($(CONFIG_SND_OMAP_SOC_MCBSP),)
23obj-y += mcbsp.o
24endif
Eduardo Valentin78673bc2008-07-03 12:24:40 +030025
Thara Gopinathfbc319f2010-12-10 22:51:05 +053026obj-$(CONFIG_TWL4030_CORE) += omap_twl.o
Vaibhav Hiremathecc46cf2012-07-05 08:05:15 -070027obj-$(CONFIG_SOC_HAS_OMAP2_SDRC) += sdrc.o
Thara Gopinathfbc319f2010-12-10 22:51:05 +053028
Santosh Shilimkar934f8be2009-04-28 20:52:05 +053029# SMP support ONLY available for OMAP4
Santosh Shilimkareb401552012-04-28 19:57:32 +053030
Santosh Shilimkar934f8be2009-04-28 20:52:05 +053031obj-$(CONFIG_SMP) += omap-smp.o omap-headsmp.o
Santosh Shilimkar7d35b8d2010-08-02 13:18:19 +030032obj-$(CONFIG_HOTPLUG_CPU) += omap-hotplug.o
R Sricharan05e152c2012-06-05 16:21:32 +053033omap-4-5-common = omap4-common.o omap-wakeupgen.o \
34 sleep44xx.o
35obj-$(CONFIG_ARCH_OMAP4) += $(omap-4-5-common)
36obj-$(CONFIG_SOC_OMAP5) += $(omap-4-5-common)
Santosh Shilimkard660f9a2010-03-11 07:33:46 +000037
John Rigbyfe297dd2010-12-01 05:57:51 +000038plus_sec := $(call as-instr,.arch_extension sec,+sec)
39AFLAGS_omap-headsmp.o :=-Wa,-march=armv7-a$(plus_sec)
Santosh Shilimkarba9456a2011-06-06 17:56:49 +053040AFLAGS_omap-smc.o :=-Wa,-march=armv7-a$(plus_sec)
Santosh Shilimkarb2b97622010-06-16 22:19:48 +053041AFLAGS_sleep44xx.o :=-Wa,-march=armv7-a$(plus_sec)
Santosh Shilimkar934f8be2009-04-28 20:52:05 +053042
Tony Lindgrenc2d43e32008-07-03 12:24:38 +030043# Functions loaded to SRAM
Tony Lindgren59b479e2011-01-27 16:39:40 -080044obj-$(CONFIG_SOC_OMAP2420) += sram242x.o
45obj-$(CONFIG_SOC_OMAP2430) += sram243x.o
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +030046obj-$(CONFIG_ARCH_OMAP3) += sram34xx.o
Tony Lindgrenc2d43e32008-07-03 12:24:38 +030047
Tony Lindgren56213ca2010-02-12 12:26:46 -080048AFLAGS_sram242x.o :=-Wa,-march=armv6
49AFLAGS_sram243x.o :=-Wa,-march=armv6
50AFLAGS_sram34xx.o :=-Wa,-march=armv7-a
51
Tony Lindgrenddaa9122009-12-11 16:16:32 -080052# Pin multiplexing
Tony Lindgren59b479e2011-01-27 16:39:40 -080053obj-$(CONFIG_SOC_OMAP2420) += mux2420.o
54obj-$(CONFIG_SOC_OMAP2430) += mux2430.o
Tony Lindgrenddaa9122009-12-11 16:16:32 -080055obj-$(CONFIG_ARCH_OMAP3) += mux34xx.o
Benoit Coussona041a522010-08-10 17:27:48 +020056obj-$(CONFIG_ARCH_OMAP4) += mux44xx.o
Tony Lindgrenddaa9122009-12-11 16:16:32 -080057
Paul Walmsleyf2ab9972009-01-28 12:27:37 -070058# SMS/SDRC
59obj-$(CONFIG_ARCH_OMAP2) += sdrc2xxx.o
60# obj-$(CONFIG_ARCH_OMAP3) += sdrc3xxx.o
61
Nishanth Menonfd1478c2010-12-09 09:13:46 -060062# OPP table initialization
63ifeq ($(CONFIG_PM_OPP),y)
64obj-y += opp.o
65obj-$(CONFIG_ARCH_OMAP3) += opp3xxx_data.o
Nishanth Menonf5a64222010-12-09 09:13:47 -060066obj-$(CONFIG_ARCH_OMAP4) += opp4xxx_data.o
Nishanth Menonfd1478c2010-12-09 09:13:46 -060067endif
68
Tony Lindgren120db2c2006-04-02 17:46:27 +010069# Power Management
Tony Lindgren1835f1d2008-10-06 15:49:15 +030070ifeq ($(CONFIG_PM),y)
Kevin Hilman8bd22942009-05-28 10:56:16 -070071obj-$(CONFIG_ARCH_OMAP2) += pm24xx.o
Kevin Hilman638080c2011-04-29 00:36:42 +020072obj-$(CONFIG_ARCH_OMAP2) += sleep24xx.o
Santosh Shilimkareb401552012-04-28 19:57:32 +053073obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o
Santosh Shilimkareb401552012-04-28 19:57:32 +053074obj-$(CONFIG_ARCH_OMAP4) += pm44xx.o omap-mpuss-lowpower.o
R Sricharan05e152c2012-06-05 16:21:32 +053075obj-$(CONFIG_SOC_OMAP5) += omap-mpuss-lowpower.o
Kevin Hilman8bd22942009-05-28 10:56:16 -070076obj-$(CONFIG_PM_DEBUG) += pm-debug.o
Jean Pihet7fb149f2012-04-24 11:38:50 +053077
Jean Pihet21ff63a2012-04-25 16:43:17 +053078obj-$(CONFIG_POWER_AVS_OMAP) += sr_device.o
79obj-$(CONFIG_POWER_AVS_OMAP_CLASS3) += smartreflex-class3.o
Tony Lindgren56213ca2010-02-12 12:26:46 -080080
81AFLAGS_sleep24xx.o :=-Wa,-march=armv6
Oskar Andero6ba59322011-04-26 02:24:50 -070082AFLAGS_sleep34xx.o :=-Wa,-march=armv7-a$(plus_sec)
Tony Lindgren56213ca2010-02-12 12:26:46 -080083
Kevin Hilman57e6fe72009-11-05 19:06:01 -080084ifeq ($(CONFIG_PM_VERBOSE),y)
85CFLAGS_pm_bus.o += -DDEBUG
86endif
87
Tony Lindgren1835f1d2008-10-06 15:49:15 +030088endif
Tony Lindgren120db2c2006-04-02 17:46:27 +010089
Daniel Lezcano164e0cb2012-05-10 12:02:57 +020090ifeq ($(CONFIG_CPU_IDLE),y)
91obj-$(CONFIG_ARCH_OMAP3) += cpuidle34xx.o
92obj-$(CONFIG_ARCH_OMAP4) += cpuidle44xx.o
93endif
94
Paul Walmsley71348bc2009-09-03 20:14:02 +030095# PRCM
R Sricharan05e152c2012-06-05 16:21:32 +053096omap-prcm-4-5-common = prcm.o cminst44xx.o cm44xx.o \
97 prcm_mpu44xx.o prminst44xx.o \
98 vc44xx_data.o vp44xx_data.o
Tero Kristo0a84a912011-12-16 14:36:58 -070099obj-y += prm_common.o
Paul Walmsley59fb6592010-12-21 15:30:55 -0700100obj-$(CONFIG_ARCH_OMAP2) += prcm.o cm2xxx_3xxx.o prm2xxx_3xxx.o
Santosh Shilimkareb401552012-04-28 19:57:32 +0530101obj-$(CONFIG_ARCH_OMAP3) += prcm.o cm2xxx_3xxx.o prm2xxx_3xxx.o
102obj-$(CONFIG_ARCH_OMAP3) += vc3xxx_data.o vp3xxx_data.o
Vaibhav Hiremathf969a6d2012-06-18 00:47:26 -0600103obj-$(CONFIG_SOC_AM33XX) += prcm.o prm33xx.o cm33xx.o
R Sricharan05e152c2012-06-05 16:21:32 +0530104obj-$(CONFIG_ARCH_OMAP4) += $(omap-prcm-4-5-common) prm44xx.o
105obj-$(CONFIG_SOC_OMAP5) += $(omap-prcm-4-5-common)
Paul Walmsleyc0718df2011-03-10 22:17:45 -0700106
107# OMAP voltage domains
Kevin Hilman01f48d32011-03-21 14:29:13 -0700108voltagedomain-common := voltage.o vc.o vp.o
Santosh Shilimkareb401552012-04-28 19:57:32 +0530109obj-$(CONFIG_ARCH_OMAP2) += $(voltagedomain-common)
110obj-$(CONFIG_ARCH_OMAP2) += voltagedomains2xxx_data.o
111obj-$(CONFIG_ARCH_OMAP3) += $(voltagedomain-common)
112obj-$(CONFIG_ARCH_OMAP3) += voltagedomains3xxx_data.o
113obj-$(CONFIG_ARCH_OMAP4) += $(voltagedomain-common)
114obj-$(CONFIG_ARCH_OMAP4) += voltagedomains44xx_data.o
Vaibhav Hiremath1c213ba2012-07-05 08:05:15 -0700115obj-$(CONFIG_SOC_AM33XX) += $(voltagedomain-common)
Vaibhav Hiremathce3fc892012-06-18 00:47:26 -0600116obj-$(CONFIG_SOC_AM33XX) += voltagedomains33xx_data.o
R Sricharan05e152c2012-06-05 16:21:32 +0530117obj-$(CONFIG_SOC_OMAP5) += $(voltagedomain-common)
Rajendra Nayak74bea6b2010-12-21 20:01:17 -0700118
119# OMAP powerdomain framework
Paul Walmsley6e014782010-12-21 20:01:20 -0700120powerdomain-common += powerdomain.o powerdomain-common.o
Santosh Shilimkareb401552012-04-28 19:57:32 +0530121obj-$(CONFIG_ARCH_OMAP2) += $(powerdomain-common)
122obj-$(CONFIG_ARCH_OMAP2) += powerdomains2xxx_data.o
123obj-$(CONFIG_ARCH_OMAP2) += powerdomain2xxx_3xxx.o
124obj-$(CONFIG_ARCH_OMAP2) += powerdomains2xxx_3xxx_data.o
125obj-$(CONFIG_ARCH_OMAP3) += $(powerdomain-common)
126obj-$(CONFIG_ARCH_OMAP3) += powerdomain2xxx_3xxx.o
127obj-$(CONFIG_ARCH_OMAP3) += powerdomains3xxx_data.o
128obj-$(CONFIG_ARCH_OMAP3) += powerdomains2xxx_3xxx_data.o
129obj-$(CONFIG_ARCH_OMAP4) += $(powerdomain-common)
130obj-$(CONFIG_ARCH_OMAP4) += powerdomain44xx.o
131obj-$(CONFIG_ARCH_OMAP4) += powerdomains44xx_data.o
Vaibhav Hiremath1c213ba2012-07-05 08:05:15 -0700132obj-$(CONFIG_SOC_AM33XX) += $(powerdomain-common)
Vaibhav Hiremath3f0ea762012-06-18 00:47:27 -0600133obj-$(CONFIG_SOC_AM33XX) += powerdomain33xx.o
134obj-$(CONFIG_SOC_AM33XX) += powerdomains33xx_data.o
R Sricharan05e152c2012-06-05 16:21:32 +0530135obj-$(CONFIG_SOC_OMAP5) += $(powerdomain-common)
136obj-$(CONFIG_SOC_OMAP5) += powerdomain44xx.o
Paul Walmsley71348bc2009-09-03 20:14:02 +0300137
Paul Walmsleydc0b3a72010-12-21 20:01:20 -0700138# PRCM clockdomain control
Tony Lindgren640ec792012-05-10 09:39:05 -0700139clockdomain-common += clockdomain.o
Tony Lindgren640ec792012-05-10 09:39:05 -0700140obj-$(CONFIG_ARCH_OMAP2) += $(clockdomain-common)
Santosh Shilimkareb401552012-04-28 19:57:32 +0530141obj-$(CONFIG_ARCH_OMAP2) += clockdomain2xxx_3xxx.o
142obj-$(CONFIG_ARCH_OMAP2) += clockdomains2xxx_3xxx_data.o
Paul Walmsleya5ffef62011-09-14 16:01:21 -0600143obj-$(CONFIG_SOC_OMAP2420) += clockdomains2420_data.o
144obj-$(CONFIG_SOC_OMAP2430) += clockdomains2430_data.o
Tony Lindgren640ec792012-05-10 09:39:05 -0700145obj-$(CONFIG_ARCH_OMAP3) += $(clockdomain-common)
Santosh Shilimkareb401552012-04-28 19:57:32 +0530146obj-$(CONFIG_ARCH_OMAP3) += clockdomain2xxx_3xxx.o
147obj-$(CONFIG_ARCH_OMAP3) += clockdomains2xxx_3xxx_data.o
148obj-$(CONFIG_ARCH_OMAP3) += clockdomains3xxx_data.o
Tony Lindgren640ec792012-05-10 09:39:05 -0700149obj-$(CONFIG_ARCH_OMAP4) += $(clockdomain-common)
Santosh Shilimkareb401552012-04-28 19:57:32 +0530150obj-$(CONFIG_ARCH_OMAP4) += clockdomain44xx.o
151obj-$(CONFIG_ARCH_OMAP4) += clockdomains44xx_data.o
Vaibhav Hiremath1c213ba2012-07-05 08:05:15 -0700152obj-$(CONFIG_SOC_AM33XX) += $(clockdomain-common)
Vaibhav Hiremath9c80f3a2012-06-18 00:47:27 -0600153obj-$(CONFIG_SOC_AM33XX) += clockdomain33xx.o
154obj-$(CONFIG_SOC_AM33XX) += clockdomains33xx_data.o
R Sricharan05e152c2012-06-05 16:21:32 +0530155obj-$(CONFIG_SOC_OMAP5) += $(clockdomain-common)
156obj-$(CONFIG_SOC_OMAP5) += clockdomain44xx.o
Paul Walmsley530e5442011-02-25 15:39:28 -0700157
Paul Walmsley3d876e52008-03-18 14:41:40 +0200158# Clock framework
Santosh Shilimkareb401552012-04-28 19:57:32 +0530159obj-$(CONFIG_ARCH_OMAP2) += $(clock-common) clock2xxx.o
160obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_sys.o
161obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_dpllcore.o
162obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_virt_prcm_set.o
163obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_apll.o clkt2xxx_osc.o
164obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_dpll.o clkt_iclk.o
Tony Lindgren59b479e2011-01-27 16:39:40 -0800165obj-$(CONFIG_SOC_OMAP2420) += clock2420_data.o
166obj-$(CONFIG_SOC_OMAP2430) += clock2430.o clock2430_data.o
Santosh Shilimkareb401552012-04-28 19:57:32 +0530167obj-$(CONFIG_ARCH_OMAP3) += $(clock-common) clock3xxx.o
168obj-$(CONFIG_ARCH_OMAP3) += clock34xx.o clkt34xx_dpll3m2.o
169obj-$(CONFIG_ARCH_OMAP3) += clock3517.o clock36xx.o
170obj-$(CONFIG_ARCH_OMAP3) += dpll3xxx.o clock3xxx_data.o
171obj-$(CONFIG_ARCH_OMAP3) += clkt_iclk.o
172obj-$(CONFIG_ARCH_OMAP4) += $(clock-common) clock44xx_data.o
173obj-$(CONFIG_ARCH_OMAP4) += dpll3xxx.o dpll44xx.o
Vaibhav Hiremath1c213ba2012-07-05 08:05:15 -0700174obj-$(CONFIG_SOC_AM33XX) += $(clock-common) dpll3xxx.o
Vaibhav Hiremathe30384a2012-05-29 15:26:41 +0530175obj-$(CONFIG_SOC_AM33XX) += clock33xx_data.o
R Sricharan05e152c2012-06-05 16:21:32 +0530176obj-$(CONFIG_SOC_OMAP5) += $(clock-common)
177obj-$(CONFIG_SOC_OMAP5) += dpll3xxx.o dpll44xx.o
Paul Walmsley657ebfa2010-02-22 22:09:20 -0700178
179# OMAP2 clock rate set data (old "OPP" data)
Tony Lindgren59b479e2011-01-27 16:39:40 -0800180obj-$(CONFIG_SOC_OMAP2420) += opp2420_data.o
181obj-$(CONFIG_SOC_OMAP2430) += opp2430_data.o
Paul Walmsley3d876e52008-03-18 14:41:40 +0200182
Paul Walmsley73591542010-02-22 22:09:32 -0700183# hwmod data
Santosh Shilimkareb401552012-04-28 19:57:32 +0530184obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_ipblock_data.o
185obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_3xxx_ipblock_data.o
186obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_interconnect_data.o
187obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_3xxx_interconnect_data.o
188obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2420_data.o
189obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2xxx_ipblock_data.o
190obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2xxx_3xxx_ipblock_data.o
191obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2xxx_interconnect_data.o
192obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2xxx_3xxx_interconnect_data.o
193obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2430_data.o
194obj-$(CONFIG_ARCH_OMAP3) += omap_hwmod_2xxx_3xxx_ipblock_data.o
195obj-$(CONFIG_ARCH_OMAP3) += omap_hwmod_2xxx_3xxx_interconnect_data.o
196obj-$(CONFIG_ARCH_OMAP3) += omap_hwmod_3xxx_data.o
Benoit Cousson55d2cb02010-05-12 17:54:36 +0200197obj-$(CONFIG_ARCH_OMAP4) += omap_hwmod_44xx_data.o
Tony Lindgren1dbae812005-11-10 14:26:51 +0000198
Alexander Shishkin183bd502009-12-01 14:03:31 +0100199# EMU peripherals
Paul Walmsley657ebfa2010-02-22 22:09:20 -0700200obj-$(CONFIG_OMAP3_EMU) += emu.o
Alexander Shishkin183bd502009-12-01 14:03:31 +0100201
Felipe Balbie2fa61d2011-03-07 19:35:20 +0530202# L3 interconnect
203obj-$(CONFIG_ARCH_OMAP3) += omap_l3_smx.o
Santosh Shilimkar2722e562011-03-07 20:53:10 +0530204obj-$(CONFIG_ARCH_OMAP4) += omap_l3_noc.o
R Sricharane17933c2011-11-04 15:52:59 +0530205obj-$(CONFIG_SOC_OMAP5) += omap_l3_noc.o
Felipe Balbie2fa61d2011-03-07 19:35:20 +0530206
C A Subramaniam59fdc6e2009-11-22 10:11:17 -0800207obj-$(CONFIG_OMAP_MBOX_FWK) += mailbox_mach.o
208mailbox_mach-objs := mailbox.o
209
Hiroshi DOYU0bbc6fc2010-05-24 09:35:11 +0300210obj-$(CONFIG_OMAP_IOMMU) += iommu2.o
211
212iommu-$(CONFIG_OMAP_IOMMU) := omap-iommu.o
213obj-y += $(iommu-m) $(iommu-y)
Hiroshi DOYUcaf60772009-01-28 21:32:09 +0200214
Felipe Contreras90173882010-10-04 19:09:14 +0300215ifneq ($(CONFIG_TIDSPBRIDGE),)
216obj-y += dsp.o
217endif
218
Tony Lindgrenad1b6662012-05-08 17:23:33 -0600219# OMAP2420 MSDI controller integration support ("MMC")
220obj-$(CONFIG_SOC_OMAP2420) += msdi.o
221
Andy Grosse2fb5052012-05-23 15:08:10 -0500222ifneq ($(CONFIG_DRM_OMAP),)
223obj-y += drm.o
224endif
225
Tony Lindgren1dbae812005-11-10 14:26:51 +0000226# Specific board support
227obj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o
228obj-$(CONFIG_MACH_OMAP_H4) += board-h4.o
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700229obj-$(CONFIG_MACH_OMAP_2430SDP) += board-2430sdp.o
Tony Lindgren120db2c2006-04-02 17:46:27 +0100230obj-$(CONFIG_MACH_OMAP_APOLLON) += board-apollon.o
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700231obj-$(CONFIG_MACH_OMAP3_BEAGLE) += board-omap3beagle.o
232obj-$(CONFIG_MACH_DEVKIT8000) += board-devkit8000.o
233obj-$(CONFIG_MACH_OMAP_LDP) += board-ldp.o
234obj-$(CONFIG_MACH_OMAP3530_LV_SOM) += board-omap3logic.o
235obj-$(CONFIG_MACH_OMAP3_TORPEDO) += board-omap3logic.o
236obj-$(CONFIG_MACH_ENCORE) += board-omap3encore.o
237obj-$(CONFIG_MACH_OVERO) += board-overo.o
238obj-$(CONFIG_MACH_OMAP3EVM) += board-omap3evm.o
239obj-$(CONFIG_MACH_OMAP3_PANDORA) += board-omap3pandora.o
240obj-$(CONFIG_MACH_OMAP_3430SDP) += board-3430sdp.o
Kalle Valo63138812009-08-28 10:51:38 -0700241obj-$(CONFIG_MACH_NOKIA_N8X0) += board-n8x0.o
Santosh Shilimkareb401552012-04-28 19:57:32 +0530242obj-$(CONFIG_MACH_NOKIA_RM680) += board-rm680.o sdram-nokia.o
243obj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51.o sdram-nokia.o
244obj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51-peripherals.o
245obj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51-video.o
246obj-$(CONFIG_MACH_OMAP_ZOOM2) += board-zoom.o board-zoom-peripherals.o
247obj-$(CONFIG_MACH_OMAP_ZOOM2) += board-zoom-display.o
248obj-$(CONFIG_MACH_OMAP_ZOOM2) += board-zoom-debugboard.o
249obj-$(CONFIG_MACH_OMAP_ZOOM3) += board-zoom.o board-zoom-peripherals.o
250obj-$(CONFIG_MACH_OMAP_ZOOM3) += board-zoom-display.o
251obj-$(CONFIG_MACH_OMAP_ZOOM3) += board-zoom-debugboard.o
252obj-$(CONFIG_MACH_OMAP_3630SDP) += board-3630sdp.o
253obj-$(CONFIG_MACH_OMAP_3630SDP) += board-zoom-peripherals.o
254obj-$(CONFIG_MACH_OMAP_3630SDP) += board-zoom-display.o
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700255obj-$(CONFIG_MACH_CM_T35) += board-cm-t35.o
Igor Grinbergd04b6202010-09-21 16:03:09 +0000256obj-$(CONFIG_MACH_CM_T3517) += board-cm-t3517.o
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700257obj-$(CONFIG_MACH_IGEP0020) += board-igep0020.o
258obj-$(CONFIG_MACH_OMAP3_TOUCHBOOK) += board-omap3touchbook.o
Linus Torvalds95241452011-11-01 20:11:00 -0700259obj-$(CONFIG_MACH_OMAP_4430SDP) += board-4430sdp.o
260obj-$(CONFIG_MACH_OMAP4_PANDA) += board-omap4panda.o
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700261
Linus Torvalds95241452011-11-01 20:11:00 -0700262obj-$(CONFIG_MACH_PCM049) += board-omap4pcm049.o
Tony Lindgrenad19d8d2009-03-30 22:58:31 +0100263
Felipe Balbib3c3dc22011-07-10 12:22:20 +0300264obj-$(CONFIG_MACH_OMAP3517EVM) += board-am3517evm.o
Ranjith Lohithakshanc6253272009-11-18 18:41:09 -0800265
Srinath1cb125c2010-11-16 14:26:58 -0800266obj-$(CONFIG_MACH_CRANEBOARD) += board-am3517crane.o
267
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700268obj-$(CONFIG_MACH_SBC3530) += board-omap3stalker.o
Hemant Pedanekar2c87fb22011-02-15 23:06:08 +0530269obj-$(CONFIG_MACH_TI8168EVM) += board-ti8168evm.o
Hemant Pedanekara890b672011-12-13 10:48:55 -0800270obj-$(CONFIG_MACH_TI8148EVM) += board-ti8168evm.o
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700271
Felipe Balbi18cb7ac2009-03-23 18:34:06 -0700272# Platform specific device init code
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700273
274omap-flash-$(CONFIG_MTD_NAND_OMAP2) := board-flash.o
275omap-flash-$(CONFIG_MTD_ONENAND_OMAP2) := board-flash.o
276obj-y += $(omap-flash-y) $(omap-flash-m)
277
278omap-hsmmc-$(CONFIG_MMC_OMAP_HS) := hsmmc.o
279obj-y += $(omap-hsmmc-m) $(omap-hsmmc-y)
280
Felipe Balbi18cb7ac2009-03-23 18:34:06 -0700281obj-y += usb-musb.o
Felipe Balbib3c3dc22011-07-10 12:22:20 +0300282obj-y += omap_phy_internal.o
283
Kalle Valo1b52d5d2009-08-28 10:51:37 -0700284obj-$(CONFIG_MACH_OMAP2_TUSB6010) += usb-tusb6010.o
Felipe Balbia8480ea2011-03-01 20:08:15 +0530285obj-y += usb-host.o
Juha Yrjolaaa62e902009-05-28 13:23:52 -0700286
287onenand-$(CONFIG_MTD_ONENAND_OMAP2) := gpmc-onenand.o
288obj-y += $(onenand-m) $(onenand-y)
Tony Lindgren1a48e152009-05-28 13:23:52 -0700289
Vimal Singh2f70a1e2010-02-15 10:03:33 -0800290nand-$(CONFIG_MTD_NAND_OMAP2) := gpmc-nand.o
291obj-y += $(nand-m) $(nand-y)
292
Tony Lindgren1a48e152009-05-28 13:23:52 -0700293smc91x-$(CONFIG_SMC91X) := gpmc-smc91x.o
294obj-y += $(smc91x-m) $(smc91x-y)
Tim Nordellcdd280b2010-09-27 16:05:49 +0000295
296smsc911x-$(CONFIG_SMSC911X) := gpmc-smsc911x.o
297obj-y += $(smsc911x-m) $(smsc911x-y)
Ohad Ben-Cohenbe89cd92012-03-05 16:11:02 -0800298ifneq ($(CONFIG_HWSPINLOCK_OMAP),)
299obj-y += hwspinlock.o
300endif
Sumit Semwalb7ee79a2011-01-24 06:21:54 +0000301
Ilya Yanoka8195ba2012-03-05 11:08:36 -0800302emac-$(CONFIG_TI_DAVINCI_EMAC) := am35xx-emac.o
303obj-y += $(emac-m) $(emac-y)
304
Peter Ujfalusia53b8e32011-06-04 08:16:41 +0300305obj-y += common-board-devices.o twl-common.o