blob: 665455a852f47f9073bebc69e78262b0ba8d1cfe [file] [log] [blame]
Tony Lindgren1dbae812005-11-10 14:26:51 +00001#
2# Makefile for the linux kernel.
3#
4
Tony Lindgrena0694862013-01-11 11:24:20 -08005ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include \
6 -I$(srctree)/arch/arm/plat-omap/include
7
Tony Lindgren1dbae812005-11-10 14:26:51 +00008# Common support
Tony Lindgren16d60bb2012-12-16 11:39:40 -08009obj-y := id.o io.o control.o mux.o devices.o fb.o serial.o gpmc.o timer.o pm.o \
Tony Lindgren25c7d492012-10-02 17:25:48 -070010 common.o gpio.o dma.o wd_timer.o display.o i2c.o hdq1w.o omap_hwmod.o \
Archit Taneja7a597432013-09-16 12:48:29 +053011 omap_device.o sram.o drm.o
Tony Lindgrend7607662009-05-25 11:26:47 -070012
Paul Walmsley139563a2012-10-21 01:01:10 -060013omap-2-3-common = irq.o
Paul Walmsleyc02060d2013-02-10 11:22:23 -070014hwmod-common = omap_hwmod.o omap_hwmod_reset.o \
Paul Walmsley139563a2012-10-21 01:01:10 -060015 omap_hwmod_common_data.o
16clock-common = clock.o clock_common_data.o \
17 clkt_dpll.o clkt_clksel.o
18secure-common = omap-smc.o omap-secure.o
Paul Walmsley445d12a2012-09-11 19:09:14 -060019
Paul Walmsley139563a2012-10-21 01:01:10 -060020obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(hwmod-common)
21obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(hwmod-common) $(secure-common)
Tony Lindgrencae26f32013-11-16 07:15:25 -080022obj-$(CONFIG_ARCH_OMAP4) += $(hwmod-common) $(secure-common)
Paul Walmsley139563a2012-10-21 01:01:10 -060023obj-$(CONFIG_SOC_AM33XX) += irq.o $(hwmod-common)
Tony Lindgrencae26f32013-11-16 07:15:25 -080024obj-$(CONFIG_SOC_OMAP5) += $(hwmod-common) $(secure-common)
Afzal Mohammed33f82f332013-05-27 20:05:41 +053025obj-$(CONFIG_SOC_AM43XX) += $(hwmod-common) $(secure-common)
Tony Lindgrencae26f32013-11-16 07:15:25 -080026obj-$(CONFIG_SOC_DRA7XX) += $(hwmod-common) $(secure-common)
Paul Walmsley445d12a2012-09-11 19:09:14 -060027
Peter Ujfalusi3ead4672012-03-09 10:23:27 +020028ifneq ($(CONFIG_SND_OMAP_SOC_MCBSP),)
29obj-y += mcbsp.o
30endif
Eduardo Valentin78673bc2008-07-03 12:24:40 +030031
Paul Walmsley139563a2012-10-21 01:01:10 -060032obj-$(CONFIG_TWL4030_CORE) += omap_twl.o
33obj-$(CONFIG_SOC_HAS_OMAP2_SDRC) += sdrc.o
Thara Gopinathfbc319f2010-12-10 22:51:05 +053034
Santosh Shilimkar934f8be2009-04-28 20:52:05 +053035# SMP support ONLY available for OMAP4
Santosh Shilimkareb401552012-04-28 19:57:32 +053036
Arnd Bergmann572b16d2013-04-30 22:24:50 +020037smp-$(CONFIG_SMP) += omap-smp.o omap-headsmp.o
38smp-$(CONFIG_HOTPLUG_CPU) += omap-hotplug.o
Mohammed, Afzal22fe3b82013-06-24 08:13:45 +000039omap-4-5-common = omap4-common.o omap-wakeupgen.o
40obj-$(CONFIG_ARCH_OMAP4) += $(omap-4-5-common) $(smp-y) sleep44xx.o
41obj-$(CONFIG_SOC_OMAP5) += $(omap-4-5-common) $(smp-y) sleep44xx.o
Afzal Mohammed33f82f332013-05-27 20:05:41 +053042obj-$(CONFIG_SOC_AM43XX) += $(omap-4-5-common)
Tony Lindgren26273e02013-11-15 08:27:29 -080043obj-$(CONFIG_SOC_DRA7XX) += $(omap-4-5-common) $(smp-y) sleep44xx.o
Santosh Shilimkard660f9a2010-03-11 07:33:46 +000044
John Rigbyfe297dd2010-12-01 05:57:51 +000045plus_sec := $(call as-instr,.arch_extension sec,+sec)
46AFLAGS_omap-headsmp.o :=-Wa,-march=armv7-a$(plus_sec)
Santosh Shilimkarba9456a2011-06-06 17:56:49 +053047AFLAGS_omap-smc.o :=-Wa,-march=armv7-a$(plus_sec)
Santosh Shilimkarb2b97622010-06-16 22:19:48 +053048AFLAGS_sleep44xx.o :=-Wa,-march=armv7-a$(plus_sec)
Santosh Shilimkar934f8be2009-04-28 20:52:05 +053049
Tony Lindgrenc2d43e32008-07-03 12:24:38 +030050# Functions loaded to SRAM
Tony Lindgren59b479e2011-01-27 16:39:40 -080051obj-$(CONFIG_SOC_OMAP2420) += sram242x.o
52obj-$(CONFIG_SOC_OMAP2430) += sram243x.o
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +030053obj-$(CONFIG_ARCH_OMAP3) += sram34xx.o
Tony Lindgrenc2d43e32008-07-03 12:24:38 +030054
Tony Lindgren56213ca2010-02-12 12:26:46 -080055AFLAGS_sram242x.o :=-Wa,-march=armv6
56AFLAGS_sram243x.o :=-Wa,-march=armv6
57AFLAGS_sram34xx.o :=-Wa,-march=armv7-a
58
Paul Walmsley2f334a32012-10-29 20:56:07 -060059# Restart code (OMAP4/5 currently in omap4-common.c)
60obj-$(CONFIG_SOC_OMAP2420) += omap2-restart.o
61obj-$(CONFIG_SOC_OMAP2430) += omap2-restart.o
Jean-Sebastien A. Beaudry14e067c2013-01-23 16:02:40 -050062obj-$(CONFIG_SOC_AM33XX) += am33xx-restart.o
Paul Walmsley2f334a32012-10-29 20:56:07 -060063obj-$(CONFIG_ARCH_OMAP3) += omap3-restart.o
Afzal Mohammedab4c2e12013-05-27 20:05:19 +053064obj-$(CONFIG_ARCH_OMAP4) += omap4-restart.o
65obj-$(CONFIG_SOC_OMAP5) += omap4-restart.o
Rajendra Nayak1d597b02013-07-09 13:02:15 +053066obj-$(CONFIG_SOC_DRA7XX) += omap4-restart.o
Paul Walmsley2f334a32012-10-29 20:56:07 -060067
Tony Lindgrenddaa9122009-12-11 16:16:32 -080068# Pin multiplexing
Tony Lindgren59b479e2011-01-27 16:39:40 -080069obj-$(CONFIG_SOC_OMAP2420) += mux2420.o
70obj-$(CONFIG_SOC_OMAP2430) += mux2430.o
Tony Lindgrenddaa9122009-12-11 16:16:32 -080071obj-$(CONFIG_ARCH_OMAP3) += mux34xx.o
72
Paul Walmsleyf2ab9972009-01-28 12:27:37 -070073# SMS/SDRC
74obj-$(CONFIG_ARCH_OMAP2) += sdrc2xxx.o
75# obj-$(CONFIG_ARCH_OMAP3) += sdrc3xxx.o
76
Nishanth Menonfd1478c2010-12-09 09:13:46 -060077# OPP table initialization
78ifeq ($(CONFIG_PM_OPP),y)
79obj-y += opp.o
80obj-$(CONFIG_ARCH_OMAP3) += opp3xxx_data.o
Nishanth Menonf5a64222010-12-09 09:13:47 -060081obj-$(CONFIG_ARCH_OMAP4) += opp4xxx_data.o
Nishanth Menonfd1478c2010-12-09 09:13:46 -060082endif
83
Tony Lindgren120db2c2006-04-02 17:46:27 +010084# Power Management
Tony Lindgren0b4b61c2012-11-14 08:40:00 -080085obj-$(CONFIG_OMAP_PM_NOOP) += omap-pm-noop.o
86
Tony Lindgren1835f1d2008-10-06 15:49:15 +030087ifeq ($(CONFIG_PM),y)
Paul Walmsley139563a2012-10-21 01:01:10 -060088obj-$(CONFIG_ARCH_OMAP2) += pm24xx.o
89obj-$(CONFIG_ARCH_OMAP2) += sleep24xx.o
Santosh Shilimkareb401552012-04-28 19:57:32 +053090obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o
Santosh Shilimkareb401552012-04-28 19:57:32 +053091obj-$(CONFIG_ARCH_OMAP4) += pm44xx.o omap-mpuss-lowpower.o
Paul Walmsley139563a2012-10-21 01:01:10 -060092obj-$(CONFIG_SOC_OMAP5) += omap-mpuss-lowpower.o
R Sricharanbfe92112013-07-03 11:38:50 +053093obj-$(CONFIG_SOC_DRA7XX) += omap-mpuss-lowpower.o
Kevin Hilman8bd22942009-05-28 10:56:16 -070094obj-$(CONFIG_PM_DEBUG) += pm-debug.o
Jean Pihet7fb149f2012-04-24 11:38:50 +053095
Jean Pihet21ff63a2012-04-25 16:43:17 +053096obj-$(CONFIG_POWER_AVS_OMAP) += sr_device.o
Paul Walmsley139563a2012-10-21 01:01:10 -060097obj-$(CONFIG_POWER_AVS_OMAP_CLASS3) += smartreflex-class3.o
Tony Lindgren56213ca2010-02-12 12:26:46 -080098
99AFLAGS_sleep24xx.o :=-Wa,-march=armv6
Oskar Andero6ba59322011-04-26 02:24:50 -0700100AFLAGS_sleep34xx.o :=-Wa,-march=armv7-a$(plus_sec)
Tony Lindgren56213ca2010-02-12 12:26:46 -0800101
Tony Lindgren1835f1d2008-10-06 15:49:15 +0300102endif
Tony Lindgren120db2c2006-04-02 17:46:27 +0100103
Daniel Lezcano164e0cb2012-05-10 12:02:57 +0200104ifeq ($(CONFIG_CPU_IDLE),y)
Paul Walmsley139563a2012-10-21 01:01:10 -0600105obj-$(CONFIG_ARCH_OMAP3) += cpuidle34xx.o
106obj-$(CONFIG_ARCH_OMAP4) += cpuidle44xx.o
Daniel Lezcano164e0cb2012-05-10 12:02:57 +0200107endif
108
Paul Walmsley71348bc2009-09-03 20:14:02 +0300109# PRCM
Paul Walmsleyb99db362012-10-29 20:59:29 -0600110obj-y += prm_common.o cm_common.o
Paul Walmsleyff4ae5d2012-10-21 01:01:11 -0600111obj-$(CONFIG_ARCH_OMAP2) += prm2xxx_3xxx.o prm2xxx.o cm2xxx.o
112obj-$(CONFIG_ARCH_OMAP3) += prm2xxx_3xxx.o prm3xxx.o cm3xxx.o
Paul Walmsleydf47adb2012-09-11 19:09:15 -0600113obj-$(CONFIG_ARCH_OMAP3) += vc3xxx_data.o vp3xxx_data.o
114obj-$(CONFIG_SOC_AM33XX) += prm33xx.o cm33xx.o
115omap-prcm-4-5-common = cminst44xx.o cm44xx.o prm44xx.o \
R Sricharan05e152c2012-06-05 16:21:32 +0530116 prcm_mpu44xx.o prminst44xx.o \
Paul Walmsley139563a2012-10-21 01:01:10 -0600117 vc44xx_data.o vp44xx_data.o
Paul Walmsleydf47adb2012-09-11 19:09:15 -0600118obj-$(CONFIG_ARCH_OMAP4) += $(omap-prcm-4-5-common)
R Sricharan05e152c2012-06-05 16:21:32 +0530119obj-$(CONFIG_SOC_OMAP5) += $(omap-prcm-4-5-common)
R Sricharanbfe92112013-07-03 11:38:50 +0530120obj-$(CONFIG_SOC_DRA7XX) += $(omap-prcm-4-5-common)
Afzal Mohammedd9df6e12013-10-12 15:46:28 +0530121obj-$(CONFIG_SOC_AM43XX) += $(omap-prcm-4-5-common)
Paul Walmsleyc0718df2011-03-10 22:17:45 -0700122
123# OMAP voltage domains
Paul Walmsley139563a2012-10-21 01:01:10 -0600124voltagedomain-common := voltage.o vc.o vp.o
125obj-$(CONFIG_ARCH_OMAP2) += $(voltagedomain-common)
Santosh Shilimkareb401552012-04-28 19:57:32 +0530126obj-$(CONFIG_ARCH_OMAP2) += voltagedomains2xxx_data.o
Paul Walmsley139563a2012-10-21 01:01:10 -0600127obj-$(CONFIG_ARCH_OMAP3) += $(voltagedomain-common)
Santosh Shilimkareb401552012-04-28 19:57:32 +0530128obj-$(CONFIG_ARCH_OMAP3) += voltagedomains3xxx_data.o
Paul Walmsley139563a2012-10-21 01:01:10 -0600129obj-$(CONFIG_ARCH_OMAP4) += $(voltagedomain-common)
Santosh Shilimkareb401552012-04-28 19:57:32 +0530130obj-$(CONFIG_ARCH_OMAP4) += voltagedomains44xx_data.o
Paul Walmsley139563a2012-10-21 01:01:10 -0600131obj-$(CONFIG_SOC_AM33XX) += $(voltagedomain-common)
Afzal Mohammed33f82f332013-05-27 20:05:41 +0530132obj-$(CONFIG_SOC_AM43XX) += $(voltagedomain-common)
Paul Walmsley139563a2012-10-21 01:01:10 -0600133obj-$(CONFIG_SOC_OMAP5) += $(voltagedomain-common)
Santosh Shilimkare4020aa2013-05-29 12:38:12 -0400134obj-$(CONFIG_SOC_OMAP5) += voltagedomains54xx_data.o
Tero Kristo68b9f602014-01-10 11:25:28 +0200135obj-$(CONFIG_SOC_DRA7XX) += $(voltagedomain-common)
Rajendra Nayak74bea6b2010-12-21 20:01:17 -0700136
137# OMAP powerdomain framework
Paul Walmsley139563a2012-10-21 01:01:10 -0600138powerdomain-common += powerdomain.o powerdomain-common.o
139obj-$(CONFIG_ARCH_OMAP2) += $(powerdomain-common)
Santosh Shilimkareb401552012-04-28 19:57:32 +0530140obj-$(CONFIG_ARCH_OMAP2) += powerdomains2xxx_data.o
Santosh Shilimkareb401552012-04-28 19:57:32 +0530141obj-$(CONFIG_ARCH_OMAP2) += powerdomains2xxx_3xxx_data.o
Paul Walmsley139563a2012-10-21 01:01:10 -0600142obj-$(CONFIG_ARCH_OMAP3) += $(powerdomain-common)
Santosh Shilimkareb401552012-04-28 19:57:32 +0530143obj-$(CONFIG_ARCH_OMAP3) += powerdomains3xxx_data.o
144obj-$(CONFIG_ARCH_OMAP3) += powerdomains2xxx_3xxx_data.o
Paul Walmsley139563a2012-10-21 01:01:10 -0600145obj-$(CONFIG_ARCH_OMAP4) += $(powerdomain-common)
Santosh Shilimkareb401552012-04-28 19:57:32 +0530146obj-$(CONFIG_ARCH_OMAP4) += powerdomains44xx_data.o
Paul Walmsley139563a2012-10-21 01:01:10 -0600147obj-$(CONFIG_SOC_AM33XX) += $(powerdomain-common)
Vaibhav Hiremath3f0ea762012-06-18 00:47:27 -0600148obj-$(CONFIG_SOC_AM33XX) += powerdomains33xx_data.o
Afzal Mohammed33f82f332013-05-27 20:05:41 +0530149obj-$(CONFIG_SOC_AM43XX) += $(powerdomain-common)
Afzal Mohammedd9df6e12013-10-12 15:46:28 +0530150obj-$(CONFIG_SOC_AM43XX) += powerdomains43xx_data.o
Paul Walmsley139563a2012-10-21 01:01:10 -0600151obj-$(CONFIG_SOC_OMAP5) += $(powerdomain-common)
Santosh Shilimkare4020aa2013-05-29 12:38:12 -0400152obj-$(CONFIG_SOC_OMAP5) += powerdomains54xx_data.o
R Sricharanbfe92112013-07-03 11:38:50 +0530153obj-$(CONFIG_SOC_DRA7XX) += $(powerdomain-common)
Ambresh K97dd16b2013-07-09 13:02:13 +0530154obj-$(CONFIG_SOC_DRA7XX) += powerdomains7xx_data.o
Paul Walmsley71348bc2009-09-03 20:14:02 +0300155
Paul Walmsleydc0b3a72010-12-21 20:01:20 -0700156# PRCM clockdomain control
Paul Walmsley139563a2012-10-21 01:01:10 -0600157clockdomain-common += clockdomain.o
158obj-$(CONFIG_ARCH_OMAP2) += $(clockdomain-common)
Santosh Shilimkareb401552012-04-28 19:57:32 +0530159obj-$(CONFIG_ARCH_OMAP2) += clockdomains2xxx_3xxx_data.o
Paul Walmsleya5ffef62011-09-14 16:01:21 -0600160obj-$(CONFIG_SOC_OMAP2420) += clockdomains2420_data.o
161obj-$(CONFIG_SOC_OMAP2430) += clockdomains2430_data.o
Paul Walmsley139563a2012-10-21 01:01:10 -0600162obj-$(CONFIG_ARCH_OMAP3) += $(clockdomain-common)
Santosh Shilimkareb401552012-04-28 19:57:32 +0530163obj-$(CONFIG_ARCH_OMAP3) += clockdomains2xxx_3xxx_data.o
164obj-$(CONFIG_ARCH_OMAP3) += clockdomains3xxx_data.o
Paul Walmsley139563a2012-10-21 01:01:10 -0600165obj-$(CONFIG_ARCH_OMAP4) += $(clockdomain-common)
Santosh Shilimkareb401552012-04-28 19:57:32 +0530166obj-$(CONFIG_ARCH_OMAP4) += clockdomains44xx_data.o
Paul Walmsley139563a2012-10-21 01:01:10 -0600167obj-$(CONFIG_SOC_AM33XX) += $(clockdomain-common)
Vaibhav Hiremath9c80f3a2012-06-18 00:47:27 -0600168obj-$(CONFIG_SOC_AM33XX) += clockdomains33xx_data.o
Afzal Mohammed33f82f332013-05-27 20:05:41 +0530169obj-$(CONFIG_SOC_AM43XX) += $(clockdomain-common)
Afzal Mohammedd9df6e12013-10-12 15:46:28 +0530170obj-$(CONFIG_SOC_AM43XX) += clockdomains43xx_data.o
Paul Walmsley139563a2012-10-21 01:01:10 -0600171obj-$(CONFIG_SOC_OMAP5) += $(clockdomain-common)
Santosh Shilimkare4020aa2013-05-29 12:38:12 -0400172obj-$(CONFIG_SOC_OMAP5) += clockdomains54xx_data.o
R Sricharanbfe92112013-07-03 11:38:50 +0530173obj-$(CONFIG_SOC_DRA7XX) += $(clockdomain-common)
Ambresh K11fadcf2013-07-09 13:02:12 +0530174obj-$(CONFIG_SOC_DRA7XX) += clockdomains7xx_data.o
Paul Walmsley530e5442011-02-25 15:39:28 -0700175
Paul Walmsley3d876e52008-03-18 14:41:40 +0200176# Clock framework
Paul Walmsley139563a2012-10-21 01:01:10 -0600177obj-$(CONFIG_ARCH_OMAP2) += $(clock-common) clock2xxx.o
178obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_sys.o
179obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_dpllcore.o
Santosh Shilimkareb401552012-04-28 19:57:32 +0530180obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_virt_prcm_set.o
181obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_apll.o clkt2xxx_osc.o
182obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_dpll.o clkt_iclk.o
Rajendra Nayakf7f73aa2012-04-27 16:27:51 +0530183obj-$(CONFIG_SOC_OMAP2420) += cclock2420_data.o
184obj-$(CONFIG_SOC_OMAP2430) += clock2430.o cclock2430_data.o
Paul Walmsley139563a2012-10-21 01:01:10 -0600185obj-$(CONFIG_ARCH_OMAP3) += $(clock-common) clock3xxx.o
Santosh Shilimkareb401552012-04-28 19:57:32 +0530186obj-$(CONFIG_ARCH_OMAP3) += clock34xx.o clkt34xx_dpll3m2.o
Paul Walmsley139563a2012-10-21 01:01:10 -0600187obj-$(CONFIG_ARCH_OMAP3) += clock3517.o clock36xx.o
Rajendra Nayakf7f73aa2012-04-27 16:27:51 +0530188obj-$(CONFIG_ARCH_OMAP3) += dpll3xxx.o cclock3xxx_data.o
Paul Walmsley139563a2012-10-21 01:01:10 -0600189obj-$(CONFIG_ARCH_OMAP3) += clkt_iclk.o
Tero Kristoc8c88d82013-07-18 16:04:00 +0300190obj-$(CONFIG_ARCH_OMAP4) += $(clock-common)
Santosh Shilimkareb401552012-04-28 19:57:32 +0530191obj-$(CONFIG_ARCH_OMAP4) += dpll3xxx.o dpll44xx.o
Paul Walmsley139563a2012-10-21 01:01:10 -0600192obj-$(CONFIG_SOC_AM33XX) += $(clock-common) dpll3xxx.o
Rajendra Nayakf7f73aa2012-04-27 16:27:51 +0530193obj-$(CONFIG_SOC_AM33XX) += cclock33xx_data.o
Paul Walmsley139563a2012-10-21 01:01:10 -0600194obj-$(CONFIG_SOC_OMAP5) += $(clock-common)
R Sricharan05e152c2012-06-05 16:21:32 +0530195obj-$(CONFIG_SOC_OMAP5) += dpll3xxx.o dpll44xx.o
Tero Kristo87a85b62014-01-10 11:20:18 +0200196obj-$(CONFIG_SOC_DRA7XX) += $(clock-common)
197obj-$(CONFIG_SOC_DRA7XX) += dpll3xxx.o dpll44xx.o
198obj-$(CONFIG_SOC_AM43XX) += $(clock-common) dpll3xxx.o
Paul Walmsley657ebfa2010-02-22 22:09:20 -0700199
200# OMAP2 clock rate set data (old "OPP" data)
Tony Lindgren59b479e2011-01-27 16:39:40 -0800201obj-$(CONFIG_SOC_OMAP2420) += opp2420_data.o
202obj-$(CONFIG_SOC_OMAP2430) += opp2430_data.o
Paul Walmsley3d876e52008-03-18 14:41:40 +0200203
Paul Walmsley73591542010-02-22 22:09:32 -0700204# hwmod data
Santosh Shilimkareb401552012-04-28 19:57:32 +0530205obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_ipblock_data.o
206obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_3xxx_ipblock_data.o
207obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_interconnect_data.o
208obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_3xxx_interconnect_data.o
209obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2420_data.o
210obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2xxx_ipblock_data.o
211obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2xxx_3xxx_ipblock_data.o
212obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2xxx_interconnect_data.o
213obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2xxx_3xxx_interconnect_data.o
214obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2430_data.o
215obj-$(CONFIG_ARCH_OMAP3) += omap_hwmod_2xxx_3xxx_ipblock_data.o
216obj-$(CONFIG_ARCH_OMAP3) += omap_hwmod_2xxx_3xxx_interconnect_data.o
217obj-$(CONFIG_ARCH_OMAP3) += omap_hwmod_3xxx_data.o
Vaibhav Hirematha2cfc502012-07-25 13:51:13 -0600218obj-$(CONFIG_SOC_AM33XX) += omap_hwmod_33xx_data.o
Afzal Mohammed26649462013-10-12 15:44:46 +0530219obj-$(CONFIG_SOC_AM33XX) += omap_hwmod_33xx_43xx_interconnect_data.o
220obj-$(CONFIG_SOC_AM33XX) += omap_hwmod_33xx_43xx_ipblock_data.o
Afzal Mohammedd9df6e12013-10-12 15:46:28 +0530221obj-$(CONFIG_SOC_AM43XX) += omap_hwmod_43xx_data.o
222obj-$(CONFIG_SOC_AM43XX) += omap_hwmod_33xx_43xx_interconnect_data.o
223obj-$(CONFIG_SOC_AM43XX) += omap_hwmod_33xx_43xx_ipblock_data.o
Benoit Cousson55d2cb02010-05-12 17:54:36 +0200224obj-$(CONFIG_ARCH_OMAP4) += omap_hwmod_44xx_data.o
Santosh Shilimkare4020aa2013-05-29 12:38:12 -0400225obj-$(CONFIG_SOC_OMAP5) += omap_hwmod_54xx_data.o
Ambresh K90020c72013-07-09 13:02:16 +0530226obj-$(CONFIG_SOC_DRA7XX) += omap_hwmod_7xx_data.o
Tony Lindgren1dbae812005-11-10 14:26:51 +0000227
Alexander Shishkin183bd502009-12-01 14:03:31 +0100228# EMU peripherals
Paul Walmsley657ebfa2010-02-22 22:09:20 -0700229obj-$(CONFIG_OMAP3_EMU) += emu.o
Jon Hunteree75d952012-09-23 17:28:29 -0600230obj-$(CONFIG_HW_PERF_EVENTS) += pmu.o
Alexander Shishkin183bd502009-12-01 14:03:31 +0100231
Hiroshi DOYU0bbc6fc2010-05-24 09:35:11 +0300232iommu-$(CONFIG_OMAP_IOMMU) := omap-iommu.o
233obj-y += $(iommu-m) $(iommu-y)
Hiroshi DOYUcaf60772009-01-28 21:32:09 +0200234
Felipe Contreras90173882010-10-04 19:09:14 +0300235ifneq ($(CONFIG_TIDSPBRIDGE),)
236obj-y += dsp.o
237endif
238
Tony Lindgrenad1b6662012-05-08 17:23:33 -0600239# OMAP2420 MSDI controller integration support ("MMC")
240obj-$(CONFIG_SOC_OMAP2420) += msdi.o
241
Tony Lindgren1dbae812005-11-10 14:26:51 +0000242# Specific board support
Tony Lindgren6a08e1e2013-09-25 15:44:39 -0700243obj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o pdata-quirks.o
Tony Lindgren1dbae812005-11-10 14:26:51 +0000244obj-$(CONFIG_MACH_OMAP_H4) += board-h4.o
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700245obj-$(CONFIG_MACH_OMAP_2430SDP) += board-2430sdp.o
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700246obj-$(CONFIG_MACH_OMAP3_BEAGLE) += board-omap3beagle.o
Paul Walmsley139563a2012-10-21 01:01:10 -0600247obj-$(CONFIG_MACH_DEVKIT8000) += board-devkit8000.o
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700248obj-$(CONFIG_MACH_OMAP_LDP) += board-ldp.o
Paul Walmsley139563a2012-10-21 01:01:10 -0600249obj-$(CONFIG_MACH_OMAP3530_LV_SOM) += board-omap3logic.o
250obj-$(CONFIG_MACH_OMAP3_TORPEDO) += board-omap3logic.o
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700251obj-$(CONFIG_MACH_OVERO) += board-overo.o
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700252obj-$(CONFIG_MACH_OMAP3_PANDORA) += board-omap3pandora.o
253obj-$(CONFIG_MACH_OMAP_3430SDP) += board-3430sdp.o
Kalle Valo63138812009-08-28 10:51:38 -0700254obj-$(CONFIG_MACH_NOKIA_N8X0) += board-n8x0.o
Santosh Shilimkareb401552012-04-28 19:57:32 +0530255obj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51.o sdram-nokia.o
256obj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51-peripherals.o
257obj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51-video.o
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700258obj-$(CONFIG_MACH_CM_T35) += board-cm-t35.o
Igor Grinbergd04b6202010-09-21 16:03:09 +0000259obj-$(CONFIG_MACH_CM_T3517) += board-cm-t3517.o
Radek Pilara17fb8f2012-08-17 18:03:43 +0200260obj-$(CONFIG_MACH_TOUCHBOOK) += board-omap3touchbook.o
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700261
Felipe Balbib3c3dc22011-07-10 12:22:20 +0300262obj-$(CONFIG_MACH_OMAP3517EVM) += board-am3517evm.o
Ranjith Lohithakshanc6253272009-11-18 18:41:09 -0800263
Srinath1cb125c2010-11-16 14:26:58 -0800264obj-$(CONFIG_MACH_CRANEBOARD) += board-am3517crane.o
265
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700266obj-$(CONFIG_MACH_SBC3530) += board-omap3stalker.o
Hemant Pedanekar2c87fb22011-02-15 23:06:08 +0530267obj-$(CONFIG_MACH_TI8168EVM) += board-ti8168evm.o
Hemant Pedanekara890b672011-12-13 10:48:55 -0800268obj-$(CONFIG_MACH_TI8148EVM) += board-ti8168evm.o
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700269
Felipe Balbi18cb7ac2009-03-23 18:34:06 -0700270# Platform specific device init code
Tony Lindgrenf41cadd2011-08-22 23:57:23 -0700271
272omap-flash-$(CONFIG_MTD_NAND_OMAP2) := board-flash.o
273omap-flash-$(CONFIG_MTD_ONENAND_OMAP2) := board-flash.o
274obj-y += $(omap-flash-y) $(omap-flash-m)
275
276omap-hsmmc-$(CONFIG_MMC_OMAP_HS) := hsmmc.o
277obj-y += $(omap-hsmmc-m) $(omap-hsmmc-y)
278
Felipe Balbi18cb7ac2009-03-23 18:34:06 -0700279obj-y += usb-musb.o
Felipe Balbib3c3dc22011-07-10 12:22:20 +0300280obj-y += omap_phy_internal.o
281
Kalle Valo1b52d5d2009-08-28 10:51:37 -0700282obj-$(CONFIG_MACH_OMAP2_TUSB6010) += usb-tusb6010.o
Felipe Balbia8480ea2011-03-01 20:08:15 +0530283obj-y += usb-host.o
Juha Yrjolaaa62e902009-05-28 13:23:52 -0700284
285onenand-$(CONFIG_MTD_ONENAND_OMAP2) := gpmc-onenand.o
286obj-y += $(onenand-m) $(onenand-y)
Tony Lindgren1a48e152009-05-28 13:23:52 -0700287
Vimal Singh2f70a1e2010-02-15 10:03:33 -0800288nand-$(CONFIG_MTD_NAND_OMAP2) := gpmc-nand.o
289obj-y += $(nand-m) $(nand-y)
290
Tony Lindgren1a48e152009-05-28 13:23:52 -0700291smc91x-$(CONFIG_SMC91X) := gpmc-smc91x.o
292obj-y += $(smc91x-m) $(smc91x-y)
Tim Nordellcdd280b2010-09-27 16:05:49 +0000293
294smsc911x-$(CONFIG_SMSC911X) := gpmc-smsc911x.o
295obj-y += $(smsc911x-m) $(smsc911x-y)
Ohad Ben-Cohenbe89cd92012-03-05 16:11:02 -0800296ifneq ($(CONFIG_HWSPINLOCK_OMAP),)
297obj-y += hwspinlock.o
298endif
Sumit Semwalb7ee79a2011-01-24 06:21:54 +0000299
Ilya Yanoka8195ba2012-03-05 11:08:36 -0800300emac-$(CONFIG_TI_DAVINCI_EMAC) := am35xx-emac.o
301obj-y += $(emac-m) $(emac-y)
302
Tomi Valkeinen0191bf32012-11-05 15:14:17 +0200303obj-y += common-board-devices.o twl-common.o dss-common.o