blob: 385c083d24b2fbfc960a95826719457614a643f8 [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
Paul Walmsley59fb6592010-12-21 15:30:55 -07009omap-2-3-common = irq.o sdrc.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)
Tony Lindgren1dbae812005-11-10 14:26:51 +000019
Peter Ujfalusi3ead4672012-03-09 10:23:27 +020020ifneq ($(CONFIG_SND_OMAP_SOC_MCBSP),)
21obj-y += mcbsp.o
22endif
Eduardo Valentin78673bc2008-07-03 12:24:40 +030023
Thara Gopinathfbc319f2010-12-10 22:51:05 +053024obj-$(CONFIG_TWL4030_CORE) += omap_twl.o
25
Santosh Shilimkar934f8be2009-04-28 20:52:05 +053026# SMP support ONLY available for OMAP4
27obj-$(CONFIG_SMP) += omap-smp.o omap-headsmp.o
Santosh Shilimkar7d35b8d2010-08-02 13:18:19 +030028obj-$(CONFIG_HOTPLUG_CPU) += omap-hotplug.o
Santosh Shilimkarb2b97622010-06-16 22:19:48 +053029obj-$(CONFIG_ARCH_OMAP4) += omap4-common.o omap-wakeupgen.o \
30 sleep44xx.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
55
Nishanth Menonfd1478c2010-12-09 09:13:46 -060056# OPP table initialization
57ifeq ($(CONFIG_PM_OPP),y)
58obj-y += opp.o
59obj-$(CONFIG_ARCH_OMAP3) += opp3xxx_data.o
Nishanth Menonf5a64222010-12-09 09:13:47 -060060obj-$(CONFIG_ARCH_OMAP4) += opp4xxx_data.o
Nishanth Menonfd1478c2010-12-09 09:13:46 -060061endif
62
Tony Lindgren120db2c2006-04-02 17:46:27 +010063# Power Management
Tony Lindgren1835f1d2008-10-06 15:49:15 +030064ifeq ($(CONFIG_PM),y)
Kevin Hilman8bd22942009-05-28 10:56:16 -070065obj-$(CONFIG_ARCH_OMAP2) += pm24xx.o
Kevin Hilman638080c2011-04-29 00:36:42 +020066obj-$(CONFIG_ARCH_OMAP2) += sleep24xx.o
Paul Walmsleyc0718df2011-03-10 22:17:45 -070067obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o \
Kevin Hilman638080c2011-04-29 00:36:42 +020068 cpuidle34xx.o
Santosh Shilimkar98272662011-08-16 17:31:40 +053069obj-$(CONFIG_ARCH_OMAP4) += pm44xx.o omap-mpuss-lowpower.o \
70 cpuidle44xx.o
Kevin Hilman8bd22942009-05-28 10:56:16 -070071obj-$(CONFIG_PM_DEBUG) += pm-debug.o
Thara Gopinath0c0a5d62010-05-29 22:02:23 +053072obj-$(CONFIG_OMAP_SMARTREFLEX) += sr_device.o smartreflex.o
Thara Gopinathfa765822010-05-29 22:02:25 +053073obj-$(CONFIG_OMAP_SMARTREFLEX_CLASS3) += smartreflex-class3.o
Tony Lindgren56213ca2010-02-12 12:26:46 -080074
75AFLAGS_sleep24xx.o :=-Wa,-march=armv6
Oskar Andero6ba59322011-04-26 02:24:50 -070076AFLAGS_sleep34xx.o :=-Wa,-march=armv7-a$(plus_sec)
Tony Lindgren56213ca2010-02-12 12:26:46 -080077
Kevin Hilman57e6fe72009-11-05 19:06:01 -080078ifeq ($(CONFIG_PM_VERBOSE),y)
79CFLAGS_pm_bus.o += -DDEBUG
80endif
81
Tony Lindgren1835f1d2008-10-06 15:49:15 +030082endif
Tony Lindgren120db2c2006-04-02 17:46:27 +010083
Paul Walmsley71348bc2009-09-03 20:14:02 +030084# PRCM
Tero Kristo0a84a912011-12-16 14:36:58 -070085obj-y += prm_common.o
Paul Walmsley59fb6592010-12-21 15:30:55 -070086obj-$(CONFIG_ARCH_OMAP2) += prcm.o cm2xxx_3xxx.o prm2xxx_3xxx.o
Paul Walmsleyc0718df2011-03-10 22:17:45 -070087obj-$(CONFIG_ARCH_OMAP3) += prcm.o cm2xxx_3xxx.o prm2xxx_3xxx.o \
88 vc3xxx_data.o vp3xxx_data.o
Paul Walmsley59fb6592010-12-21 15:30:55 -070089# XXX The presence of cm2xxx_3xxx.o on the line below is temporary and
90# will be removed once the OMAP4 part of the codebase is converted to
91# use OMAP4-specific PRCM functions.
Paul Walmsley2ace8312010-12-21 21:05:14 -070092obj-$(CONFIG_ARCH_OMAP4) += prcm.o cm2xxx_3xxx.o cminst44xx.o \
93 cm44xx.o prcm_mpu44xx.o \
Paul Walmsleyc0718df2011-03-10 22:17:45 -070094 prminst44xx.o vc44xx_data.o \
Tero Kristo0a84a912011-12-16 14:36:58 -070095 vp44xx_data.o prm44xx.o
Paul Walmsleyc0718df2011-03-10 22:17:45 -070096
97# OMAP voltage domains
Kevin Hilman01f48d32011-03-21 14:29:13 -070098voltagedomain-common := voltage.o vc.o vp.o
Kevin Hilmanaae030f2011-03-23 16:09:41 -070099obj-$(CONFIG_ARCH_OMAP2) += $(voltagedomain-common) \
100 voltagedomains2xxx_data.o
Paul Walmsleyc0718df2011-03-10 22:17:45 -0700101obj-$(CONFIG_ARCH_OMAP3) += $(voltagedomain-common) \
102 voltagedomains3xxx_data.o
103obj-$(CONFIG_ARCH_OMAP4) += $(voltagedomain-common) \
104 voltagedomains44xx_data.o
Rajendra Nayak74bea6b2010-12-21 20:01:17 -0700105
106# OMAP powerdomain framework
Paul Walmsley6e014782010-12-21 20:01:20 -0700107powerdomain-common += powerdomain.o powerdomain-common.o
Rajendra Nayakf327e072010-12-21 20:01:18 -0700108obj-$(CONFIG_ARCH_OMAP2) += $(powerdomain-common) \
Paul Walmsley6e014782010-12-21 20:01:20 -0700109 powerdomain2xxx_3xxx.o \
110 powerdomains2xxx_data.o \
111 powerdomains2xxx_3xxx_data.o
Rajendra Nayakf327e072010-12-21 20:01:18 -0700112obj-$(CONFIG_ARCH_OMAP3) += $(powerdomain-common) \
Paul Walmsley6e014782010-12-21 20:01:20 -0700113 powerdomain2xxx_3xxx.o \
114 powerdomains3xxx_data.o \
115 powerdomains2xxx_3xxx_data.o
Rajendra Nayakf327e072010-12-21 20:01:18 -0700116obj-$(CONFIG_ARCH_OMAP4) += $(powerdomain-common) \
Paul Walmsley6e014782010-12-21 20:01:20 -0700117 powerdomain44xx.o \
118 powerdomains44xx_data.o
Paul Walmsley71348bc2009-09-03 20:14:02 +0300119
Paul Walmsleydc0b3a72010-12-21 20:01:20 -0700120# PRCM clockdomain control
Paul Walmsley6ba5a692012-04-19 13:33:49 -0600121clockdomain-common += clockdomain.o \
122 clockdomains_common_data.o
123obj-$(CONFIG_ARCH_OMAP2) += $(clockdomain-common) \
Rajendra Nayak4aef7a22011-02-25 16:06:47 -0700124 clockdomain2xxx_3xxx.o \
Paul Walmsleydc0b3a72010-12-21 20:01:20 -0700125 clockdomains2xxx_3xxx_data.o
Paul Walmsleya5ffef62011-09-14 16:01:21 -0600126obj-$(CONFIG_SOC_OMAP2420) += clockdomains2420_data.o
127obj-$(CONFIG_SOC_OMAP2430) += clockdomains2430_data.o
Paul Walmsley6ba5a692012-04-19 13:33:49 -0600128obj-$(CONFIG_ARCH_OMAP3) += $(clockdomain-common) \
Rajendra Nayak4aef7a22011-02-25 16:06:47 -0700129 clockdomain2xxx_3xxx.o \
Paul Walmsleya5ffef62011-09-14 16:01:21 -0600130 clockdomains2xxx_3xxx_data.o \
131 clockdomains3xxx_data.o
Paul Walmsley6ba5a692012-04-19 13:33:49 -0600132obj-$(CONFIG_ARCH_OMAP4) += $(clockdomain-common) \
Rajendra Nayak68b921a2011-02-25 16:06:47 -0700133 clockdomain44xx.o \
Paul Walmsleydc0b3a72010-12-21 20:01:20 -0700134 clockdomains44xx_data.o
Paul Walmsley530e5442011-02-25 15:39:28 -0700135
Paul Walmsley3d876e52008-03-18 14:41:40 +0200136# Clock framework
Paul Walmsley657ebfa2010-02-22 22:09:20 -0700137obj-$(CONFIG_ARCH_OMAP2) += $(clock-common) clock2xxx.o \
Paul Walmsley81b34fb2010-02-22 22:09:22 -0700138 clkt2xxx_sys.o \
Paul Walmsley657ebfa2010-02-22 22:09:20 -0700139 clkt2xxx_dpllcore.o \
140 clkt2xxx_virt_prcm_set.o \
Paul Walmsley0fd0c212011-02-25 15:49:53 -0700141 clkt2xxx_apll.o clkt2xxx_osc.o \
Paul Walmsley530e5442011-02-25 15:39:28 -0700142 clkt2xxx_dpll.o clkt_iclk.o
Tony Lindgren59b479e2011-01-27 16:39:40 -0800143obj-$(CONFIG_SOC_OMAP2420) += clock2420_data.o
144obj-$(CONFIG_SOC_OMAP2430) += clock2430.o clock2430_data.o
Paul Walmsley657ebfa2010-02-22 22:09:20 -0700145obj-$(CONFIG_ARCH_OMAP3) += $(clock-common) clock3xxx.o \
146 clock34xx.o clkt34xx_dpll3m2.o \
147 clock3517.o clock36xx.o \
Paul Walmsley530e5442011-02-25 15:39:28 -0700148 dpll3xxx.o clock3xxx_data.o \
149 clkt_iclk.o
Paul Walmsley657ebfa2010-02-22 22:09:20 -0700150obj-$(CONFIG_ARCH_OMAP4) += $(clock-common) clock44xx_data.o \
Rajendra Nayak97f67892011-02-25 15:49:01 -0700151 dpll3xxx.o dpll44xx.o
Paul Walmsley657ebfa2010-02-22 22:09:20 -0700152
153# OMAP2 clock rate set data (old "OPP" data)
Tony Lindgren59b479e2011-01-27 16:39:40 -0800154obj-$(CONFIG_SOC_OMAP2420) += opp2420_data.o
155obj-$(CONFIG_SOC_OMAP2430) += opp2430_data.o
Paul Walmsley3d876e52008-03-18 14:41:40 +0200156
Paul Walmsley73591542010-02-22 22:09:32 -0700157# hwmod data
Paul Walmsley0d619a82011-07-09 19:14:07 -0600158obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_ipblock_data.o \
159 omap_hwmod_2xxx_3xxx_ipblock_data.o \
160 omap_hwmod_2xxx_interconnect_data.o \
Paul Walmsleyded11382011-07-09 19:14:06 -0600161 omap_hwmod_2xxx_3xxx_interconnect_data.o \
162 omap_hwmod_2420_data.o
Paul Walmsley0d619a82011-07-09 19:14:07 -0600163obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2xxx_ipblock_data.o \
164 omap_hwmod_2xxx_3xxx_ipblock_data.o \
165 omap_hwmod_2xxx_interconnect_data.o \
Paul Walmsleyded11382011-07-09 19:14:06 -0600166 omap_hwmod_2xxx_3xxx_interconnect_data.o \
167 omap_hwmod_2430_data.o
Paul Walmsley0d619a82011-07-09 19:14:07 -0600168obj-$(CONFIG_ARCH_OMAP3) += omap_hwmod_2xxx_3xxx_ipblock_data.o \
169 omap_hwmod_2xxx_3xxx_interconnect_data.o \
Paul Walmsleyded11382011-07-09 19:14:06 -0600170 omap_hwmod_3xxx_data.o
Benoit Cousson55d2cb02010-05-12 17:54:36 +0200171obj-$(CONFIG_ARCH_OMAP4) += omap_hwmod_44xx_data.o
Tony Lindgren1dbae812005-11-10 14:26:51 +0000172
Alexander Shishkin183bd502009-12-01 14:03:31 +0100173# EMU peripherals
Paul Walmsley657ebfa2010-02-22 22:09:20 -0700174obj-$(CONFIG_OMAP3_EMU) += emu.o
Alexander Shishkin183bd502009-12-01 14:03:31 +0100175
Felipe Balbie2fa61d2011-03-07 19:35:20 +0530176# L3 interconnect
177obj-$(CONFIG_ARCH_OMAP3) += omap_l3_smx.o
Santosh Shilimkar2722e562011-03-07 20:53:10 +0530178obj-$(CONFIG_ARCH_OMAP4) += omap_l3_noc.o
Felipe Balbie2fa61d2011-03-07 19:35:20 +0530179
C A Subramaniam59fdc6e2009-11-22 10:11:17 -0800180obj-$(CONFIG_OMAP_MBOX_FWK) += mailbox_mach.o
181mailbox_mach-objs := mailbox.o
182
Hiroshi DOYU0bbc6fc2010-05-24 09:35:11 +0300183obj-$(CONFIG_OMAP_IOMMU) += iommu2.o
184
185iommu-$(CONFIG_OMAP_IOMMU) := omap-iommu.o
186obj-y += $(iommu-m) $(iommu-y)
Hiroshi DOYUcaf60772009-01-28 21:32:09 +0200187
Felipe Contreras90173882010-10-04 19:09:14 +0300188ifneq ($(CONFIG_TIDSPBRIDGE),)
189obj-y += dsp.o
190endif
191
Tony Lindgrenad1b6662012-05-08 17:23:33 -0600192# OMAP2420 MSDI controller integration support ("MMC")
193obj-$(CONFIG_SOC_OMAP2420) += msdi.o
194
Tony Lindgren1dbae812005-11-10 14:26:51 +0000195# Specific board support
196obj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o
197obj-$(CONFIG_MACH_OMAP_H4) += board-h4.o
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700198obj-$(CONFIG_MACH_OMAP_2430SDP) += board-2430sdp.o
Tony Lindgren120db2c2006-04-02 17:46:27 +0100199obj-$(CONFIG_MACH_OMAP_APOLLON) += board-apollon.o
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700200obj-$(CONFIG_MACH_OMAP3_BEAGLE) += board-omap3beagle.o
201obj-$(CONFIG_MACH_DEVKIT8000) += board-devkit8000.o
202obj-$(CONFIG_MACH_OMAP_LDP) += board-ldp.o
203obj-$(CONFIG_MACH_OMAP3530_LV_SOM) += board-omap3logic.o
204obj-$(CONFIG_MACH_OMAP3_TORPEDO) += board-omap3logic.o
205obj-$(CONFIG_MACH_ENCORE) += board-omap3encore.o
206obj-$(CONFIG_MACH_OVERO) += board-overo.o
207obj-$(CONFIG_MACH_OMAP3EVM) += board-omap3evm.o
208obj-$(CONFIG_MACH_OMAP3_PANDORA) += board-omap3pandora.o
209obj-$(CONFIG_MACH_OMAP_3430SDP) += board-3430sdp.o
Kalle Valo63138812009-08-28 10:51:38 -0700210obj-$(CONFIG_MACH_NOKIA_N8X0) += board-n8x0.o
Aaro Koskinen2d200662010-12-17 15:13:47 -0800211obj-$(CONFIG_MACH_NOKIA_RM680) += board-rm680.o \
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700212 sdram-nokia.o
Lauri Leukkunenffe7f952009-03-23 18:38:17 -0700213obj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51.o \
Aaro Koskinen6c3bc4e2010-12-17 15:13:44 -0800214 sdram-nokia.o \
Lauri Leukkunenffe7f952009-03-23 18:38:17 -0700215 board-rx51-peripherals.o \
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700216 board-rx51-video.o
Felipe Balbi20826852010-11-08 06:56:14 +0000217obj-$(CONFIG_MACH_OMAP_ZOOM2) += board-zoom.o \
vikram pandita479f12c2009-11-22 10:11:30 -0800218 board-zoom-peripherals.o \
Kishore Ya6490332010-11-15 07:09:03 +0100219 board-zoom-display.o \
Vikram Pandita577145f2009-05-28 14:04:04 -0700220 board-zoom-debugboard.o
Felipe Balbi20826852010-11-08 06:56:14 +0000221obj-$(CONFIG_MACH_OMAP_ZOOM3) += board-zoom.o \
vikram pandita5f35fbe2009-11-22 10:11:32 -0800222 board-zoom-peripherals.o \
Kishore Ya6490332010-11-15 07:09:03 +0100223 board-zoom-display.o \
vikram pandita5f35fbe2009-11-22 10:11:32 -0800224 board-zoom-debugboard.o
vikram pandita34c9ac22009-11-18 18:41:08 -0800225obj-$(CONFIG_MACH_OMAP_3630SDP) += board-3630sdp.o \
226 board-zoom-peripherals.o \
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700227 board-zoom-display.o
228obj-$(CONFIG_MACH_CM_T35) += board-cm-t35.o
Igor Grinbergd04b6202010-09-21 16:03:09 +0000229obj-$(CONFIG_MACH_CM_T3517) += board-cm-t3517.o
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700230obj-$(CONFIG_MACH_IGEP0020) += board-igep0020.o
231obj-$(CONFIG_MACH_OMAP3_TOUCHBOOK) += board-omap3touchbook.o
Linus Torvalds95241452011-11-01 20:11:00 -0700232obj-$(CONFIG_MACH_OMAP_4430SDP) += board-4430sdp.o
233obj-$(CONFIG_MACH_OMAP4_PANDA) += board-omap4panda.o
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700234
Linus Torvalds95241452011-11-01 20:11:00 -0700235obj-$(CONFIG_MACH_PCM049) += board-omap4pcm049.o
Tony Lindgrenad19d8d2009-03-30 22:58:31 +0100236
Felipe Balbib3c3dc22011-07-10 12:22:20 +0300237obj-$(CONFIG_MACH_OMAP3517EVM) += board-am3517evm.o
Ranjith Lohithakshanc6253272009-11-18 18:41:09 -0800238
Srinath1cb125c2010-11-16 14:26:58 -0800239obj-$(CONFIG_MACH_CRANEBOARD) += board-am3517crane.o
240
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700241obj-$(CONFIG_MACH_SBC3530) += board-omap3stalker.o
Hemant Pedanekar2c87fb22011-02-15 23:06:08 +0530242obj-$(CONFIG_MACH_TI8168EVM) += board-ti8168evm.o
Hemant Pedanekara890b672011-12-13 10:48:55 -0800243obj-$(CONFIG_MACH_TI8148EVM) += board-ti8168evm.o
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700244
Felipe Balbi18cb7ac2009-03-23 18:34:06 -0700245# Platform specific device init code
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700246
247omap-flash-$(CONFIG_MTD_NAND_OMAP2) := board-flash.o
248omap-flash-$(CONFIG_MTD_ONENAND_OMAP2) := board-flash.o
249obj-y += $(omap-flash-y) $(omap-flash-m)
250
251omap-hsmmc-$(CONFIG_MMC_OMAP_HS) := hsmmc.o
252obj-y += $(omap-hsmmc-m) $(omap-hsmmc-y)
253
254
Tony Lindgrenb5e89052010-07-05 16:31:29 +0300255usbfs-$(CONFIG_ARCH_OMAP_OTG) := usb-fs.o
256obj-y += $(usbfs-m) $(usbfs-y)
Felipe Balbi18cb7ac2009-03-23 18:34:06 -0700257obj-y += usb-musb.o
Felipe Balbib3c3dc22011-07-10 12:22:20 +0300258obj-y += omap_phy_internal.o
259
Kalle Valo1b52d5d2009-08-28 10:51:37 -0700260obj-$(CONFIG_MACH_OMAP2_TUSB6010) += usb-tusb6010.o
Felipe Balbia8480ea2011-03-01 20:08:15 +0530261obj-y += usb-host.o
Juha Yrjolaaa62e902009-05-28 13:23:52 -0700262
263onenand-$(CONFIG_MTD_ONENAND_OMAP2) := gpmc-onenand.o
264obj-y += $(onenand-m) $(onenand-y)
Tony Lindgren1a48e152009-05-28 13:23:52 -0700265
Vimal Singh2f70a1e2010-02-15 10:03:33 -0800266nand-$(CONFIG_MTD_NAND_OMAP2) := gpmc-nand.o
267obj-y += $(nand-m) $(nand-y)
268
Tony Lindgren1a48e152009-05-28 13:23:52 -0700269smc91x-$(CONFIG_SMC91X) := gpmc-smc91x.o
270obj-y += $(smc91x-m) $(smc91x-y)
Tim Nordellcdd280b2010-09-27 16:05:49 +0000271
272smsc911x-$(CONFIG_SMSC911X) := gpmc-smsc911x.o
273obj-y += $(smsc911x-m) $(smsc911x-y)
Ohad Ben-Cohenbe89cd92012-03-05 16:11:02 -0800274ifneq ($(CONFIG_HWSPINLOCK_OMAP),)
275obj-y += hwspinlock.o
276endif
Sumit Semwalb7ee79a2011-01-24 06:21:54 +0000277
Ilya Yanoka8195ba2012-03-05 11:08:36 -0800278emac-$(CONFIG_TI_DAVINCI_EMAC) := am35xx-emac.o
279obj-y += $(emac-m) $(emac-y)
280
Peter Ujfalusia53b8e32011-06-04 08:16:41 +0300281obj-y += common-board-devices.o twl-common.o