blob: 779fb1f680b339dd9e4fb88826fffb5127d00dd2 [file] [log] [blame]
Tony Lindgren1dbae812005-11-10 14:26:51 +00001#
2# Makefile for the linux kernel.
3#
4
Jonas Rabensteine60ba932016-04-06 10:14:08 +02005ccflags-y := -I$(srctree)/$(src)/include \
Tony Lindgrena0694862013-01-11 11:24:20 -08006 -I$(srctree)/arch/arm/plat-omap/include
7
Tony Lindgren1dbae812005-11-10 14:26:51 +00008# Common support
Tony Lindgrene9f5f1e2016-10-20 06:42:19 -07009obj-y := id.o io.o control.o devices.o fb.o timer.o pm.o \
Grygorii Strashko14944932016-11-21 11:26:27 -060010 common.o dma.o wd_timer.o display.o i2c.o hdq1w.o omap_hwmod.o \
Tony Lindgren0573b952016-06-22 01:59:39 -070011 omap_device.o omap-headsmp.o sram.o drm.o
Tony Lindgrend7607662009-05-25 11:26:47 -070012
Paul Walmsleyc02060d2013-02-10 11:22:23 -070013hwmod-common = omap_hwmod.o omap_hwmod_reset.o \
Paul Walmsley139563a2012-10-21 01:01:10 -060014 omap_hwmod_common_data.o
Tero Kristoc06bfbe2015-03-02 17:06:59 +020015clock-common = clock.o
Paul Walmsley139563a2012-10-21 01:01:10 -060016secure-common = omap-smc.o omap-secure.o
Paul Walmsley445d12a2012-09-11 19:09:14 -060017
Paul Walmsley139563a2012-10-21 01:01:10 -060018obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(hwmod-common)
19obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(hwmod-common) $(secure-common)
Tony Lindgrencae26f32013-11-16 07:15:25 -080020obj-$(CONFIG_ARCH_OMAP4) += $(hwmod-common) $(secure-common)
Felipe Balbi85980662014-09-15 16:15:02 -050021obj-$(CONFIG_SOC_AM33XX) += $(hwmod-common)
Tony Lindgrencae26f32013-11-16 07:15:25 -080022obj-$(CONFIG_SOC_OMAP5) += $(hwmod-common) $(secure-common)
Afzal Mohammed33f82f332013-05-27 20:05:41 +053023obj-$(CONFIG_SOC_AM43XX) += $(hwmod-common) $(secure-common)
Tony Lindgrencae26f32013-11-16 07:15:25 -080024obj-$(CONFIG_SOC_DRA7XX) += $(hwmod-common) $(secure-common)
Paul Walmsley445d12a2012-09-11 19:09:14 -060025
Peter Ujfalusi3ead4672012-03-09 10:23:27 +020026ifneq ($(CONFIG_SND_OMAP_SOC_MCBSP),)
27obj-y += mcbsp.o
28endif
Eduardo Valentin78673bc2008-07-03 12:24:40 +030029
Paul Walmsley139563a2012-10-21 01:01:10 -060030obj-$(CONFIG_TWL4030_CORE) += omap_twl.o
31obj-$(CONFIG_SOC_HAS_OMAP2_SDRC) += sdrc.o
Thara Gopinathfbc319f2010-12-10 22:51:05 +053032
Santosh Shilimkar934f8be2009-04-28 20:52:05 +053033# SMP support ONLY available for OMAP4
Santosh Shilimkareb401552012-04-28 19:57:32 +053034
Tony Lindgren0573b952016-06-22 01:59:39 -070035smp-$(CONFIG_SMP) += omap-smp.o
Arnd Bergmann572b16d2013-04-30 22:24:50 +020036smp-$(CONFIG_HOTPLUG_CPU) += omap-hotplug.o
Mohammed, Afzal22fe3b82013-06-24 08:13:45 +000037omap-4-5-common = omap4-common.o omap-wakeupgen.o
38obj-$(CONFIG_ARCH_OMAP4) += $(omap-4-5-common) $(smp-y) sleep44xx.o
39obj-$(CONFIG_SOC_OMAP5) += $(omap-4-5-common) $(smp-y) sleep44xx.o
Afzal Mohammed33f82f332013-05-27 20:05:41 +053040obj-$(CONFIG_SOC_AM43XX) += $(omap-4-5-common)
Tony Lindgren26273e02013-11-15 08:27:29 -080041obj-$(CONFIG_SOC_DRA7XX) += $(omap-4-5-common) $(smp-y) sleep44xx.o
Santosh Shilimkard660f9a2010-03-11 07:33:46 +000042
John Rigbyfe297dd2010-12-01 05:57:51 +000043plus_sec := $(call as-instr,.arch_extension sec,+sec)
44AFLAGS_omap-headsmp.o :=-Wa,-march=armv7-a$(plus_sec)
Santosh Shilimkarba9456a2011-06-06 17:56:49 +053045AFLAGS_omap-smc.o :=-Wa,-march=armv7-a$(plus_sec)
Santosh Shilimkarb2b97622010-06-16 22:19:48 +053046AFLAGS_sleep44xx.o :=-Wa,-march=armv7-a$(plus_sec)
Santosh Shilimkar934f8be2009-04-28 20:52:05 +053047
Tony Lindgrenc2d43e32008-07-03 12:24:38 +030048# Functions loaded to SRAM
Tony Lindgren59b479e2011-01-27 16:39:40 -080049obj-$(CONFIG_SOC_OMAP2420) += sram242x.o
50obj-$(CONFIG_SOC_OMAP2430) += sram243x.o
Tony Lindgrenc2d43e32008-07-03 12:24:38 +030051
Tony Lindgren56213ca2010-02-12 12:26:46 -080052AFLAGS_sram242x.o :=-Wa,-march=armv6
53AFLAGS_sram243x.o :=-Wa,-march=armv6
Tony Lindgren56213ca2010-02-12 12:26:46 -080054
Paul Walmsley2f334a32012-10-29 20:56:07 -060055# Restart code (OMAP4/5 currently in omap4-common.c)
56obj-$(CONFIG_SOC_OMAP2420) += omap2-restart.o
57obj-$(CONFIG_SOC_OMAP2430) += omap2-restart.o
Tony Lindgrenbc7235c2015-01-14 17:37:16 -080058obj-$(CONFIG_SOC_TI81XX) += ti81xx-restart.o
Jean-Sebastien A. Beaudry14e067c2013-01-23 16:02:40 -050059obj-$(CONFIG_SOC_AM33XX) += am33xx-restart.o
Lokesh Vutlaa7daf642014-02-28 12:43:45 -070060obj-$(CONFIG_SOC_AM43XX) += omap4-restart.o
Paul Walmsley2f334a32012-10-29 20:56:07 -060061obj-$(CONFIG_ARCH_OMAP3) += omap3-restart.o
Afzal Mohammedab4c2e12013-05-27 20:05:19 +053062obj-$(CONFIG_ARCH_OMAP4) += omap4-restart.o
63obj-$(CONFIG_SOC_OMAP5) += omap4-restart.o
Rajendra Nayak1d597b02013-07-09 13:02:15 +053064obj-$(CONFIG_SOC_DRA7XX) += omap4-restart.o
Paul Walmsley2f334a32012-10-29 20:56:07 -060065
Paul Walmsleyf2ab9972009-01-28 12:27:37 -070066# SMS/SDRC
67obj-$(CONFIG_ARCH_OMAP2) += sdrc2xxx.o
68# obj-$(CONFIG_ARCH_OMAP3) += sdrc3xxx.o
69
Nishanth Menonfd1478c2010-12-09 09:13:46 -060070# OPP table initialization
71ifeq ($(CONFIG_PM_OPP),y)
Nishanth Menonfd1478c2010-12-09 09:13:46 -060072obj-$(CONFIG_ARCH_OMAP3) += opp3xxx_data.o
Nishanth Menonf5a64222010-12-09 09:13:47 -060073obj-$(CONFIG_ARCH_OMAP4) += opp4xxx_data.o
Nishanth Menonfd1478c2010-12-09 09:13:46 -060074endif
75
Tony Lindgren120db2c2006-04-02 17:46:27 +010076# Power Management
Tony Lindgrenb3bf2892016-07-03 23:29:45 -070077omap-4-5-pm-common = omap-mpuss-lowpower.o
78obj-$(CONFIG_ARCH_OMAP4) += $(omap-4-5-pm-common)
Tony Lindgrenda6d5992016-11-07 16:50:10 -070079obj-$(CONFIG_SOC_OMAP5) += $(omap-4-5-pm-common)
Tony Lindgren0b4b61c2012-11-14 08:40:00 -080080obj-$(CONFIG_OMAP_PM_NOOP) += omap-pm-noop.o
81
Tony Lindgren1835f1d2008-10-06 15:49:15 +030082ifeq ($(CONFIG_PM),y)
Paul Walmsley139563a2012-10-21 01:01:10 -060083obj-$(CONFIG_ARCH_OMAP2) += pm24xx.o
84obj-$(CONFIG_ARCH_OMAP2) += sleep24xx.o
Santosh Shilimkareb401552012-04-28 19:57:32 +053085obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o
Tony Lindgrenb3bf2892016-07-03 23:29:45 -070086omap-4-5-pm-common += pm44xx.o
Nishanth Menon377fb3f2014-09-09 12:15:33 -050087obj-$(CONFIG_ARCH_OMAP4) += $(omap-4-5-pm-common)
88obj-$(CONFIG_SOC_OMAP5) += $(omap-4-5-pm-common)
89obj-$(CONFIG_SOC_DRA7XX) += $(omap-4-5-pm-common)
Kevin Hilman8bd22942009-05-28 10:56:16 -070090obj-$(CONFIG_PM_DEBUG) += pm-debug.o
Jean Pihet7fb149f2012-04-24 11:38:50 +053091
Jean Pihet21ff63a2012-04-25 16:43:17 +053092obj-$(CONFIG_POWER_AVS_OMAP) += sr_device.o
Paul Walmsley139563a2012-10-21 01:01:10 -060093obj-$(CONFIG_POWER_AVS_OMAP_CLASS3) += smartreflex-class3.o
Tony Lindgren56213ca2010-02-12 12:26:46 -080094
95AFLAGS_sleep24xx.o :=-Wa,-march=armv6
Oskar Andero6ba59322011-04-26 02:24:50 -070096AFLAGS_sleep34xx.o :=-Wa,-march=armv7-a$(plus_sec)
Tony Lindgren56213ca2010-02-12 12:26:46 -080097
Tony Lindgren1835f1d2008-10-06 15:49:15 +030098endif
Tony Lindgren120db2c2006-04-02 17:46:27 +010099
Daniel Lezcano164e0cb2012-05-10 12:02:57 +0200100ifeq ($(CONFIG_CPU_IDLE),y)
Paul Walmsley139563a2012-10-21 01:01:10 -0600101obj-$(CONFIG_ARCH_OMAP3) += cpuidle34xx.o
Nishanth Menon377fb3f2014-09-09 12:15:33 -0500102omap-4-5-idle-common = cpuidle44xx.o
103obj-$(CONFIG_ARCH_OMAP4) += $(omap-4-5-idle-common)
104obj-$(CONFIG_SOC_OMAP5) += $(omap-4-5-idle-common)
105obj-$(CONFIG_SOC_DRA7XX) += $(omap-4-5-idle-common)
Daniel Lezcano164e0cb2012-05-10 12:02:57 +0200106endif
107
Paul Walmsley71348bc2009-09-03 20:14:02 +0300108# PRCM
Paul Walmsleyb99db362012-10-29 20:59:29 -0600109obj-y += prm_common.o cm_common.o
Paul Walmsleyff4ae5d2012-10-21 01:01:11 -0600110obj-$(CONFIG_ARCH_OMAP2) += prm2xxx_3xxx.o prm2xxx.o cm2xxx.o
111obj-$(CONFIG_ARCH_OMAP3) += prm2xxx_3xxx.o prm3xxx.o cm3xxx.o
Paul Walmsleydf47adb2012-09-11 19:09:15 -0600112obj-$(CONFIG_ARCH_OMAP3) += vc3xxx_data.o vp3xxx_data.o
Tero Kristo88f94742014-10-27 08:39:25 -0700113omap-prcm-4-5-common = cminst44xx.o prm44xx.o \
R Sricharan05e152c2012-06-05 16:21:32 +0530114 prcm_mpu44xx.o prminst44xx.o \
Paul Walmsley139563a2012-10-21 01:01:10 -0600115 vc44xx_data.o vp44xx_data.o
Paul Walmsleydf47adb2012-09-11 19:09:15 -0600116obj-$(CONFIG_ARCH_OMAP4) += $(omap-prcm-4-5-common)
R Sricharan05e152c2012-06-05 16:21:32 +0530117obj-$(CONFIG_SOC_OMAP5) += $(omap-prcm-4-5-common)
R Sricharanbfe92112013-07-03 11:38:50 +0530118obj-$(CONFIG_SOC_DRA7XX) += $(omap-prcm-4-5-common)
Dave Gerlach98bbc112014-06-15 16:02:17 -0600119am33xx-43xx-prcm-common += prm33xx.o cm33xx.o
Tony Lindgren4d38bd12015-01-26 09:26:32 -0800120obj-$(CONFIG_SOC_TI81XX) += $(am33xx-43xx-prcm-common)
Dave Gerlach98bbc112014-06-15 16:02:17 -0600121obj-$(CONFIG_SOC_AM33XX) += $(am33xx-43xx-prcm-common)
122obj-$(CONFIG_SOC_AM43XX) += $(omap-prcm-4-5-common) \
123 $(am33xx-43xx-prcm-common)
Paul Walmsleyc0718df2011-03-10 22:17:45 -0700124
125# OMAP voltage domains
Paul Walmsley139563a2012-10-21 01:01:10 -0600126voltagedomain-common := voltage.o vc.o vp.o
127obj-$(CONFIG_ARCH_OMAP2) += $(voltagedomain-common)
Santosh Shilimkareb401552012-04-28 19:57:32 +0530128obj-$(CONFIG_ARCH_OMAP2) += voltagedomains2xxx_data.o
Paul Walmsley139563a2012-10-21 01:01:10 -0600129obj-$(CONFIG_ARCH_OMAP3) += $(voltagedomain-common)
Santosh Shilimkareb401552012-04-28 19:57:32 +0530130obj-$(CONFIG_ARCH_OMAP3) += voltagedomains3xxx_data.o
Paul Walmsley139563a2012-10-21 01:01:10 -0600131obj-$(CONFIG_ARCH_OMAP4) += $(voltagedomain-common)
Santosh Shilimkareb401552012-04-28 19:57:32 +0530132obj-$(CONFIG_ARCH_OMAP4) += voltagedomains44xx_data.o
Paul Walmsley139563a2012-10-21 01:01:10 -0600133obj-$(CONFIG_SOC_AM33XX) += $(voltagedomain-common)
Afzal Mohammed33f82f332013-05-27 20:05:41 +0530134obj-$(CONFIG_SOC_AM43XX) += $(voltagedomain-common)
Paul Walmsley139563a2012-10-21 01:01:10 -0600135obj-$(CONFIG_SOC_OMAP5) += $(voltagedomain-common)
Santosh Shilimkare4020aa2013-05-29 12:38:12 -0400136obj-$(CONFIG_SOC_OMAP5) += voltagedomains54xx_data.o
Tero Kristo68b9f602014-01-10 11:25:28 +0200137obj-$(CONFIG_SOC_DRA7XX) += $(voltagedomain-common)
Rajendra Nayak74bea6b2010-12-21 20:01:17 -0700138
139# OMAP powerdomain framework
Paul Walmsley139563a2012-10-21 01:01:10 -0600140powerdomain-common += powerdomain.o powerdomain-common.o
141obj-$(CONFIG_ARCH_OMAP2) += $(powerdomain-common)
Santosh Shilimkareb401552012-04-28 19:57:32 +0530142obj-$(CONFIG_ARCH_OMAP2) += powerdomains2xxx_data.o
Santosh Shilimkareb401552012-04-28 19:57:32 +0530143obj-$(CONFIG_ARCH_OMAP2) += powerdomains2xxx_3xxx_data.o
Paul Walmsley139563a2012-10-21 01:01:10 -0600144obj-$(CONFIG_ARCH_OMAP3) += $(powerdomain-common)
Santosh Shilimkareb401552012-04-28 19:57:32 +0530145obj-$(CONFIG_ARCH_OMAP3) += powerdomains3xxx_data.o
146obj-$(CONFIG_ARCH_OMAP3) += powerdomains2xxx_3xxx_data.o
Paul Walmsley139563a2012-10-21 01:01:10 -0600147obj-$(CONFIG_ARCH_OMAP4) += $(powerdomain-common)
Santosh Shilimkareb401552012-04-28 19:57:32 +0530148obj-$(CONFIG_ARCH_OMAP4) += powerdomains44xx_data.o
Paul Walmsley139563a2012-10-21 01:01:10 -0600149obj-$(CONFIG_SOC_AM33XX) += $(powerdomain-common)
Vaibhav Hiremath3f0ea762012-06-18 00:47:27 -0600150obj-$(CONFIG_SOC_AM33XX) += powerdomains33xx_data.o
Afzal Mohammed33f82f332013-05-27 20:05:41 +0530151obj-$(CONFIG_SOC_AM43XX) += $(powerdomain-common)
Afzal Mohammedd9df6e12013-10-12 15:46:28 +0530152obj-$(CONFIG_SOC_AM43XX) += powerdomains43xx_data.o
Paul Walmsley139563a2012-10-21 01:01:10 -0600153obj-$(CONFIG_SOC_OMAP5) += $(powerdomain-common)
Santosh Shilimkare4020aa2013-05-29 12:38:12 -0400154obj-$(CONFIG_SOC_OMAP5) += powerdomains54xx_data.o
R Sricharanbfe92112013-07-03 11:38:50 +0530155obj-$(CONFIG_SOC_DRA7XX) += $(powerdomain-common)
Ambresh K97dd16b2013-07-09 13:02:13 +0530156obj-$(CONFIG_SOC_DRA7XX) += powerdomains7xx_data.o
Paul Walmsley71348bc2009-09-03 20:14:02 +0300157
Paul Walmsleydc0b3a72010-12-21 20:01:20 -0700158# PRCM clockdomain control
Paul Walmsley139563a2012-10-21 01:01:10 -0600159clockdomain-common += clockdomain.o
160obj-$(CONFIG_ARCH_OMAP2) += $(clockdomain-common)
Santosh Shilimkareb401552012-04-28 19:57:32 +0530161obj-$(CONFIG_ARCH_OMAP2) += clockdomains2xxx_3xxx_data.o
Paul Walmsleya5ffef62011-09-14 16:01:21 -0600162obj-$(CONFIG_SOC_OMAP2420) += clockdomains2420_data.o
163obj-$(CONFIG_SOC_OMAP2430) += clockdomains2430_data.o
Paul Walmsley139563a2012-10-21 01:01:10 -0600164obj-$(CONFIG_ARCH_OMAP3) += $(clockdomain-common)
Santosh Shilimkareb401552012-04-28 19:57:32 +0530165obj-$(CONFIG_ARCH_OMAP3) += clockdomains2xxx_3xxx_data.o
166obj-$(CONFIG_ARCH_OMAP3) += clockdomains3xxx_data.o
Paul Walmsley139563a2012-10-21 01:01:10 -0600167obj-$(CONFIG_ARCH_OMAP4) += $(clockdomain-common)
Santosh Shilimkareb401552012-04-28 19:57:32 +0530168obj-$(CONFIG_ARCH_OMAP4) += clockdomains44xx_data.o
Paul Walmsley139563a2012-10-21 01:01:10 -0600169obj-$(CONFIG_SOC_AM33XX) += $(clockdomain-common)
Vaibhav Hiremath9c80f3a2012-06-18 00:47:27 -0600170obj-$(CONFIG_SOC_AM33XX) += clockdomains33xx_data.o
Aida Mynzhasovaa64459c2015-01-26 09:26:32 -0800171obj-$(CONFIG_SOC_TI81XX) += $(clockdomain-common)
172obj-$(CONFIG_SOC_TI81XX) += clockdomains81xx_data.o
Afzal Mohammed33f82f332013-05-27 20:05:41 +0530173obj-$(CONFIG_SOC_AM43XX) += $(clockdomain-common)
Afzal Mohammedd9df6e12013-10-12 15:46:28 +0530174obj-$(CONFIG_SOC_AM43XX) += clockdomains43xx_data.o
Paul Walmsley139563a2012-10-21 01:01:10 -0600175obj-$(CONFIG_SOC_OMAP5) += $(clockdomain-common)
Santosh Shilimkare4020aa2013-05-29 12:38:12 -0400176obj-$(CONFIG_SOC_OMAP5) += clockdomains54xx_data.o
R Sricharanbfe92112013-07-03 11:38:50 +0530177obj-$(CONFIG_SOC_DRA7XX) += $(clockdomain-common)
Ambresh K11fadcf2013-07-09 13:02:12 +0530178obj-$(CONFIG_SOC_DRA7XX) += clockdomains7xx_data.o
Paul Walmsley530e5442011-02-25 15:39:28 -0700179
Paul Walmsley3d876e52008-03-18 14:41:40 +0200180# Clock framework
Tero Kristo846fdf22015-03-03 10:58:56 +0200181obj-$(CONFIG_ARCH_OMAP2) += $(clock-common)
Paul Walmsley139563a2012-10-21 01:01:10 -0600182obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_dpllcore.o
Santosh Shilimkareb401552012-04-28 19:57:32 +0530183obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_virt_prcm_set.o
Tero Kristoef14db02015-03-02 14:33:54 +0200184obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_dpll.o
Tero Kristo6f0051d2015-03-04 11:56:22 +0200185obj-$(CONFIG_ARCH_OMAP3) += $(clock-common)
Tero Kristoc8c88d82013-07-18 16:04:00 +0300186obj-$(CONFIG_ARCH_OMAP4) += $(clock-common)
Tero Kristo0565fb12015-03-03 13:27:48 +0200187obj-$(CONFIG_SOC_AM33XX) += $(clock-common)
Paul Walmsley139563a2012-10-21 01:01:10 -0600188obj-$(CONFIG_SOC_OMAP5) += $(clock-common)
Tero Kristo87a85b62014-01-10 11:20:18 +0200189obj-$(CONFIG_SOC_DRA7XX) += $(clock-common)
Tero Kristo0565fb12015-03-03 13:27:48 +0200190obj-$(CONFIG_SOC_AM43XX) += $(clock-common)
Paul Walmsley657ebfa2010-02-22 22:09:20 -0700191
192# OMAP2 clock rate set data (old "OPP" data)
Tony Lindgren59b479e2011-01-27 16:39:40 -0800193obj-$(CONFIG_SOC_OMAP2420) += opp2420_data.o
194obj-$(CONFIG_SOC_OMAP2430) += opp2430_data.o
Paul Walmsley3d876e52008-03-18 14:41:40 +0200195
Paul Walmsley73591542010-02-22 22:09:32 -0700196# hwmod data
Sathya Prakash M R509efaf2014-07-05 17:44:57 -0600197obj-y += omap_hwmod_common_ipblock_data.o
Santosh Shilimkareb401552012-04-28 19:57:32 +0530198obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_ipblock_data.o
199obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_3xxx_ipblock_data.o
200obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_interconnect_data.o
201obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_3xxx_interconnect_data.o
202obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2420_data.o
203obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2xxx_ipblock_data.o
204obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2xxx_3xxx_ipblock_data.o
205obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2xxx_interconnect_data.o
206obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2xxx_3xxx_interconnect_data.o
207obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2430_data.o
208obj-$(CONFIG_ARCH_OMAP3) += omap_hwmod_2xxx_3xxx_ipblock_data.o
209obj-$(CONFIG_ARCH_OMAP3) += omap_hwmod_2xxx_3xxx_interconnect_data.o
210obj-$(CONFIG_ARCH_OMAP3) += omap_hwmod_3xxx_data.o
Vaibhav Hirematha2cfc502012-07-25 13:51:13 -0600211obj-$(CONFIG_SOC_AM33XX) += omap_hwmod_33xx_data.o
Afzal Mohammed26649462013-10-12 15:44:46 +0530212obj-$(CONFIG_SOC_AM33XX) += omap_hwmod_33xx_43xx_interconnect_data.o
213obj-$(CONFIG_SOC_AM33XX) += omap_hwmod_33xx_43xx_ipblock_data.o
Afzal Mohammedd9df6e12013-10-12 15:46:28 +0530214obj-$(CONFIG_SOC_AM43XX) += omap_hwmod_43xx_data.o
215obj-$(CONFIG_SOC_AM43XX) += omap_hwmod_33xx_43xx_interconnect_data.o
216obj-$(CONFIG_SOC_AM43XX) += omap_hwmod_33xx_43xx_ipblock_data.o
Tony Lindgren4d38bd12015-01-26 09:26:32 -0800217obj-$(CONFIG_SOC_TI81XX) += omap_hwmod_81xx_data.o
Benoit Cousson55d2cb02010-05-12 17:54:36 +0200218obj-$(CONFIG_ARCH_OMAP4) += omap_hwmod_44xx_data.o
Santosh Shilimkare4020aa2013-05-29 12:38:12 -0400219obj-$(CONFIG_SOC_OMAP5) += omap_hwmod_54xx_data.o
Ambresh K90020c72013-07-09 13:02:16 +0530220obj-$(CONFIG_SOC_DRA7XX) += omap_hwmod_7xx_data.o
Tony Lindgren1dbae812005-11-10 14:26:51 +0000221
Tony Lindgrenad1b6662012-05-08 17:23:33 -0600222# OMAP2420 MSDI controller integration support ("MMC")
223obj-$(CONFIG_SOC_OMAP2420) += msdi.o
224
Tony Lindgren1dbae812005-11-10 14:26:51 +0000225# Specific board support
Tony Lindgren6a08e1e2013-09-25 15:44:39 -0700226obj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o pdata-quirks.o
Kalle Valo63138812009-08-28 10:51:38 -0700227obj-$(CONFIG_MACH_NOKIA_N8X0) += board-n8x0.o
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700228
Felipe Balbi18cb7ac2009-03-23 18:34:06 -0700229# Platform specific device init code
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700230
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700231omap-hsmmc-$(CONFIG_MMC_OMAP_HS) := hsmmc.o
232obj-y += $(omap-hsmmc-m) $(omap-hsmmc-y)
233
Felipe Balbib3c3dc22011-07-10 12:22:20 +0300234obj-y += omap_phy_internal.o
235
Kalle Valo1b52d5d2009-08-28 10:51:37 -0700236obj-$(CONFIG_MACH_OMAP2_TUSB6010) += usb-tusb6010.o
Juha Yrjolaaa62e902009-05-28 13:23:52 -0700237
238onenand-$(CONFIG_MTD_ONENAND_OMAP2) := gpmc-onenand.o
239obj-y += $(onenand-m) $(onenand-y)