Tony Lindgren | 1dbae81 | 2005-11-10 14:26:51 +0000 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the linux kernel. |
| 3 | # |
| 4 | |
| 5 | # Common support |
Tony Lindgren | 0f622e8 | 2011-03-29 15:54:50 -0700 | [diff] [blame] | 6 | obj-y := id.o io.o control.o mux.o devices.o serial.o gpmc.o timer.o pm.o \ |
Paul Walmsley | 9e1b749 | 2012-05-08 11:34:27 -0600 | [diff] [blame] | 7 | common.o gpio.o dma.o wd_timer.o display.o i2c.o hdq1w.o |
Tony Lindgren | d760766 | 2009-05-25 11:26:47 -0700 | [diff] [blame] | 8 | |
Paul Walmsley | 59fb659 | 2010-12-21 15:30:55 -0700 | [diff] [blame] | 9 | omap-2-3-common = irq.o sdrc.o |
Paul Walmsley | 43b4099 | 2010-02-22 22:09:34 -0700 | [diff] [blame] | 10 | hwmod-common = omap_hwmod.o \ |
Thara Gopinath | 358f0e6 | 2010-02-24 12:05:58 -0700 | [diff] [blame] | 11 | omap_hwmod_common_data.o |
Paul Walmsley | 0b96af6 | 2010-01-26 20:13:03 -0700 | [diff] [blame] | 12 | clock-common = clock.o clock_common_data.o \ |
Paul Walmsley | dc0b3a7 | 2010-12-21 20:01:20 -0700 | [diff] [blame] | 13 | clkt_dpll.o clkt_clksel.o |
Santosh Shilimkar | fef67c5 | 2012-02-06 15:49:47 +0530 | [diff] [blame] | 14 | secure-common = omap-smc.o omap-secure.o |
Tony Lindgren | d760766 | 2009-05-25 11:26:47 -0700 | [diff] [blame] | 15 | |
Santosh Shilimkar | fef67c5 | 2012-02-06 15:49:47 +0530 | [diff] [blame] | 16 | obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(hwmod-common) |
Santosh Shilimkar | ba9456a | 2011-06-06 17:56:49 +0530 | [diff] [blame] | 17 | obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(hwmod-common) $(secure-common) |
| 18 | obj-$(CONFIG_ARCH_OMAP4) += prm44xx.o $(hwmod-common) $(secure-common) |
Tony Lindgren | 1dbae81 | 2005-11-10 14:26:51 +0000 | [diff] [blame] | 19 | |
Peter Ujfalusi | 3ead467 | 2012-03-09 10:23:27 +0200 | [diff] [blame] | 20 | ifneq ($(CONFIG_SND_OMAP_SOC_MCBSP),) |
| 21 | obj-y += mcbsp.o |
| 22 | endif |
Eduardo Valentin | 78673bc | 2008-07-03 12:24:40 +0300 | [diff] [blame] | 23 | |
Thara Gopinath | fbc319f | 2010-12-10 22:51:05 +0530 | [diff] [blame] | 24 | obj-$(CONFIG_TWL4030_CORE) += omap_twl.o |
| 25 | |
Santosh Shilimkar | 934f8be | 2009-04-28 20:52:05 +0530 | [diff] [blame] | 26 | # SMP support ONLY available for OMAP4 |
| 27 | obj-$(CONFIG_SMP) += omap-smp.o omap-headsmp.o |
Santosh Shilimkar | 7d35b8d | 2010-08-02 13:18:19 +0300 | [diff] [blame] | 28 | obj-$(CONFIG_HOTPLUG_CPU) += omap-hotplug.o |
Santosh Shilimkar | b2b9762 | 2010-06-16 22:19:48 +0530 | [diff] [blame] | 29 | obj-$(CONFIG_ARCH_OMAP4) += omap4-common.o omap-wakeupgen.o \ |
| 30 | sleep44xx.o |
Santosh Shilimkar | d660f9a | 2010-03-11 07:33:46 +0000 | [diff] [blame] | 31 | |
John Rigby | fe297dd | 2010-12-01 05:57:51 +0000 | [diff] [blame] | 32 | plus_sec := $(call as-instr,.arch_extension sec,+sec) |
| 33 | AFLAGS_omap-headsmp.o :=-Wa,-march=armv7-a$(plus_sec) |
Santosh Shilimkar | ba9456a | 2011-06-06 17:56:49 +0530 | [diff] [blame] | 34 | AFLAGS_omap-smc.o :=-Wa,-march=armv7-a$(plus_sec) |
Santosh Shilimkar | b2b9762 | 2010-06-16 22:19:48 +0530 | [diff] [blame] | 35 | AFLAGS_sleep44xx.o :=-Wa,-march=armv7-a$(plus_sec) |
Santosh Shilimkar | 934f8be | 2009-04-28 20:52:05 +0530 | [diff] [blame] | 36 | |
Tony Lindgren | c2d43e3 | 2008-07-03 12:24:38 +0300 | [diff] [blame] | 37 | # Functions loaded to SRAM |
Tony Lindgren | 59b479e | 2011-01-27 16:39:40 -0800 | [diff] [blame] | 38 | obj-$(CONFIG_SOC_OMAP2420) += sram242x.o |
| 39 | obj-$(CONFIG_SOC_OMAP2430) += sram243x.o |
Syed Mohammed, Khasim | cc26b3b | 2008-10-09 17:51:41 +0300 | [diff] [blame] | 40 | obj-$(CONFIG_ARCH_OMAP3) += sram34xx.o |
Tony Lindgren | c2d43e3 | 2008-07-03 12:24:38 +0300 | [diff] [blame] | 41 | |
Tony Lindgren | 56213ca | 2010-02-12 12:26:46 -0800 | [diff] [blame] | 42 | AFLAGS_sram242x.o :=-Wa,-march=armv6 |
| 43 | AFLAGS_sram243x.o :=-Wa,-march=armv6 |
| 44 | AFLAGS_sram34xx.o :=-Wa,-march=armv7-a |
| 45 | |
Tony Lindgren | ddaa912 | 2009-12-11 16:16:32 -0800 | [diff] [blame] | 46 | # Pin multiplexing |
Tony Lindgren | 59b479e | 2011-01-27 16:39:40 -0800 | [diff] [blame] | 47 | obj-$(CONFIG_SOC_OMAP2420) += mux2420.o |
| 48 | obj-$(CONFIG_SOC_OMAP2430) += mux2430.o |
Tony Lindgren | ddaa912 | 2009-12-11 16:16:32 -0800 | [diff] [blame] | 49 | obj-$(CONFIG_ARCH_OMAP3) += mux34xx.o |
Benoit Cousson | a041a52 | 2010-08-10 17:27:48 +0200 | [diff] [blame] | 50 | obj-$(CONFIG_ARCH_OMAP4) += mux44xx.o |
Tony Lindgren | ddaa912 | 2009-12-11 16:16:32 -0800 | [diff] [blame] | 51 | |
Paul Walmsley | f2ab997 | 2009-01-28 12:27:37 -0700 | [diff] [blame] | 52 | # SMS/SDRC |
| 53 | obj-$(CONFIG_ARCH_OMAP2) += sdrc2xxx.o |
| 54 | # obj-$(CONFIG_ARCH_OMAP3) += sdrc3xxx.o |
| 55 | |
Nishanth Menon | fd1478c | 2010-12-09 09:13:46 -0600 | [diff] [blame] | 56 | # OPP table initialization |
| 57 | ifeq ($(CONFIG_PM_OPP),y) |
| 58 | obj-y += opp.o |
| 59 | obj-$(CONFIG_ARCH_OMAP3) += opp3xxx_data.o |
Nishanth Menon | f5a6422 | 2010-12-09 09:13:47 -0600 | [diff] [blame] | 60 | obj-$(CONFIG_ARCH_OMAP4) += opp4xxx_data.o |
Nishanth Menon | fd1478c | 2010-12-09 09:13:46 -0600 | [diff] [blame] | 61 | endif |
| 62 | |
Tony Lindgren | 120db2c | 2006-04-02 17:46:27 +0100 | [diff] [blame] | 63 | # Power Management |
Tony Lindgren | 1835f1d | 2008-10-06 15:49:15 +0300 | [diff] [blame] | 64 | ifeq ($(CONFIG_PM),y) |
Kevin Hilman | 8bd2294 | 2009-05-28 10:56:16 -0700 | [diff] [blame] | 65 | obj-$(CONFIG_ARCH_OMAP2) += pm24xx.o |
Kevin Hilman | 638080c | 2011-04-29 00:36:42 +0200 | [diff] [blame] | 66 | obj-$(CONFIG_ARCH_OMAP2) += sleep24xx.o |
Paul Walmsley | c0718df | 2011-03-10 22:17:45 -0700 | [diff] [blame] | 67 | obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o \ |
Kevin Hilman | 638080c | 2011-04-29 00:36:42 +0200 | [diff] [blame] | 68 | cpuidle34xx.o |
Santosh Shilimkar | 9827266 | 2011-08-16 17:31:40 +0530 | [diff] [blame] | 69 | obj-$(CONFIG_ARCH_OMAP4) += pm44xx.o omap-mpuss-lowpower.o \ |
| 70 | cpuidle44xx.o |
Kevin Hilman | 8bd2294 | 2009-05-28 10:56:16 -0700 | [diff] [blame] | 71 | obj-$(CONFIG_PM_DEBUG) += pm-debug.o |
Jean Pihet | 7fb149f | 2012-04-24 11:38:50 +0530 | [diff] [blame] | 72 | |
Jean Pihet | 21ff63a | 2012-04-25 16:43:17 +0530 | [diff] [blame^] | 73 | obj-$(CONFIG_POWER_AVS_OMAP) += sr_device.o |
| 74 | obj-$(CONFIG_POWER_AVS_OMAP_CLASS3) += smartreflex-class3.o |
Tony Lindgren | 56213ca | 2010-02-12 12:26:46 -0800 | [diff] [blame] | 75 | |
| 76 | AFLAGS_sleep24xx.o :=-Wa,-march=armv6 |
Oskar Andero | 6ba5932 | 2011-04-26 02:24:50 -0700 | [diff] [blame] | 77 | AFLAGS_sleep34xx.o :=-Wa,-march=armv7-a$(plus_sec) |
Tony Lindgren | 56213ca | 2010-02-12 12:26:46 -0800 | [diff] [blame] | 78 | |
Kevin Hilman | 57e6fe7 | 2009-11-05 19:06:01 -0800 | [diff] [blame] | 79 | ifeq ($(CONFIG_PM_VERBOSE),y) |
| 80 | CFLAGS_pm_bus.o += -DDEBUG |
| 81 | endif |
| 82 | |
Tony Lindgren | 1835f1d | 2008-10-06 15:49:15 +0300 | [diff] [blame] | 83 | endif |
Tony Lindgren | 120db2c | 2006-04-02 17:46:27 +0100 | [diff] [blame] | 84 | |
Paul Walmsley | 71348bc | 2009-09-03 20:14:02 +0300 | [diff] [blame] | 85 | # PRCM |
Tero Kristo | 0a84a91 | 2011-12-16 14:36:58 -0700 | [diff] [blame] | 86 | obj-y += prm_common.o |
Paul Walmsley | 59fb659 | 2010-12-21 15:30:55 -0700 | [diff] [blame] | 87 | obj-$(CONFIG_ARCH_OMAP2) += prcm.o cm2xxx_3xxx.o prm2xxx_3xxx.o |
Paul Walmsley | c0718df | 2011-03-10 22:17:45 -0700 | [diff] [blame] | 88 | obj-$(CONFIG_ARCH_OMAP3) += prcm.o cm2xxx_3xxx.o prm2xxx_3xxx.o \ |
| 89 | vc3xxx_data.o vp3xxx_data.o |
Paul Walmsley | 59fb659 | 2010-12-21 15:30:55 -0700 | [diff] [blame] | 90 | # XXX The presence of cm2xxx_3xxx.o on the line below is temporary and |
| 91 | # will be removed once the OMAP4 part of the codebase is converted to |
| 92 | # use OMAP4-specific PRCM functions. |
Paul Walmsley | 2ace831 | 2010-12-21 21:05:14 -0700 | [diff] [blame] | 93 | obj-$(CONFIG_ARCH_OMAP4) += prcm.o cm2xxx_3xxx.o cminst44xx.o \ |
| 94 | cm44xx.o prcm_mpu44xx.o \ |
Paul Walmsley | c0718df | 2011-03-10 22:17:45 -0700 | [diff] [blame] | 95 | prminst44xx.o vc44xx_data.o \ |
Tero Kristo | 0a84a91 | 2011-12-16 14:36:58 -0700 | [diff] [blame] | 96 | vp44xx_data.o prm44xx.o |
Paul Walmsley | c0718df | 2011-03-10 22:17:45 -0700 | [diff] [blame] | 97 | |
| 98 | # OMAP voltage domains |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 99 | voltagedomain-common := voltage.o vc.o vp.o |
Kevin Hilman | aae030f | 2011-03-23 16:09:41 -0700 | [diff] [blame] | 100 | obj-$(CONFIG_ARCH_OMAP2) += $(voltagedomain-common) \ |
| 101 | voltagedomains2xxx_data.o |
Paul Walmsley | c0718df | 2011-03-10 22:17:45 -0700 | [diff] [blame] | 102 | obj-$(CONFIG_ARCH_OMAP3) += $(voltagedomain-common) \ |
| 103 | voltagedomains3xxx_data.o |
| 104 | obj-$(CONFIG_ARCH_OMAP4) += $(voltagedomain-common) \ |
| 105 | voltagedomains44xx_data.o |
Rajendra Nayak | 74bea6b | 2010-12-21 20:01:17 -0700 | [diff] [blame] | 106 | |
| 107 | # OMAP powerdomain framework |
Paul Walmsley | 6e01478 | 2010-12-21 20:01:20 -0700 | [diff] [blame] | 108 | powerdomain-common += powerdomain.o powerdomain-common.o |
Rajendra Nayak | f327e07 | 2010-12-21 20:01:18 -0700 | [diff] [blame] | 109 | obj-$(CONFIG_ARCH_OMAP2) += $(powerdomain-common) \ |
Paul Walmsley | 6e01478 | 2010-12-21 20:01:20 -0700 | [diff] [blame] | 110 | powerdomain2xxx_3xxx.o \ |
| 111 | powerdomains2xxx_data.o \ |
| 112 | powerdomains2xxx_3xxx_data.o |
Rajendra Nayak | f327e07 | 2010-12-21 20:01:18 -0700 | [diff] [blame] | 113 | obj-$(CONFIG_ARCH_OMAP3) += $(powerdomain-common) \ |
Paul Walmsley | 6e01478 | 2010-12-21 20:01:20 -0700 | [diff] [blame] | 114 | powerdomain2xxx_3xxx.o \ |
| 115 | powerdomains3xxx_data.o \ |
| 116 | powerdomains2xxx_3xxx_data.o |
Rajendra Nayak | f327e07 | 2010-12-21 20:01:18 -0700 | [diff] [blame] | 117 | obj-$(CONFIG_ARCH_OMAP4) += $(powerdomain-common) \ |
Paul Walmsley | 6e01478 | 2010-12-21 20:01:20 -0700 | [diff] [blame] | 118 | powerdomain44xx.o \ |
| 119 | powerdomains44xx_data.o |
Paul Walmsley | 71348bc | 2009-09-03 20:14:02 +0300 | [diff] [blame] | 120 | |
Paul Walmsley | dc0b3a7 | 2010-12-21 20:01:20 -0700 | [diff] [blame] | 121 | # PRCM clockdomain control |
Paul Walmsley | 6ba5a69 | 2012-04-19 13:33:49 -0600 | [diff] [blame] | 122 | clockdomain-common += clockdomain.o \ |
| 123 | clockdomains_common_data.o |
| 124 | obj-$(CONFIG_ARCH_OMAP2) += $(clockdomain-common) \ |
Rajendra Nayak | 4aef7a2 | 2011-02-25 16:06:47 -0700 | [diff] [blame] | 125 | clockdomain2xxx_3xxx.o \ |
Paul Walmsley | dc0b3a7 | 2010-12-21 20:01:20 -0700 | [diff] [blame] | 126 | clockdomains2xxx_3xxx_data.o |
Paul Walmsley | a5ffef6 | 2011-09-14 16:01:21 -0600 | [diff] [blame] | 127 | obj-$(CONFIG_SOC_OMAP2420) += clockdomains2420_data.o |
| 128 | obj-$(CONFIG_SOC_OMAP2430) += clockdomains2430_data.o |
Paul Walmsley | 6ba5a69 | 2012-04-19 13:33:49 -0600 | [diff] [blame] | 129 | obj-$(CONFIG_ARCH_OMAP3) += $(clockdomain-common) \ |
Rajendra Nayak | 4aef7a2 | 2011-02-25 16:06:47 -0700 | [diff] [blame] | 130 | clockdomain2xxx_3xxx.o \ |
Paul Walmsley | a5ffef6 | 2011-09-14 16:01:21 -0600 | [diff] [blame] | 131 | clockdomains2xxx_3xxx_data.o \ |
| 132 | clockdomains3xxx_data.o |
Paul Walmsley | 6ba5a69 | 2012-04-19 13:33:49 -0600 | [diff] [blame] | 133 | obj-$(CONFIG_ARCH_OMAP4) += $(clockdomain-common) \ |
Rajendra Nayak | 68b921a | 2011-02-25 16:06:47 -0700 | [diff] [blame] | 134 | clockdomain44xx.o \ |
Paul Walmsley | dc0b3a7 | 2010-12-21 20:01:20 -0700 | [diff] [blame] | 135 | clockdomains44xx_data.o |
Paul Walmsley | 530e544 | 2011-02-25 15:39:28 -0700 | [diff] [blame] | 136 | |
Paul Walmsley | 3d876e5 | 2008-03-18 14:41:40 +0200 | [diff] [blame] | 137 | # Clock framework |
Paul Walmsley | 657ebfa | 2010-02-22 22:09:20 -0700 | [diff] [blame] | 138 | obj-$(CONFIG_ARCH_OMAP2) += $(clock-common) clock2xxx.o \ |
Paul Walmsley | 81b34fb | 2010-02-22 22:09:22 -0700 | [diff] [blame] | 139 | clkt2xxx_sys.o \ |
Paul Walmsley | 657ebfa | 2010-02-22 22:09:20 -0700 | [diff] [blame] | 140 | clkt2xxx_dpllcore.o \ |
| 141 | clkt2xxx_virt_prcm_set.o \ |
Paul Walmsley | 0fd0c21 | 2011-02-25 15:49:53 -0700 | [diff] [blame] | 142 | clkt2xxx_apll.o clkt2xxx_osc.o \ |
Paul Walmsley | 530e544 | 2011-02-25 15:39:28 -0700 | [diff] [blame] | 143 | clkt2xxx_dpll.o clkt_iclk.o |
Tony Lindgren | 59b479e | 2011-01-27 16:39:40 -0800 | [diff] [blame] | 144 | obj-$(CONFIG_SOC_OMAP2420) += clock2420_data.o |
| 145 | obj-$(CONFIG_SOC_OMAP2430) += clock2430.o clock2430_data.o |
Paul Walmsley | 657ebfa | 2010-02-22 22:09:20 -0700 | [diff] [blame] | 146 | obj-$(CONFIG_ARCH_OMAP3) += $(clock-common) clock3xxx.o \ |
| 147 | clock34xx.o clkt34xx_dpll3m2.o \ |
| 148 | clock3517.o clock36xx.o \ |
Paul Walmsley | 530e544 | 2011-02-25 15:39:28 -0700 | [diff] [blame] | 149 | dpll3xxx.o clock3xxx_data.o \ |
| 150 | clkt_iclk.o |
Paul Walmsley | 657ebfa | 2010-02-22 22:09:20 -0700 | [diff] [blame] | 151 | obj-$(CONFIG_ARCH_OMAP4) += $(clock-common) clock44xx_data.o \ |
Rajendra Nayak | 97f6789 | 2011-02-25 15:49:01 -0700 | [diff] [blame] | 152 | dpll3xxx.o dpll44xx.o |
Paul Walmsley | 657ebfa | 2010-02-22 22:09:20 -0700 | [diff] [blame] | 153 | |
| 154 | # OMAP2 clock rate set data (old "OPP" data) |
Tony Lindgren | 59b479e | 2011-01-27 16:39:40 -0800 | [diff] [blame] | 155 | obj-$(CONFIG_SOC_OMAP2420) += opp2420_data.o |
| 156 | obj-$(CONFIG_SOC_OMAP2430) += opp2430_data.o |
Paul Walmsley | 3d876e5 | 2008-03-18 14:41:40 +0200 | [diff] [blame] | 157 | |
Paul Walmsley | 7359154 | 2010-02-22 22:09:32 -0700 | [diff] [blame] | 158 | # hwmod data |
Paul Walmsley | 0d619a8 | 2011-07-09 19:14:07 -0600 | [diff] [blame] | 159 | obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_ipblock_data.o \ |
| 160 | omap_hwmod_2xxx_3xxx_ipblock_data.o \ |
| 161 | omap_hwmod_2xxx_interconnect_data.o \ |
Paul Walmsley | ded1138 | 2011-07-09 19:14:06 -0600 | [diff] [blame] | 162 | omap_hwmod_2xxx_3xxx_interconnect_data.o \ |
| 163 | omap_hwmod_2420_data.o |
Paul Walmsley | 0d619a8 | 2011-07-09 19:14:07 -0600 | [diff] [blame] | 164 | obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2xxx_ipblock_data.o \ |
| 165 | omap_hwmod_2xxx_3xxx_ipblock_data.o \ |
| 166 | omap_hwmod_2xxx_interconnect_data.o \ |
Paul Walmsley | ded1138 | 2011-07-09 19:14:06 -0600 | [diff] [blame] | 167 | omap_hwmod_2xxx_3xxx_interconnect_data.o \ |
| 168 | omap_hwmod_2430_data.o |
Paul Walmsley | 0d619a8 | 2011-07-09 19:14:07 -0600 | [diff] [blame] | 169 | obj-$(CONFIG_ARCH_OMAP3) += omap_hwmod_2xxx_3xxx_ipblock_data.o \ |
| 170 | omap_hwmod_2xxx_3xxx_interconnect_data.o \ |
Paul Walmsley | ded1138 | 2011-07-09 19:14:06 -0600 | [diff] [blame] | 171 | omap_hwmod_3xxx_data.o |
Benoit Cousson | 55d2cb0 | 2010-05-12 17:54:36 +0200 | [diff] [blame] | 172 | obj-$(CONFIG_ARCH_OMAP4) += omap_hwmod_44xx_data.o |
Tony Lindgren | 1dbae81 | 2005-11-10 14:26:51 +0000 | [diff] [blame] | 173 | |
Alexander Shishkin | 183bd50 | 2009-12-01 14:03:31 +0100 | [diff] [blame] | 174 | # EMU peripherals |
Paul Walmsley | 657ebfa | 2010-02-22 22:09:20 -0700 | [diff] [blame] | 175 | obj-$(CONFIG_OMAP3_EMU) += emu.o |
Alexander Shishkin | 183bd50 | 2009-12-01 14:03:31 +0100 | [diff] [blame] | 176 | |
Felipe Balbi | e2fa61d | 2011-03-07 19:35:20 +0530 | [diff] [blame] | 177 | # L3 interconnect |
| 178 | obj-$(CONFIG_ARCH_OMAP3) += omap_l3_smx.o |
Santosh Shilimkar | 2722e56 | 2011-03-07 20:53:10 +0530 | [diff] [blame] | 179 | obj-$(CONFIG_ARCH_OMAP4) += omap_l3_noc.o |
Felipe Balbi | e2fa61d | 2011-03-07 19:35:20 +0530 | [diff] [blame] | 180 | |
C A Subramaniam | 59fdc6e | 2009-11-22 10:11:17 -0800 | [diff] [blame] | 181 | obj-$(CONFIG_OMAP_MBOX_FWK) += mailbox_mach.o |
| 182 | mailbox_mach-objs := mailbox.o |
| 183 | |
Hiroshi DOYU | 0bbc6fc | 2010-05-24 09:35:11 +0300 | [diff] [blame] | 184 | obj-$(CONFIG_OMAP_IOMMU) += iommu2.o |
| 185 | |
| 186 | iommu-$(CONFIG_OMAP_IOMMU) := omap-iommu.o |
| 187 | obj-y += $(iommu-m) $(iommu-y) |
Hiroshi DOYU | caf6077 | 2009-01-28 21:32:09 +0200 | [diff] [blame] | 188 | |
Felipe Contreras | 9017388 | 2010-10-04 19:09:14 +0300 | [diff] [blame] | 189 | ifneq ($(CONFIG_TIDSPBRIDGE),) |
| 190 | obj-y += dsp.o |
| 191 | endif |
| 192 | |
Tony Lindgren | ad1b666 | 2012-05-08 17:23:33 -0600 | [diff] [blame] | 193 | # OMAP2420 MSDI controller integration support ("MMC") |
| 194 | obj-$(CONFIG_SOC_OMAP2420) += msdi.o |
| 195 | |
Tony Lindgren | 1dbae81 | 2005-11-10 14:26:51 +0000 | [diff] [blame] | 196 | # Specific board support |
| 197 | obj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o |
| 198 | obj-$(CONFIG_MACH_OMAP_H4) += board-h4.o |
Tony Lindgren | f41cadd | 2011-08-22 23:57:23 -0700 | [diff] [blame] | 199 | obj-$(CONFIG_MACH_OMAP_2430SDP) += board-2430sdp.o |
Tony Lindgren | 120db2c | 2006-04-02 17:46:27 +0100 | [diff] [blame] | 200 | obj-$(CONFIG_MACH_OMAP_APOLLON) += board-apollon.o |
Tony Lindgren | f41cadd | 2011-08-22 23:57:23 -0700 | [diff] [blame] | 201 | obj-$(CONFIG_MACH_OMAP3_BEAGLE) += board-omap3beagle.o |
| 202 | obj-$(CONFIG_MACH_DEVKIT8000) += board-devkit8000.o |
| 203 | obj-$(CONFIG_MACH_OMAP_LDP) += board-ldp.o |
| 204 | obj-$(CONFIG_MACH_OMAP3530_LV_SOM) += board-omap3logic.o |
| 205 | obj-$(CONFIG_MACH_OMAP3_TORPEDO) += board-omap3logic.o |
| 206 | obj-$(CONFIG_MACH_ENCORE) += board-omap3encore.o |
| 207 | obj-$(CONFIG_MACH_OVERO) += board-overo.o |
| 208 | obj-$(CONFIG_MACH_OMAP3EVM) += board-omap3evm.o |
| 209 | obj-$(CONFIG_MACH_OMAP3_PANDORA) += board-omap3pandora.o |
| 210 | obj-$(CONFIG_MACH_OMAP_3430SDP) += board-3430sdp.o |
Kalle Valo | 6313881 | 2009-08-28 10:51:38 -0700 | [diff] [blame] | 211 | obj-$(CONFIG_MACH_NOKIA_N8X0) += board-n8x0.o |
Aaro Koskinen | 2d20066 | 2010-12-17 15:13:47 -0800 | [diff] [blame] | 212 | obj-$(CONFIG_MACH_NOKIA_RM680) += board-rm680.o \ |
Tony Lindgren | f41cadd | 2011-08-22 23:57:23 -0700 | [diff] [blame] | 213 | sdram-nokia.o |
Lauri Leukkunen | ffe7f95 | 2009-03-23 18:38:17 -0700 | [diff] [blame] | 214 | obj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51.o \ |
Aaro Koskinen | 6c3bc4e | 2010-12-17 15:13:44 -0800 | [diff] [blame] | 215 | sdram-nokia.o \ |
Lauri Leukkunen | ffe7f95 | 2009-03-23 18:38:17 -0700 | [diff] [blame] | 216 | board-rx51-peripherals.o \ |
Tony Lindgren | f41cadd | 2011-08-22 23:57:23 -0700 | [diff] [blame] | 217 | board-rx51-video.o |
Felipe Balbi | 2082685 | 2010-11-08 06:56:14 +0000 | [diff] [blame] | 218 | obj-$(CONFIG_MACH_OMAP_ZOOM2) += board-zoom.o \ |
vikram pandita | 479f12c | 2009-11-22 10:11:30 -0800 | [diff] [blame] | 219 | board-zoom-peripherals.o \ |
Kishore Y | a649033 | 2010-11-15 07:09:03 +0100 | [diff] [blame] | 220 | board-zoom-display.o \ |
Vikram Pandita | 577145f | 2009-05-28 14:04:04 -0700 | [diff] [blame] | 221 | board-zoom-debugboard.o |
Felipe Balbi | 2082685 | 2010-11-08 06:56:14 +0000 | [diff] [blame] | 222 | obj-$(CONFIG_MACH_OMAP_ZOOM3) += board-zoom.o \ |
vikram pandita | 5f35fbe | 2009-11-22 10:11:32 -0800 | [diff] [blame] | 223 | board-zoom-peripherals.o \ |
Kishore Y | a649033 | 2010-11-15 07:09:03 +0100 | [diff] [blame] | 224 | board-zoom-display.o \ |
vikram pandita | 5f35fbe | 2009-11-22 10:11:32 -0800 | [diff] [blame] | 225 | board-zoom-debugboard.o |
vikram pandita | 34c9ac2 | 2009-11-18 18:41:08 -0800 | [diff] [blame] | 226 | obj-$(CONFIG_MACH_OMAP_3630SDP) += board-3630sdp.o \ |
| 227 | board-zoom-peripherals.o \ |
Tony Lindgren | f41cadd | 2011-08-22 23:57:23 -0700 | [diff] [blame] | 228 | board-zoom-display.o |
| 229 | obj-$(CONFIG_MACH_CM_T35) += board-cm-t35.o |
Igor Grinberg | d04b620 | 2010-09-21 16:03:09 +0000 | [diff] [blame] | 230 | obj-$(CONFIG_MACH_CM_T3517) += board-cm-t3517.o |
Tony Lindgren | f41cadd | 2011-08-22 23:57:23 -0700 | [diff] [blame] | 231 | obj-$(CONFIG_MACH_IGEP0020) += board-igep0020.o |
| 232 | obj-$(CONFIG_MACH_OMAP3_TOUCHBOOK) += board-omap3touchbook.o |
Linus Torvalds | 9524145 | 2011-11-01 20:11:00 -0700 | [diff] [blame] | 233 | obj-$(CONFIG_MACH_OMAP_4430SDP) += board-4430sdp.o |
| 234 | obj-$(CONFIG_MACH_OMAP4_PANDA) += board-omap4panda.o |
Tony Lindgren | f41cadd | 2011-08-22 23:57:23 -0700 | [diff] [blame] | 235 | |
Linus Torvalds | 9524145 | 2011-11-01 20:11:00 -0700 | [diff] [blame] | 236 | obj-$(CONFIG_MACH_PCM049) += board-omap4pcm049.o |
Tony Lindgren | ad19d8d | 2009-03-30 22:58:31 +0100 | [diff] [blame] | 237 | |
Felipe Balbi | b3c3dc2 | 2011-07-10 12:22:20 +0300 | [diff] [blame] | 238 | obj-$(CONFIG_MACH_OMAP3517EVM) += board-am3517evm.o |
Ranjith Lohithakshan | c625327 | 2009-11-18 18:41:09 -0800 | [diff] [blame] | 239 | |
Srinath | 1cb125c | 2010-11-16 14:26:58 -0800 | [diff] [blame] | 240 | obj-$(CONFIG_MACH_CRANEBOARD) += board-am3517crane.o |
| 241 | |
Tony Lindgren | f41cadd | 2011-08-22 23:57:23 -0700 | [diff] [blame] | 242 | obj-$(CONFIG_MACH_SBC3530) += board-omap3stalker.o |
Hemant Pedanekar | 2c87fb2 | 2011-02-15 23:06:08 +0530 | [diff] [blame] | 243 | obj-$(CONFIG_MACH_TI8168EVM) += board-ti8168evm.o |
Hemant Pedanekar | a890b67 | 2011-12-13 10:48:55 -0800 | [diff] [blame] | 244 | obj-$(CONFIG_MACH_TI8148EVM) += board-ti8168evm.o |
Tony Lindgren | f41cadd | 2011-08-22 23:57:23 -0700 | [diff] [blame] | 245 | |
Felipe Balbi | 18cb7ac | 2009-03-23 18:34:06 -0700 | [diff] [blame] | 246 | # Platform specific device init code |
Tony Lindgren | f41cadd | 2011-08-22 23:57:23 -0700 | [diff] [blame] | 247 | |
| 248 | omap-flash-$(CONFIG_MTD_NAND_OMAP2) := board-flash.o |
| 249 | omap-flash-$(CONFIG_MTD_ONENAND_OMAP2) := board-flash.o |
| 250 | obj-y += $(omap-flash-y) $(omap-flash-m) |
| 251 | |
| 252 | omap-hsmmc-$(CONFIG_MMC_OMAP_HS) := hsmmc.o |
| 253 | obj-y += $(omap-hsmmc-m) $(omap-hsmmc-y) |
| 254 | |
| 255 | |
Tony Lindgren | b5e8905 | 2010-07-05 16:31:29 +0300 | [diff] [blame] | 256 | usbfs-$(CONFIG_ARCH_OMAP_OTG) := usb-fs.o |
| 257 | obj-y += $(usbfs-m) $(usbfs-y) |
Felipe Balbi | 18cb7ac | 2009-03-23 18:34:06 -0700 | [diff] [blame] | 258 | obj-y += usb-musb.o |
Felipe Balbi | b3c3dc2 | 2011-07-10 12:22:20 +0300 | [diff] [blame] | 259 | obj-y += omap_phy_internal.o |
| 260 | |
Kalle Valo | 1b52d5d | 2009-08-28 10:51:37 -0700 | [diff] [blame] | 261 | obj-$(CONFIG_MACH_OMAP2_TUSB6010) += usb-tusb6010.o |
Felipe Balbi | a8480ea | 2011-03-01 20:08:15 +0530 | [diff] [blame] | 262 | obj-y += usb-host.o |
Juha Yrjola | aa62e90 | 2009-05-28 13:23:52 -0700 | [diff] [blame] | 263 | |
| 264 | onenand-$(CONFIG_MTD_ONENAND_OMAP2) := gpmc-onenand.o |
| 265 | obj-y += $(onenand-m) $(onenand-y) |
Tony Lindgren | 1a48e15 | 2009-05-28 13:23:52 -0700 | [diff] [blame] | 266 | |
Vimal Singh | 2f70a1e | 2010-02-15 10:03:33 -0800 | [diff] [blame] | 267 | nand-$(CONFIG_MTD_NAND_OMAP2) := gpmc-nand.o |
| 268 | obj-y += $(nand-m) $(nand-y) |
| 269 | |
Tony Lindgren | 1a48e15 | 2009-05-28 13:23:52 -0700 | [diff] [blame] | 270 | smc91x-$(CONFIG_SMC91X) := gpmc-smc91x.o |
| 271 | obj-y += $(smc91x-m) $(smc91x-y) |
Tim Nordell | cdd280b | 2010-09-27 16:05:49 +0000 | [diff] [blame] | 272 | |
| 273 | smsc911x-$(CONFIG_SMSC911X) := gpmc-smsc911x.o |
| 274 | obj-y += $(smsc911x-m) $(smsc911x-y) |
Ohad Ben-Cohen | be89cd9 | 2012-03-05 16:11:02 -0800 | [diff] [blame] | 275 | ifneq ($(CONFIG_HWSPINLOCK_OMAP),) |
| 276 | obj-y += hwspinlock.o |
| 277 | endif |
Sumit Semwal | b7ee79a | 2011-01-24 06:21:54 +0000 | [diff] [blame] | 278 | |
Ilya Yanok | a8195ba | 2012-03-05 11:08:36 -0800 | [diff] [blame] | 279 | emac-$(CONFIG_TI_DAVINCI_EMAC) := am35xx-emac.o |
| 280 | obj-y += $(emac-m) $(emac-y) |
| 281 | |
Peter Ujfalusi | a53b8e3 | 2011-06-04 08:16:41 +0300 | [diff] [blame] | 282 | obj-y += common-board-devices.o twl-common.o |