blob: ea1e26f58b91caf91e1ad6640d4ae70ae7b5637c [file] [log] [blame]
Tony Lindgren1dbae812005-11-10 14:26:51 +00001#
2# Makefile for the linux kernel.
3#
4
5# Common support
Paul Walmsleyaa218da2010-10-08 11:40:19 -06006obj-y := id.o io.o control.o mux.o devices.o serial.o gpmc.o timer-gp.o pm.o \
Paul Walmsley81fbc5ef2010-12-21 19:56:17 -07007 common.o gpio.o dma.o wd_timer.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
Tony Lindgrend7607662009-05-25 11:26:47 -070014
Rajendra Nayak74bea6b2010-12-21 20:01:17 -070015obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(hwmod-common)
16obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(hwmod-common)
17obj-$(CONFIG_ARCH_OMAP4) += prm44xx.o $(hwmod-common)
Tony Lindgren1dbae812005-11-10 14:26:51 +000018
Eduardo Valentin78673bc2008-07-03 12:24:40 +030019obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o
20
Thara Gopinathfbc319f2010-12-10 22:51:05 +053021obj-$(CONFIG_TWL4030_CORE) += omap_twl.o
22
Santosh Shilimkar934f8be2009-04-28 20:52:05 +053023# SMP support ONLY available for OMAP4
24obj-$(CONFIG_SMP) += omap-smp.o omap-headsmp.o
25obj-$(CONFIG_LOCAL_TIMERS) += timer-mpu.o
Santosh Shilimkar7d35b8d2010-08-02 13:18:19 +030026obj-$(CONFIG_HOTPLUG_CPU) += omap-hotplug.o
Santosh Shilimkarfbc9be12010-05-14 12:05:26 -070027obj-$(CONFIG_ARCH_OMAP4) += omap44xx-smc.o omap4-common.o
Santosh Shilimkard660f9a2010-03-11 07:33:46 +000028
John Rigbyfe297dd2010-12-01 05:57:51 +000029plus_sec := $(call as-instr,.arch_extension sec,+sec)
30AFLAGS_omap-headsmp.o :=-Wa,-march=armv7-a$(plus_sec)
31AFLAGS_omap44xx-smc.o :=-Wa,-march=armv7-a$(plus_sec)
Santosh Shilimkar934f8be2009-04-28 20:52:05 +053032
Tony Lindgrenc2d43e32008-07-03 12:24:38 +030033# Functions loaded to SRAM
Tony Lindgren59b479e2011-01-27 16:39:40 -080034obj-$(CONFIG_SOC_OMAP2420) += sram242x.o
35obj-$(CONFIG_SOC_OMAP2430) += sram243x.o
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +030036obj-$(CONFIG_ARCH_OMAP3) += sram34xx.o
Tony Lindgrenc2d43e32008-07-03 12:24:38 +030037
Tony Lindgren56213ca2010-02-12 12:26:46 -080038AFLAGS_sram242x.o :=-Wa,-march=armv6
39AFLAGS_sram243x.o :=-Wa,-march=armv6
40AFLAGS_sram34xx.o :=-Wa,-march=armv7-a
41
Tony Lindgrenddaa9122009-12-11 16:16:32 -080042# Pin multiplexing
Tony Lindgren59b479e2011-01-27 16:39:40 -080043obj-$(CONFIG_SOC_OMAP2420) += mux2420.o
44obj-$(CONFIG_SOC_OMAP2430) += mux2430.o
Tony Lindgrenddaa9122009-12-11 16:16:32 -080045obj-$(CONFIG_ARCH_OMAP3) += mux34xx.o
Benoit Coussona041a522010-08-10 17:27:48 +020046obj-$(CONFIG_ARCH_OMAP4) += mux44xx.o
Tony Lindgrenddaa9122009-12-11 16:16:32 -080047
Paul Walmsleyf2ab9972009-01-28 12:27:37 -070048# SMS/SDRC
49obj-$(CONFIG_ARCH_OMAP2) += sdrc2xxx.o
50# obj-$(CONFIG_ARCH_OMAP3) += sdrc3xxx.o
51
Nishanth Menonfd1478c2010-12-09 09:13:46 -060052# OPP table initialization
53ifeq ($(CONFIG_PM_OPP),y)
54obj-y += opp.o
55obj-$(CONFIG_ARCH_OMAP3) += opp3xxx_data.o
Nishanth Menonf5a64222010-12-09 09:13:47 -060056obj-$(CONFIG_ARCH_OMAP4) += opp4xxx_data.o
Nishanth Menonfd1478c2010-12-09 09:13:46 -060057endif
58
Tony Lindgren120db2c2006-04-02 17:46:27 +010059# Power Management
Tony Lindgren1835f1d2008-10-06 15:49:15 +030060ifeq ($(CONFIG_PM),y)
Kevin Hilman8bd22942009-05-28 10:56:16 -070061obj-$(CONFIG_ARCH_OMAP2) += pm24xx.o
Paul Walmsleyc0718df2011-03-10 22:17:45 -070062obj-$(CONFIG_ARCH_OMAP2) += sleep24xx.o pm_bus.o
63obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o \
Thara Gopinath2f34ce82010-05-29 22:02:21 +053064 cpuidle34xx.o pm_bus.o
Paul Walmsleyc0718df2011-03-10 22:17:45 -070065obj-$(CONFIG_ARCH_OMAP4) += pm44xx.o pm_bus.o
Kevin Hilman8bd22942009-05-28 10:56:16 -070066obj-$(CONFIG_PM_DEBUG) += pm-debug.o
Thara Gopinath0c0a5d62010-05-29 22:02:23 +053067obj-$(CONFIG_OMAP_SMARTREFLEX) += sr_device.o smartreflex.o
Thara Gopinathfa765822010-05-29 22:02:25 +053068obj-$(CONFIG_OMAP_SMARTREFLEX_CLASS3) += smartreflex-class3.o
Tony Lindgren56213ca2010-02-12 12:26:46 -080069
70AFLAGS_sleep24xx.o :=-Wa,-march=armv6
71AFLAGS_sleep34xx.o :=-Wa,-march=armv7-a
72
Kevin Hilman57e6fe72009-11-05 19:06:01 -080073ifeq ($(CONFIG_PM_VERBOSE),y)
74CFLAGS_pm_bus.o += -DDEBUG
75endif
76
Tony Lindgren1835f1d2008-10-06 15:49:15 +030077endif
Tony Lindgren120db2c2006-04-02 17:46:27 +010078
Paul Walmsley71348bc2009-09-03 20:14:02 +030079# PRCM
Paul Walmsley59fb6592010-12-21 15:30:55 -070080obj-$(CONFIG_ARCH_OMAP2) += prcm.o cm2xxx_3xxx.o prm2xxx_3xxx.o
Paul Walmsleyc0718df2011-03-10 22:17:45 -070081obj-$(CONFIG_ARCH_OMAP3) += prcm.o cm2xxx_3xxx.o prm2xxx_3xxx.o \
82 vc3xxx_data.o vp3xxx_data.o
Paul Walmsley59fb6592010-12-21 15:30:55 -070083# XXX The presence of cm2xxx_3xxx.o on the line below is temporary and
84# will be removed once the OMAP4 part of the codebase is converted to
85# use OMAP4-specific PRCM functions.
Paul Walmsley2ace8312010-12-21 21:05:14 -070086obj-$(CONFIG_ARCH_OMAP4) += prcm.o cm2xxx_3xxx.o cminst44xx.o \
87 cm44xx.o prcm_mpu44xx.o \
Paul Walmsleyc0718df2011-03-10 22:17:45 -070088 prminst44xx.o vc44xx_data.o \
89 vp44xx_data.o
90
91# OMAP voltage domains
92ifeq ($(CONFIG_PM),y)
93voltagedomain-common := voltage.o
94obj-$(CONFIG_ARCH_OMAP2) += $(voltagedomain-common)
95obj-$(CONFIG_ARCH_OMAP3) += $(voltagedomain-common) \
96 voltagedomains3xxx_data.o
97obj-$(CONFIG_ARCH_OMAP4) += $(voltagedomain-common) \
98 voltagedomains44xx_data.o
99endif
Rajendra Nayak74bea6b2010-12-21 20:01:17 -0700100
101# OMAP powerdomain framework
Paul Walmsley6e014782010-12-21 20:01:20 -0700102powerdomain-common += powerdomain.o powerdomain-common.o
Rajendra Nayakf327e072010-12-21 20:01:18 -0700103obj-$(CONFIG_ARCH_OMAP2) += $(powerdomain-common) \
Paul Walmsley6e014782010-12-21 20:01:20 -0700104 powerdomain2xxx_3xxx.o \
105 powerdomains2xxx_data.o \
106 powerdomains2xxx_3xxx_data.o
Rajendra Nayakf327e072010-12-21 20:01:18 -0700107obj-$(CONFIG_ARCH_OMAP3) += $(powerdomain-common) \
Paul Walmsley6e014782010-12-21 20:01:20 -0700108 powerdomain2xxx_3xxx.o \
109 powerdomains3xxx_data.o \
110 powerdomains2xxx_3xxx_data.o
Rajendra Nayakf327e072010-12-21 20:01:18 -0700111obj-$(CONFIG_ARCH_OMAP4) += $(powerdomain-common) \
Paul Walmsley6e014782010-12-21 20:01:20 -0700112 powerdomain44xx.o \
113 powerdomains44xx_data.o
Paul Walmsley71348bc2009-09-03 20:14:02 +0300114
Paul Walmsleydc0b3a72010-12-21 20:01:20 -0700115# PRCM clockdomain control
116obj-$(CONFIG_ARCH_OMAP2) += clockdomain.o \
Rajendra Nayak4aef7a22011-02-25 16:06:47 -0700117 clockdomain2xxx_3xxx.o \
Paul Walmsleydc0b3a72010-12-21 20:01:20 -0700118 clockdomains2xxx_3xxx_data.o
119obj-$(CONFIG_ARCH_OMAP3) += clockdomain.o \
Rajendra Nayak4aef7a22011-02-25 16:06:47 -0700120 clockdomain2xxx_3xxx.o \
Paul Walmsleydc0b3a72010-12-21 20:01:20 -0700121 clockdomains2xxx_3xxx_data.o
122obj-$(CONFIG_ARCH_OMAP4) += clockdomain.o \
Rajendra Nayak68b921a2011-02-25 16:06:47 -0700123 clockdomain44xx.o \
Paul Walmsleydc0b3a72010-12-21 20:01:20 -0700124 clockdomains44xx_data.o
Paul Walmsley530e5442011-02-25 15:39:28 -0700125
Paul Walmsley3d876e52008-03-18 14:41:40 +0200126# Clock framework
Paul Walmsley657ebfa2010-02-22 22:09:20 -0700127obj-$(CONFIG_ARCH_OMAP2) += $(clock-common) clock2xxx.o \
Paul Walmsley81b34fb2010-02-22 22:09:22 -0700128 clkt2xxx_sys.o \
Paul Walmsley657ebfa2010-02-22 22:09:20 -0700129 clkt2xxx_dpllcore.o \
130 clkt2xxx_virt_prcm_set.o \
Paul Walmsley0fd0c212011-02-25 15:49:53 -0700131 clkt2xxx_apll.o clkt2xxx_osc.o \
Paul Walmsley530e5442011-02-25 15:39:28 -0700132 clkt2xxx_dpll.o clkt_iclk.o
Tony Lindgren59b479e2011-01-27 16:39:40 -0800133obj-$(CONFIG_SOC_OMAP2420) += clock2420_data.o
134obj-$(CONFIG_SOC_OMAP2430) += clock2430.o clock2430_data.o
Paul Walmsley657ebfa2010-02-22 22:09:20 -0700135obj-$(CONFIG_ARCH_OMAP3) += $(clock-common) clock3xxx.o \
136 clock34xx.o clkt34xx_dpll3m2.o \
137 clock3517.o clock36xx.o \
Paul Walmsley530e5442011-02-25 15:39:28 -0700138 dpll3xxx.o clock3xxx_data.o \
139 clkt_iclk.o
Paul Walmsley657ebfa2010-02-22 22:09:20 -0700140obj-$(CONFIG_ARCH_OMAP4) += $(clock-common) clock44xx_data.o \
Rajendra Nayak97f67892011-02-25 15:49:01 -0700141 dpll3xxx.o dpll44xx.o
Paul Walmsley657ebfa2010-02-22 22:09:20 -0700142
143# OMAP2 clock rate set data (old "OPP" data)
Tony Lindgren59b479e2011-01-27 16:39:40 -0800144obj-$(CONFIG_SOC_OMAP2420) += opp2420_data.o
145obj-$(CONFIG_SOC_OMAP2430) += opp2430_data.o
Paul Walmsley3d876e52008-03-18 14:41:40 +0200146
Paul Walmsley73591542010-02-22 22:09:32 -0700147# hwmod data
Tony Lindgren59b479e2011-01-27 16:39:40 -0800148obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2420_data.o
149obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2430_data.o
Paul Walmsley73591542010-02-22 22:09:32 -0700150obj-$(CONFIG_ARCH_OMAP3) += omap_hwmod_3xxx_data.o
Benoit Cousson55d2cb02010-05-12 17:54:36 +0200151obj-$(CONFIG_ARCH_OMAP4) += omap_hwmod_44xx_data.o
Tony Lindgren1dbae812005-11-10 14:26:51 +0000152
Alexander Shishkin183bd502009-12-01 14:03:31 +0100153# EMU peripherals
Paul Walmsley657ebfa2010-02-22 22:09:20 -0700154obj-$(CONFIG_OMAP3_EMU) += emu.o
Alexander Shishkin183bd502009-12-01 14:03:31 +0100155
C A Subramaniam59fdc6e2009-11-22 10:11:17 -0800156obj-$(CONFIG_OMAP_MBOX_FWK) += mailbox_mach.o
157mailbox_mach-objs := mailbox.o
158
Hiroshi DOYU0bbc6fc2010-05-24 09:35:11 +0300159obj-$(CONFIG_OMAP_IOMMU) += iommu2.o
160
161iommu-$(CONFIG_OMAP_IOMMU) := omap-iommu.o
162obj-y += $(iommu-m) $(iommu-y)
Hiroshi DOYUcaf60772009-01-28 21:32:09 +0200163
Tony Lindgrenb63128e2009-12-11 16:16:32 -0800164i2c-omap-$(CONFIG_I2C_OMAP) := i2c.o
165obj-y += $(i2c-omap-m) $(i2c-omap-y)
166
Felipe Contreras90173882010-10-04 19:09:14 +0300167ifneq ($(CONFIG_TIDSPBRIDGE),)
168obj-y += dsp.o
169endif
170
Tony Lindgren1dbae812005-11-10 14:26:51 +0000171# Specific board support
172obj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o
173obj-$(CONFIG_MACH_OMAP_H4) += board-h4.o
Tony Lindgren90c62bf2008-12-10 17:37:17 -0800174obj-$(CONFIG_MACH_OMAP_2430SDP) += board-2430sdp.o \
Adrian Hunterd02a900b2010-02-15 10:03:34 -0800175 hsmmc.o
Tony Lindgren120db2c2006-04-02 17:46:27 +0100176obj-$(CONFIG_MACH_OMAP_APOLLON) += board-apollon.o
Tony Lindgren90c62bf2008-12-10 17:37:17 -0800177obj-$(CONFIG_MACH_OMAP3_BEAGLE) += board-omap3beagle.o \
Adrian Hunterd02a900b2010-02-15 10:03:34 -0800178 hsmmc.o
Thomas Weber476544c2010-02-17 14:09:28 -0800179obj-$(CONFIG_MACH_DEVKIT8000) += board-devkit8000.o \
180 hsmmc.o
Tony Lindgren90c62bf2008-12-10 17:37:17 -0800181obj-$(CONFIG_MACH_OMAP_LDP) += board-ldp.o \
Sukumar Ghorai2430f9d2010-07-09 14:27:51 +0000182 board-flash.o \
Adrian Hunterd02a900b2010-02-15 10:03:34 -0800183 hsmmc.o
Tim Nordelld40f3f12010-09-27 16:05:47 +0000184obj-$(CONFIG_MACH_OMAP3530_LV_SOM) += board-omap3logic.o \
185 hsmmc.o
186obj-$(CONFIG_MACH_OMAP3_TORPEDO) += board-omap3logic.o \
187 hsmmc.o
Tony Lindgren90c62bf2008-12-10 17:37:17 -0800188obj-$(CONFIG_MACH_OVERO) += board-overo.o \
Adrian Hunterd02a900b2010-02-15 10:03:34 -0800189 hsmmc.o
Syed Mohammed Khasim53c5ec32009-05-28 14:13:28 -0700190obj-$(CONFIG_MACH_OMAP3EVM) += board-omap3evm.o \
Adrian Hunterd02a900b2010-02-15 10:03:34 -0800191 hsmmc.o
Tony Lindgren90c62bf2008-12-10 17:37:17 -0800192obj-$(CONFIG_MACH_OMAP3_PANDORA) += board-omap3pandora.o \
Adrian Hunterd02a900b2010-02-15 10:03:34 -0800193 hsmmc.o
Syed Mohammed Khasim6fdc29e2009-03-23 18:38:16 -0700194obj-$(CONFIG_MACH_OMAP_3430SDP) += board-3430sdp.o \
Adrian Hunterd02a900b2010-02-15 10:03:34 -0800195 hsmmc.o \
Sukumar Ghorai13d6b73c2010-07-09 14:27:47 +0000196 board-flash.o
Kalle Valo63138812009-08-28 10:51:38 -0700197obj-$(CONFIG_MACH_NOKIA_N8X0) += board-n8x0.o
Aaro Koskinen2d200662010-12-17 15:13:47 -0800198obj-$(CONFIG_MACH_NOKIA_RM680) += board-rm680.o \
199 sdram-nokia.o \
200 hsmmc.o
Lauri Leukkunenffe7f952009-03-23 18:38:17 -0700201obj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51.o \
Aaro Koskinen6c3bc4e2010-12-17 15:13:44 -0800202 sdram-nokia.o \
Lauri Leukkunenffe7f952009-03-23 18:38:17 -0700203 board-rx51-peripherals.o \
Roger Quadros03e11102010-05-10 10:35:17 +0200204 board-rx51-video.o \
Adrian Hunterd02a900b2010-02-15 10:03:34 -0800205 hsmmc.o
Felipe Balbi20826852010-11-08 06:56:14 +0000206obj-$(CONFIG_MACH_OMAP_ZOOM2) += board-zoom.o \
vikram pandita479f12c2009-11-22 10:11:30 -0800207 board-zoom-peripherals.o \
Kishore Ya6490332010-11-15 07:09:03 +0100208 board-zoom-display.o \
Sukumar Ghorai7e7eb422010-07-09 14:27:48 +0000209 board-flash.o \
Adrian Hunterd02a900b2010-02-15 10:03:34 -0800210 hsmmc.o \
Vikram Pandita577145f2009-05-28 14:04:04 -0700211 board-zoom-debugboard.o
Felipe Balbi20826852010-11-08 06:56:14 +0000212obj-$(CONFIG_MACH_OMAP_ZOOM3) += board-zoom.o \
vikram pandita5f35fbe2009-11-22 10:11:32 -0800213 board-zoom-peripherals.o \
Kishore Ya6490332010-11-15 07:09:03 +0100214 board-zoom-display.o \
Sukumar Ghoraie08b1052010-07-09 14:27:49 +0000215 board-flash.o \
Adrian Hunterd02a900b2010-02-15 10:03:34 -0800216 hsmmc.o \
vikram pandita5f35fbe2009-11-22 10:11:32 -0800217 board-zoom-debugboard.o
vikram pandita34c9ac22009-11-18 18:41:08 -0800218obj-$(CONFIG_MACH_OMAP_3630SDP) += board-3630sdp.o \
219 board-zoom-peripherals.o \
Kishore Ya6490332010-11-15 07:09:03 +0100220 board-zoom-display.o \
Sukumar Ghorai7875eea2010-07-09 14:27:50 +0000221 board-flash.o \
Adrian Hunterd02a900b2010-02-15 10:03:34 -0800222 hsmmc.o
Mike Rapoport2886d122009-11-18 18:41:07 -0800223obj-$(CONFIG_MACH_CM_T35) += board-cm-t35.o \
Adrian Hunterd02a900b2010-02-15 10:03:34 -0800224 hsmmc.o
Igor Grinbergd04b6202010-09-21 16:03:09 +0000225obj-$(CONFIG_MACH_CM_T3517) += board-cm-t3517.o
Enric Balletbo i Serra58e11162009-11-18 18:41:07 -0800226obj-$(CONFIG_MACH_IGEP0020) += board-igep0020.o \
Adrian Hunterd02a900b2010-02-15 10:03:34 -0800227 hsmmc.o
Enric Balletbo i Serrae844b1d2010-10-08 10:22:11 -0700228obj-$(CONFIG_MACH_IGEP0030) += board-igep0030.o \
229 hsmmc.o
Gregoire Gentil7a079ca2009-12-11 16:16:34 -0800230obj-$(CONFIG_MACH_OMAP3_TOUCHBOOK) += board-omap3touchbook.o \
Adrian Hunterd02a900b2010-02-15 10:03:34 -0800231 hsmmc.o
kishore kadiyala717c1fb2010-05-15 18:21:06 +0000232obj-$(CONFIG_MACH_OMAP_4430SDP) += board-4430sdp.o \
Hema HK4c42fbc2010-12-10 18:09:35 +0530233 hsmmc.o \
234 omap_phy_internal.o
David Andersb075f582010-08-02 13:18:05 +0300235obj-$(CONFIG_MACH_OMAP4_PANDA) += board-omap4panda.o \
Hema HK4c42fbc2010-12-10 18:09:35 +0530236 hsmmc.o \
237 omap_phy_internal.o
Tony Lindgrenad19d8d2009-03-30 22:58:31 +0100238
Hema HKfe5a4902011-02-16 17:34:40 +0530239obj-$(CONFIG_MACH_OMAP3517EVM) += board-am3517evm.o \
240 omap_phy_internal.o \
Ranjith Lohithakshanc6253272009-11-18 18:41:09 -0800241
Srinath1cb125c2010-11-16 14:26:58 -0800242obj-$(CONFIG_MACH_CRANEBOARD) += board-am3517crane.o
243
Jason9cbc3492010-05-17 14:39:09 +0800244obj-$(CONFIG_MACH_SBC3530) += board-omap3stalker.o \
245 hsmmc.o
Hemant Pedanekar2c87fb22011-02-15 23:06:08 +0530246obj-$(CONFIG_MACH_TI8168EVM) += board-ti8168evm.o
Felipe Balbi18cb7ac2009-03-23 18:34:06 -0700247# Platform specific device init code
Tony Lindgrenb5e89052010-07-05 16:31:29 +0300248usbfs-$(CONFIG_ARCH_OMAP_OTG) := usb-fs.o
249obj-y += $(usbfs-m) $(usbfs-y)
Felipe Balbi18cb7ac2009-03-23 18:34:06 -0700250obj-y += usb-musb.o
Kalle Valo1b52d5d2009-08-28 10:51:37 -0700251obj-$(CONFIG_MACH_OMAP2_TUSB6010) += usb-tusb6010.o
Felipe Balbi58a54912009-11-22 10:11:01 -0800252obj-y += usb-ehci.o
Juha Yrjolaaa62e902009-05-28 13:23:52 -0700253
254onenand-$(CONFIG_MTD_ONENAND_OMAP2) := gpmc-onenand.o
255obj-y += $(onenand-m) $(onenand-y)
Tony Lindgren1a48e152009-05-28 13:23:52 -0700256
Vimal Singh2f70a1e2010-02-15 10:03:33 -0800257nand-$(CONFIG_MTD_NAND_OMAP2) := gpmc-nand.o
258obj-y += $(nand-m) $(nand-y)
259
Tony Lindgren1a48e152009-05-28 13:23:52 -0700260smc91x-$(CONFIG_SMC91X) := gpmc-smc91x.o
261obj-y += $(smc91x-m) $(smc91x-y)
Tim Nordellcdd280b2010-09-27 16:05:49 +0000262
263smsc911x-$(CONFIG_SMSC911X) := gpmc-smsc911x.o
264obj-y += $(smsc911x-m) $(smsc911x-y)
Simon Que7bb412a2011-02-17 09:52:03 -0800265obj-$(CONFIG_ARCH_OMAP4) += hwspinlock.o