Tony Lindgren | 1dbae81 | 2005-11-10 14:26:51 +0000 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the linux kernel. |
| 3 | # |
| 4 | |
Tony Lindgren | a069486 | 2013-01-11 11:24:20 -0800 | [diff] [blame] | 5 | ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include \ |
| 6 | -I$(srctree)/arch/arm/plat-omap/include |
| 7 | |
Tony Lindgren | 1dbae81 | 2005-11-10 14:26:51 +0000 | [diff] [blame] | 8 | # Common support |
Tony Lindgren | 16d60bb | 2012-12-16 11:39:40 -0800 | [diff] [blame] | 9 | obj-y := id.o io.o control.o mux.o devices.o fb.o serial.o gpmc.o timer.o pm.o \ |
Tony Lindgren | 25c7d49 | 2012-10-02 17:25:48 -0700 | [diff] [blame] | 10 | common.o gpio.o dma.o wd_timer.o display.o i2c.o hdq1w.o omap_hwmod.o \ |
Archit Taneja | 7a59743 | 2013-09-16 12:48:29 +0530 | [diff] [blame^] | 11 | omap_device.o sram.o drm.o |
Tony Lindgren | d760766 | 2009-05-25 11:26:47 -0700 | [diff] [blame] | 12 | |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 13 | omap-2-3-common = irq.o |
Paul Walmsley | c02060d | 2013-02-10 11:22:23 -0700 | [diff] [blame] | 14 | hwmod-common = omap_hwmod.o omap_hwmod_reset.o \ |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 15 | omap_hwmod_common_data.o |
| 16 | clock-common = clock.o clock_common_data.o \ |
| 17 | clkt_dpll.o clkt_clksel.o |
| 18 | secure-common = omap-smc.o omap-secure.o |
Paul Walmsley | 445d12a | 2012-09-11 19:09:14 -0600 | [diff] [blame] | 19 | |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 20 | obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(hwmod-common) |
| 21 | obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(hwmod-common) $(secure-common) |
| 22 | obj-$(CONFIG_ARCH_OMAP4) += prm44xx.o $(hwmod-common) $(secure-common) |
| 23 | obj-$(CONFIG_SOC_AM33XX) += irq.o $(hwmod-common) |
| 24 | obj-$(CONFIG_SOC_OMAP5) += prm44xx.o $(hwmod-common) $(secure-common) |
Afzal Mohammed | 33f82f33 | 2013-05-27 20:05:41 +0530 | [diff] [blame] | 25 | obj-$(CONFIG_SOC_AM43XX) += $(hwmod-common) $(secure-common) |
R Sricharan | bfe9211 | 2013-07-03 11:38:50 +0530 | [diff] [blame] | 26 | obj-$(CONFIG_SOC_DRA7XX) += prm44xx.o $(hwmod-common) $(secure-common) |
Paul Walmsley | 445d12a | 2012-09-11 19:09:14 -0600 | [diff] [blame] | 27 | |
Peter Ujfalusi | 3ead467 | 2012-03-09 10:23:27 +0200 | [diff] [blame] | 28 | ifneq ($(CONFIG_SND_OMAP_SOC_MCBSP),) |
| 29 | obj-y += mcbsp.o |
| 30 | endif |
Eduardo Valentin | 78673bc | 2008-07-03 12:24:40 +0300 | [diff] [blame] | 31 | |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 32 | obj-$(CONFIG_TWL4030_CORE) += omap_twl.o |
| 33 | obj-$(CONFIG_SOC_HAS_OMAP2_SDRC) += sdrc.o |
Thara Gopinath | fbc319f | 2010-12-10 22:51:05 +0530 | [diff] [blame] | 34 | |
Santosh Shilimkar | 934f8be | 2009-04-28 20:52:05 +0530 | [diff] [blame] | 35 | # SMP support ONLY available for OMAP4 |
Santosh Shilimkar | eb40155 | 2012-04-28 19:57:32 +0530 | [diff] [blame] | 36 | |
Arnd Bergmann | 572b16d | 2013-04-30 22:24:50 +0200 | [diff] [blame] | 37 | smp-$(CONFIG_SMP) += omap-smp.o omap-headsmp.o |
| 38 | smp-$(CONFIG_HOTPLUG_CPU) += omap-hotplug.o |
Mohammed, Afzal | 22fe3b8 | 2013-06-24 08:13:45 +0000 | [diff] [blame] | 39 | omap-4-5-common = omap4-common.o omap-wakeupgen.o |
| 40 | obj-$(CONFIG_ARCH_OMAP4) += $(omap-4-5-common) $(smp-y) sleep44xx.o |
| 41 | obj-$(CONFIG_SOC_OMAP5) += $(omap-4-5-common) $(smp-y) sleep44xx.o |
Afzal Mohammed | 33f82f33 | 2013-05-27 20:05:41 +0530 | [diff] [blame] | 42 | obj-$(CONFIG_SOC_AM43XX) += $(omap-4-5-common) |
R Sricharan | bfe9211 | 2013-07-03 11:38:50 +0530 | [diff] [blame] | 43 | obj-$(CONFIG_SOC_DRA7XX) += $(omap-4-5-common) $(smp-y) |
Santosh Shilimkar | d660f9a | 2010-03-11 07:33:46 +0000 | [diff] [blame] | 44 | |
John Rigby | fe297dd | 2010-12-01 05:57:51 +0000 | [diff] [blame] | 45 | plus_sec := $(call as-instr,.arch_extension sec,+sec) |
| 46 | AFLAGS_omap-headsmp.o :=-Wa,-march=armv7-a$(plus_sec) |
Santosh Shilimkar | ba9456a | 2011-06-06 17:56:49 +0530 | [diff] [blame] | 47 | AFLAGS_omap-smc.o :=-Wa,-march=armv7-a$(plus_sec) |
Santosh Shilimkar | b2b9762 | 2010-06-16 22:19:48 +0530 | [diff] [blame] | 48 | AFLAGS_sleep44xx.o :=-Wa,-march=armv7-a$(plus_sec) |
Santosh Shilimkar | 934f8be | 2009-04-28 20:52:05 +0530 | [diff] [blame] | 49 | |
Tony Lindgren | c2d43e3 | 2008-07-03 12:24:38 +0300 | [diff] [blame] | 50 | # Functions loaded to SRAM |
Tony Lindgren | 59b479e | 2011-01-27 16:39:40 -0800 | [diff] [blame] | 51 | obj-$(CONFIG_SOC_OMAP2420) += sram242x.o |
| 52 | obj-$(CONFIG_SOC_OMAP2430) += sram243x.o |
Syed Mohammed, Khasim | cc26b3b | 2008-10-09 17:51:41 +0300 | [diff] [blame] | 53 | obj-$(CONFIG_ARCH_OMAP3) += sram34xx.o |
Tony Lindgren | c2d43e3 | 2008-07-03 12:24:38 +0300 | [diff] [blame] | 54 | |
Tony Lindgren | 56213ca | 2010-02-12 12:26:46 -0800 | [diff] [blame] | 55 | AFLAGS_sram242x.o :=-Wa,-march=armv6 |
| 56 | AFLAGS_sram243x.o :=-Wa,-march=armv6 |
| 57 | AFLAGS_sram34xx.o :=-Wa,-march=armv7-a |
| 58 | |
Paul Walmsley | 2f334a3 | 2012-10-29 20:56:07 -0600 | [diff] [blame] | 59 | # Restart code (OMAP4/5 currently in omap4-common.c) |
| 60 | obj-$(CONFIG_SOC_OMAP2420) += omap2-restart.o |
| 61 | obj-$(CONFIG_SOC_OMAP2430) += omap2-restart.o |
Jean-Sebastien A. Beaudry | 14e067c | 2013-01-23 16:02:40 -0500 | [diff] [blame] | 62 | obj-$(CONFIG_SOC_AM33XX) += am33xx-restart.o |
Paul Walmsley | 2f334a3 | 2012-10-29 20:56:07 -0600 | [diff] [blame] | 63 | obj-$(CONFIG_ARCH_OMAP3) += omap3-restart.o |
Afzal Mohammed | ab4c2e1 | 2013-05-27 20:05:19 +0530 | [diff] [blame] | 64 | obj-$(CONFIG_ARCH_OMAP4) += omap4-restart.o |
| 65 | obj-$(CONFIG_SOC_OMAP5) += omap4-restart.o |
Rajendra Nayak | 1d597b0 | 2013-07-09 13:02:15 +0530 | [diff] [blame] | 66 | obj-$(CONFIG_SOC_DRA7XX) += omap4-restart.o |
Paul Walmsley | 2f334a3 | 2012-10-29 20:56:07 -0600 | [diff] [blame] | 67 | |
Tony Lindgren | ddaa912 | 2009-12-11 16:16:32 -0800 | [diff] [blame] | 68 | # Pin multiplexing |
Tony Lindgren | 59b479e | 2011-01-27 16:39:40 -0800 | [diff] [blame] | 69 | obj-$(CONFIG_SOC_OMAP2420) += mux2420.o |
| 70 | obj-$(CONFIG_SOC_OMAP2430) += mux2430.o |
Tony Lindgren | ddaa912 | 2009-12-11 16:16:32 -0800 | [diff] [blame] | 71 | obj-$(CONFIG_ARCH_OMAP3) += mux34xx.o |
| 72 | |
Paul Walmsley | f2ab997 | 2009-01-28 12:27:37 -0700 | [diff] [blame] | 73 | # SMS/SDRC |
| 74 | obj-$(CONFIG_ARCH_OMAP2) += sdrc2xxx.o |
| 75 | # obj-$(CONFIG_ARCH_OMAP3) += sdrc3xxx.o |
| 76 | |
Nishanth Menon | fd1478c | 2010-12-09 09:13:46 -0600 | [diff] [blame] | 77 | # OPP table initialization |
| 78 | ifeq ($(CONFIG_PM_OPP),y) |
| 79 | obj-y += opp.o |
| 80 | obj-$(CONFIG_ARCH_OMAP3) += opp3xxx_data.o |
Nishanth Menon | f5a6422 | 2010-12-09 09:13:47 -0600 | [diff] [blame] | 81 | obj-$(CONFIG_ARCH_OMAP4) += opp4xxx_data.o |
Nishanth Menon | fd1478c | 2010-12-09 09:13:46 -0600 | [diff] [blame] | 82 | endif |
| 83 | |
Tony Lindgren | 120db2c | 2006-04-02 17:46:27 +0100 | [diff] [blame] | 84 | # Power Management |
Tony Lindgren | 0b4b61c | 2012-11-14 08:40:00 -0800 | [diff] [blame] | 85 | obj-$(CONFIG_OMAP_PM_NOOP) += omap-pm-noop.o |
| 86 | |
Tony Lindgren | 1835f1d | 2008-10-06 15:49:15 +0300 | [diff] [blame] | 87 | ifeq ($(CONFIG_PM),y) |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 88 | obj-$(CONFIG_ARCH_OMAP2) += pm24xx.o |
| 89 | obj-$(CONFIG_ARCH_OMAP2) += sleep24xx.o |
Santosh Shilimkar | eb40155 | 2012-04-28 19:57:32 +0530 | [diff] [blame] | 90 | obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o |
Santosh Shilimkar | eb40155 | 2012-04-28 19:57:32 +0530 | [diff] [blame] | 91 | obj-$(CONFIG_ARCH_OMAP4) += pm44xx.o omap-mpuss-lowpower.o |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 92 | obj-$(CONFIG_SOC_OMAP5) += omap-mpuss-lowpower.o |
R Sricharan | bfe9211 | 2013-07-03 11:38:50 +0530 | [diff] [blame] | 93 | obj-$(CONFIG_SOC_DRA7XX) += omap-mpuss-lowpower.o |
Kevin Hilman | 8bd2294 | 2009-05-28 10:56:16 -0700 | [diff] [blame] | 94 | obj-$(CONFIG_PM_DEBUG) += pm-debug.o |
Jean Pihet | 7fb149f | 2012-04-24 11:38:50 +0530 | [diff] [blame] | 95 | |
Jean Pihet | 21ff63a | 2012-04-25 16:43:17 +0530 | [diff] [blame] | 96 | obj-$(CONFIG_POWER_AVS_OMAP) += sr_device.o |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 97 | obj-$(CONFIG_POWER_AVS_OMAP_CLASS3) += smartreflex-class3.o |
Tony Lindgren | 56213ca | 2010-02-12 12:26:46 -0800 | [diff] [blame] | 98 | |
| 99 | AFLAGS_sleep24xx.o :=-Wa,-march=armv6 |
Oskar Andero | 6ba5932 | 2011-04-26 02:24:50 -0700 | [diff] [blame] | 100 | AFLAGS_sleep34xx.o :=-Wa,-march=armv7-a$(plus_sec) |
Tony Lindgren | 56213ca | 2010-02-12 12:26:46 -0800 | [diff] [blame] | 101 | |
Tony Lindgren | 1835f1d | 2008-10-06 15:49:15 +0300 | [diff] [blame] | 102 | endif |
Tony Lindgren | 120db2c | 2006-04-02 17:46:27 +0100 | [diff] [blame] | 103 | |
Daniel Lezcano | 164e0cb | 2012-05-10 12:02:57 +0200 | [diff] [blame] | 104 | ifeq ($(CONFIG_CPU_IDLE),y) |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 105 | obj-$(CONFIG_ARCH_OMAP3) += cpuidle34xx.o |
| 106 | obj-$(CONFIG_ARCH_OMAP4) += cpuidle44xx.o |
Daniel Lezcano | 164e0cb | 2012-05-10 12:02:57 +0200 | [diff] [blame] | 107 | endif |
| 108 | |
Paul Walmsley | 71348bc | 2009-09-03 20:14:02 +0300 | [diff] [blame] | 109 | # PRCM |
Paul Walmsley | b99db36 | 2012-10-29 20:59:29 -0600 | [diff] [blame] | 110 | obj-y += prm_common.o cm_common.o |
Paul Walmsley | ff4ae5d | 2012-10-21 01:01:11 -0600 | [diff] [blame] | 111 | obj-$(CONFIG_ARCH_OMAP2) += prm2xxx_3xxx.o prm2xxx.o cm2xxx.o |
| 112 | obj-$(CONFIG_ARCH_OMAP3) += prm2xxx_3xxx.o prm3xxx.o cm3xxx.o |
Paul Walmsley | df47adb | 2012-09-11 19:09:15 -0600 | [diff] [blame] | 113 | obj-$(CONFIG_ARCH_OMAP3) += vc3xxx_data.o vp3xxx_data.o |
| 114 | obj-$(CONFIG_SOC_AM33XX) += prm33xx.o cm33xx.o |
Afzal Mohammed | 33f82f33 | 2013-05-27 20:05:41 +0530 | [diff] [blame] | 115 | obj-$(CONFIG_SOC_AM43XX) += prm33xx.o cm33xx.o |
Paul Walmsley | df47adb | 2012-09-11 19:09:15 -0600 | [diff] [blame] | 116 | omap-prcm-4-5-common = cminst44xx.o cm44xx.o prm44xx.o \ |
R Sricharan | 05e152c | 2012-06-05 16:21:32 +0530 | [diff] [blame] | 117 | prcm_mpu44xx.o prminst44xx.o \ |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 118 | vc44xx_data.o vp44xx_data.o |
Paul Walmsley | df47adb | 2012-09-11 19:09:15 -0600 | [diff] [blame] | 119 | obj-$(CONFIG_ARCH_OMAP4) += $(omap-prcm-4-5-common) |
R Sricharan | 05e152c | 2012-06-05 16:21:32 +0530 | [diff] [blame] | 120 | obj-$(CONFIG_SOC_OMAP5) += $(omap-prcm-4-5-common) |
R Sricharan | bfe9211 | 2013-07-03 11:38:50 +0530 | [diff] [blame] | 121 | obj-$(CONFIG_SOC_DRA7XX) += $(omap-prcm-4-5-common) |
Paul Walmsley | c0718df | 2011-03-10 22:17:45 -0700 | [diff] [blame] | 122 | |
| 123 | # OMAP voltage domains |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 124 | voltagedomain-common := voltage.o vc.o vp.o |
| 125 | obj-$(CONFIG_ARCH_OMAP2) += $(voltagedomain-common) |
Santosh Shilimkar | eb40155 | 2012-04-28 19:57:32 +0530 | [diff] [blame] | 126 | obj-$(CONFIG_ARCH_OMAP2) += voltagedomains2xxx_data.o |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 127 | obj-$(CONFIG_ARCH_OMAP3) += $(voltagedomain-common) |
Santosh Shilimkar | eb40155 | 2012-04-28 19:57:32 +0530 | [diff] [blame] | 128 | obj-$(CONFIG_ARCH_OMAP3) += voltagedomains3xxx_data.o |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 129 | obj-$(CONFIG_ARCH_OMAP4) += $(voltagedomain-common) |
Santosh Shilimkar | eb40155 | 2012-04-28 19:57:32 +0530 | [diff] [blame] | 130 | obj-$(CONFIG_ARCH_OMAP4) += voltagedomains44xx_data.o |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 131 | obj-$(CONFIG_SOC_AM33XX) += $(voltagedomain-common) |
Afzal Mohammed | 33f82f33 | 2013-05-27 20:05:41 +0530 | [diff] [blame] | 132 | obj-$(CONFIG_SOC_AM43XX) += $(voltagedomain-common) |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 133 | obj-$(CONFIG_SOC_OMAP5) += $(voltagedomain-common) |
Santosh Shilimkar | e4020aa | 2013-05-29 12:38:12 -0400 | [diff] [blame] | 134 | obj-$(CONFIG_SOC_OMAP5) += voltagedomains54xx_data.o |
Rajendra Nayak | 74bea6b | 2010-12-21 20:01:17 -0700 | [diff] [blame] | 135 | |
| 136 | # OMAP powerdomain framework |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 137 | powerdomain-common += powerdomain.o powerdomain-common.o |
| 138 | obj-$(CONFIG_ARCH_OMAP2) += $(powerdomain-common) |
Santosh Shilimkar | eb40155 | 2012-04-28 19:57:32 +0530 | [diff] [blame] | 139 | obj-$(CONFIG_ARCH_OMAP2) += powerdomains2xxx_data.o |
Santosh Shilimkar | eb40155 | 2012-04-28 19:57:32 +0530 | [diff] [blame] | 140 | obj-$(CONFIG_ARCH_OMAP2) += powerdomains2xxx_3xxx_data.o |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 141 | obj-$(CONFIG_ARCH_OMAP3) += $(powerdomain-common) |
Santosh Shilimkar | eb40155 | 2012-04-28 19:57:32 +0530 | [diff] [blame] | 142 | obj-$(CONFIG_ARCH_OMAP3) += powerdomains3xxx_data.o |
| 143 | obj-$(CONFIG_ARCH_OMAP3) += powerdomains2xxx_3xxx_data.o |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 144 | obj-$(CONFIG_ARCH_OMAP4) += $(powerdomain-common) |
Santosh Shilimkar | eb40155 | 2012-04-28 19:57:32 +0530 | [diff] [blame] | 145 | obj-$(CONFIG_ARCH_OMAP4) += powerdomains44xx_data.o |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 146 | obj-$(CONFIG_SOC_AM33XX) += $(powerdomain-common) |
Vaibhav Hiremath | 3f0ea76 | 2012-06-18 00:47:27 -0600 | [diff] [blame] | 147 | obj-$(CONFIG_SOC_AM33XX) += powerdomains33xx_data.o |
Afzal Mohammed | 33f82f33 | 2013-05-27 20:05:41 +0530 | [diff] [blame] | 148 | obj-$(CONFIG_SOC_AM43XX) += $(powerdomain-common) |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 149 | obj-$(CONFIG_SOC_OMAP5) += $(powerdomain-common) |
Santosh Shilimkar | e4020aa | 2013-05-29 12:38:12 -0400 | [diff] [blame] | 150 | obj-$(CONFIG_SOC_OMAP5) += powerdomains54xx_data.o |
R Sricharan | bfe9211 | 2013-07-03 11:38:50 +0530 | [diff] [blame] | 151 | obj-$(CONFIG_SOC_DRA7XX) += $(powerdomain-common) |
Ambresh K | 97dd16b | 2013-07-09 13:02:13 +0530 | [diff] [blame] | 152 | obj-$(CONFIG_SOC_DRA7XX) += powerdomains7xx_data.o |
Paul Walmsley | 71348bc | 2009-09-03 20:14:02 +0300 | [diff] [blame] | 153 | |
Paul Walmsley | dc0b3a7 | 2010-12-21 20:01:20 -0700 | [diff] [blame] | 154 | # PRCM clockdomain control |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 155 | clockdomain-common += clockdomain.o |
| 156 | obj-$(CONFIG_ARCH_OMAP2) += $(clockdomain-common) |
Santosh Shilimkar | eb40155 | 2012-04-28 19:57:32 +0530 | [diff] [blame] | 157 | obj-$(CONFIG_ARCH_OMAP2) += clockdomains2xxx_3xxx_data.o |
Paul Walmsley | a5ffef6 | 2011-09-14 16:01:21 -0600 | [diff] [blame] | 158 | obj-$(CONFIG_SOC_OMAP2420) += clockdomains2420_data.o |
| 159 | obj-$(CONFIG_SOC_OMAP2430) += clockdomains2430_data.o |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 160 | obj-$(CONFIG_ARCH_OMAP3) += $(clockdomain-common) |
Santosh Shilimkar | eb40155 | 2012-04-28 19:57:32 +0530 | [diff] [blame] | 161 | obj-$(CONFIG_ARCH_OMAP3) += clockdomains2xxx_3xxx_data.o |
| 162 | obj-$(CONFIG_ARCH_OMAP3) += clockdomains3xxx_data.o |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 163 | obj-$(CONFIG_ARCH_OMAP4) += $(clockdomain-common) |
Santosh Shilimkar | eb40155 | 2012-04-28 19:57:32 +0530 | [diff] [blame] | 164 | obj-$(CONFIG_ARCH_OMAP4) += clockdomains44xx_data.o |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 165 | obj-$(CONFIG_SOC_AM33XX) += $(clockdomain-common) |
Vaibhav Hiremath | 9c80f3a | 2012-06-18 00:47:27 -0600 | [diff] [blame] | 166 | obj-$(CONFIG_SOC_AM33XX) += clockdomains33xx_data.o |
Afzal Mohammed | 33f82f33 | 2013-05-27 20:05:41 +0530 | [diff] [blame] | 167 | obj-$(CONFIG_SOC_AM43XX) += $(clockdomain-common) |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 168 | obj-$(CONFIG_SOC_OMAP5) += $(clockdomain-common) |
Santosh Shilimkar | e4020aa | 2013-05-29 12:38:12 -0400 | [diff] [blame] | 169 | obj-$(CONFIG_SOC_OMAP5) += clockdomains54xx_data.o |
R Sricharan | bfe9211 | 2013-07-03 11:38:50 +0530 | [diff] [blame] | 170 | obj-$(CONFIG_SOC_DRA7XX) += $(clockdomain-common) |
Ambresh K | 11fadcf | 2013-07-09 13:02:12 +0530 | [diff] [blame] | 171 | obj-$(CONFIG_SOC_DRA7XX) += clockdomains7xx_data.o |
Paul Walmsley | 530e544 | 2011-02-25 15:39:28 -0700 | [diff] [blame] | 172 | |
Paul Walmsley | 3d876e5 | 2008-03-18 14:41:40 +0200 | [diff] [blame] | 173 | # Clock framework |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 174 | obj-$(CONFIG_ARCH_OMAP2) += $(clock-common) clock2xxx.o |
| 175 | obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_sys.o |
| 176 | obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_dpllcore.o |
Santosh Shilimkar | eb40155 | 2012-04-28 19:57:32 +0530 | [diff] [blame] | 177 | obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_virt_prcm_set.o |
| 178 | obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_apll.o clkt2xxx_osc.o |
| 179 | obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_dpll.o clkt_iclk.o |
Rajendra Nayak | f7f73aa | 2012-04-27 16:27:51 +0530 | [diff] [blame] | 180 | obj-$(CONFIG_SOC_OMAP2420) += cclock2420_data.o |
| 181 | obj-$(CONFIG_SOC_OMAP2430) += clock2430.o cclock2430_data.o |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 182 | obj-$(CONFIG_ARCH_OMAP3) += $(clock-common) clock3xxx.o |
Santosh Shilimkar | eb40155 | 2012-04-28 19:57:32 +0530 | [diff] [blame] | 183 | obj-$(CONFIG_ARCH_OMAP3) += clock34xx.o clkt34xx_dpll3m2.o |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 184 | obj-$(CONFIG_ARCH_OMAP3) += clock3517.o clock36xx.o |
Rajendra Nayak | f7f73aa | 2012-04-27 16:27:51 +0530 | [diff] [blame] | 185 | obj-$(CONFIG_ARCH_OMAP3) += dpll3xxx.o cclock3xxx_data.o |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 186 | obj-$(CONFIG_ARCH_OMAP3) += clkt_iclk.o |
Rajendra Nayak | f7f73aa | 2012-04-27 16:27:51 +0530 | [diff] [blame] | 187 | obj-$(CONFIG_ARCH_OMAP4) += $(clock-common) cclock44xx_data.o |
Santosh Shilimkar | eb40155 | 2012-04-28 19:57:32 +0530 | [diff] [blame] | 188 | obj-$(CONFIG_ARCH_OMAP4) += dpll3xxx.o dpll44xx.o |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 189 | obj-$(CONFIG_SOC_AM33XX) += $(clock-common) dpll3xxx.o |
Rajendra Nayak | f7f73aa | 2012-04-27 16:27:51 +0530 | [diff] [blame] | 190 | obj-$(CONFIG_SOC_AM33XX) += cclock33xx_data.o |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 191 | obj-$(CONFIG_SOC_OMAP5) += $(clock-common) |
R Sricharan | 05e152c | 2012-06-05 16:21:32 +0530 | [diff] [blame] | 192 | obj-$(CONFIG_SOC_OMAP5) += dpll3xxx.o dpll44xx.o |
Paul Walmsley | 657ebfa | 2010-02-22 22:09:20 -0700 | [diff] [blame] | 193 | |
| 194 | # OMAP2 clock rate set data (old "OPP" data) |
Tony Lindgren | 59b479e | 2011-01-27 16:39:40 -0800 | [diff] [blame] | 195 | obj-$(CONFIG_SOC_OMAP2420) += opp2420_data.o |
| 196 | obj-$(CONFIG_SOC_OMAP2430) += opp2430_data.o |
Paul Walmsley | 3d876e5 | 2008-03-18 14:41:40 +0200 | [diff] [blame] | 197 | |
Paul Walmsley | 7359154 | 2010-02-22 22:09:32 -0700 | [diff] [blame] | 198 | # hwmod data |
Santosh Shilimkar | eb40155 | 2012-04-28 19:57:32 +0530 | [diff] [blame] | 199 | obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_ipblock_data.o |
| 200 | obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_3xxx_ipblock_data.o |
| 201 | obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_interconnect_data.o |
| 202 | obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_3xxx_interconnect_data.o |
| 203 | obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2420_data.o |
| 204 | obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2xxx_ipblock_data.o |
| 205 | obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2xxx_3xxx_ipblock_data.o |
| 206 | obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2xxx_interconnect_data.o |
| 207 | obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2xxx_3xxx_interconnect_data.o |
| 208 | obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2430_data.o |
| 209 | obj-$(CONFIG_ARCH_OMAP3) += omap_hwmod_2xxx_3xxx_ipblock_data.o |
| 210 | obj-$(CONFIG_ARCH_OMAP3) += omap_hwmod_2xxx_3xxx_interconnect_data.o |
| 211 | obj-$(CONFIG_ARCH_OMAP3) += omap_hwmod_3xxx_data.o |
Vaibhav Hiremath | a2cfc50 | 2012-07-25 13:51:13 -0600 | [diff] [blame] | 212 | obj-$(CONFIG_SOC_AM33XX) += omap_hwmod_33xx_data.o |
Benoit Cousson | 55d2cb0 | 2010-05-12 17:54:36 +0200 | [diff] [blame] | 213 | obj-$(CONFIG_ARCH_OMAP4) += omap_hwmod_44xx_data.o |
Santosh Shilimkar | e4020aa | 2013-05-29 12:38:12 -0400 | [diff] [blame] | 214 | obj-$(CONFIG_SOC_OMAP5) += omap_hwmod_54xx_data.o |
Ambresh K | 90020c7 | 2013-07-09 13:02:16 +0530 | [diff] [blame] | 215 | obj-$(CONFIG_SOC_DRA7XX) += omap_hwmod_7xx_data.o |
Tony Lindgren | 1dbae81 | 2005-11-10 14:26:51 +0000 | [diff] [blame] | 216 | |
Alexander Shishkin | 183bd50 | 2009-12-01 14:03:31 +0100 | [diff] [blame] | 217 | # EMU peripherals |
Paul Walmsley | 657ebfa | 2010-02-22 22:09:20 -0700 | [diff] [blame] | 218 | obj-$(CONFIG_OMAP3_EMU) += emu.o |
Jon Hunter | ee75d95 | 2012-09-23 17:28:29 -0600 | [diff] [blame] | 219 | obj-$(CONFIG_HW_PERF_EVENTS) += pmu.o |
Alexander Shishkin | 183bd50 | 2009-12-01 14:03:31 +0100 | [diff] [blame] | 220 | |
Hiroshi DOYU | 0bbc6fc | 2010-05-24 09:35:11 +0300 | [diff] [blame] | 221 | iommu-$(CONFIG_OMAP_IOMMU) := omap-iommu.o |
| 222 | obj-y += $(iommu-m) $(iommu-y) |
Hiroshi DOYU | caf6077 | 2009-01-28 21:32:09 +0200 | [diff] [blame] | 223 | |
Felipe Contreras | 9017388 | 2010-10-04 19:09:14 +0300 | [diff] [blame] | 224 | ifneq ($(CONFIG_TIDSPBRIDGE),) |
| 225 | obj-y += dsp.o |
| 226 | endif |
| 227 | |
Tony Lindgren | ad1b666 | 2012-05-08 17:23:33 -0600 | [diff] [blame] | 228 | # OMAP2420 MSDI controller integration support ("MMC") |
| 229 | obj-$(CONFIG_SOC_OMAP2420) += msdi.o |
| 230 | |
Tony Lindgren | 1dbae81 | 2005-11-10 14:26:51 +0000 | [diff] [blame] | 231 | # Specific board support |
| 232 | obj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o |
| 233 | obj-$(CONFIG_MACH_OMAP_H4) += board-h4.o |
Tony Lindgren | f41cadd | 2011-08-22 23:57:23 -0700 | [diff] [blame] | 234 | obj-$(CONFIG_MACH_OMAP_2430SDP) += board-2430sdp.o |
Tony Lindgren | f41cadd | 2011-08-22 23:57:23 -0700 | [diff] [blame] | 235 | obj-$(CONFIG_MACH_OMAP3_BEAGLE) += board-omap3beagle.o |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 236 | obj-$(CONFIG_MACH_DEVKIT8000) += board-devkit8000.o |
Tony Lindgren | f41cadd | 2011-08-22 23:57:23 -0700 | [diff] [blame] | 237 | obj-$(CONFIG_MACH_OMAP_LDP) += board-ldp.o |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 238 | obj-$(CONFIG_MACH_OMAP3530_LV_SOM) += board-omap3logic.o |
| 239 | obj-$(CONFIG_MACH_OMAP3_TORPEDO) += board-omap3logic.o |
Tony Lindgren | f41cadd | 2011-08-22 23:57:23 -0700 | [diff] [blame] | 240 | obj-$(CONFIG_MACH_OVERO) += board-overo.o |
| 241 | obj-$(CONFIG_MACH_OMAP3EVM) += board-omap3evm.o |
| 242 | obj-$(CONFIG_MACH_OMAP3_PANDORA) += board-omap3pandora.o |
| 243 | obj-$(CONFIG_MACH_OMAP_3430SDP) += board-3430sdp.o |
Kalle Valo | 6313881 | 2009-08-28 10:51:38 -0700 | [diff] [blame] | 244 | obj-$(CONFIG_MACH_NOKIA_N8X0) += board-n8x0.o |
Santosh Shilimkar | eb40155 | 2012-04-28 19:57:32 +0530 | [diff] [blame] | 245 | obj-$(CONFIG_MACH_NOKIA_RM680) += board-rm680.o sdram-nokia.o |
| 246 | obj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51.o sdram-nokia.o |
| 247 | obj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51-peripherals.o |
| 248 | obj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51-video.o |
| 249 | obj-$(CONFIG_MACH_OMAP_ZOOM2) += board-zoom.o board-zoom-peripherals.o |
| 250 | obj-$(CONFIG_MACH_OMAP_ZOOM2) += board-zoom-display.o |
| 251 | obj-$(CONFIG_MACH_OMAP_ZOOM2) += board-zoom-debugboard.o |
| 252 | obj-$(CONFIG_MACH_OMAP_ZOOM3) += board-zoom.o board-zoom-peripherals.o |
| 253 | obj-$(CONFIG_MACH_OMAP_ZOOM3) += board-zoom-display.o |
| 254 | obj-$(CONFIG_MACH_OMAP_ZOOM3) += board-zoom-debugboard.o |
| 255 | obj-$(CONFIG_MACH_OMAP_3630SDP) += board-3630sdp.o |
| 256 | obj-$(CONFIG_MACH_OMAP_3630SDP) += board-zoom-peripherals.o |
| 257 | obj-$(CONFIG_MACH_OMAP_3630SDP) += board-zoom-display.o |
Tony Lindgren | f41cadd | 2011-08-22 23:57:23 -0700 | [diff] [blame] | 258 | obj-$(CONFIG_MACH_CM_T35) += board-cm-t35.o |
Igor Grinberg | d04b620 | 2010-09-21 16:03:09 +0000 | [diff] [blame] | 259 | obj-$(CONFIG_MACH_CM_T3517) += board-cm-t3517.o |
Tony Lindgren | f41cadd | 2011-08-22 23:57:23 -0700 | [diff] [blame] | 260 | obj-$(CONFIG_MACH_IGEP0020) += board-igep0020.o |
Radek Pilar | a17fb8f | 2012-08-17 18:03:43 +0200 | [diff] [blame] | 261 | obj-$(CONFIG_MACH_TOUCHBOOK) += board-omap3touchbook.o |
Tony Lindgren | f41cadd | 2011-08-22 23:57:23 -0700 | [diff] [blame] | 262 | |
Felipe Balbi | b3c3dc2 | 2011-07-10 12:22:20 +0300 | [diff] [blame] | 263 | obj-$(CONFIG_MACH_OMAP3517EVM) += board-am3517evm.o |
Ranjith Lohithakshan | c625327 | 2009-11-18 18:41:09 -0800 | [diff] [blame] | 264 | |
Srinath | 1cb125c | 2010-11-16 14:26:58 -0800 | [diff] [blame] | 265 | obj-$(CONFIG_MACH_CRANEBOARD) += board-am3517crane.o |
| 266 | |
Tony Lindgren | f41cadd | 2011-08-22 23:57:23 -0700 | [diff] [blame] | 267 | obj-$(CONFIG_MACH_SBC3530) += board-omap3stalker.o |
Hemant Pedanekar | 2c87fb2 | 2011-02-15 23:06:08 +0530 | [diff] [blame] | 268 | obj-$(CONFIG_MACH_TI8168EVM) += board-ti8168evm.o |
Hemant Pedanekar | a890b67 | 2011-12-13 10:48:55 -0800 | [diff] [blame] | 269 | obj-$(CONFIG_MACH_TI8148EVM) += board-ti8168evm.o |
Tony Lindgren | f41cadd | 2011-08-22 23:57:23 -0700 | [diff] [blame] | 270 | |
Felipe Balbi | 18cb7ac | 2009-03-23 18:34:06 -0700 | [diff] [blame] | 271 | # Platform specific device init code |
Tony Lindgren | f41cadd | 2011-08-22 23:57:23 -0700 | [diff] [blame] | 272 | |
| 273 | omap-flash-$(CONFIG_MTD_NAND_OMAP2) := board-flash.o |
| 274 | omap-flash-$(CONFIG_MTD_ONENAND_OMAP2) := board-flash.o |
| 275 | obj-y += $(omap-flash-y) $(omap-flash-m) |
| 276 | |
| 277 | omap-hsmmc-$(CONFIG_MMC_OMAP_HS) := hsmmc.o |
| 278 | obj-y += $(omap-hsmmc-m) $(omap-hsmmc-y) |
| 279 | |
Felipe Balbi | 18cb7ac | 2009-03-23 18:34:06 -0700 | [diff] [blame] | 280 | obj-y += usb-musb.o |
Felipe Balbi | b3c3dc2 | 2011-07-10 12:22:20 +0300 | [diff] [blame] | 281 | obj-y += omap_phy_internal.o |
| 282 | |
Kalle Valo | 1b52d5d | 2009-08-28 10:51:37 -0700 | [diff] [blame] | 283 | obj-$(CONFIG_MACH_OMAP2_TUSB6010) += usb-tusb6010.o |
Felipe Balbi | a8480ea | 2011-03-01 20:08:15 +0530 | [diff] [blame] | 284 | obj-y += usb-host.o |
Juha Yrjola | aa62e90 | 2009-05-28 13:23:52 -0700 | [diff] [blame] | 285 | |
| 286 | onenand-$(CONFIG_MTD_ONENAND_OMAP2) := gpmc-onenand.o |
| 287 | obj-y += $(onenand-m) $(onenand-y) |
Tony Lindgren | 1a48e15 | 2009-05-28 13:23:52 -0700 | [diff] [blame] | 288 | |
Vimal Singh | 2f70a1e | 2010-02-15 10:03:33 -0800 | [diff] [blame] | 289 | nand-$(CONFIG_MTD_NAND_OMAP2) := gpmc-nand.o |
| 290 | obj-y += $(nand-m) $(nand-y) |
| 291 | |
Tony Lindgren | 1a48e15 | 2009-05-28 13:23:52 -0700 | [diff] [blame] | 292 | smc91x-$(CONFIG_SMC91X) := gpmc-smc91x.o |
| 293 | obj-y += $(smc91x-m) $(smc91x-y) |
Tim Nordell | cdd280b | 2010-09-27 16:05:49 +0000 | [diff] [blame] | 294 | |
| 295 | smsc911x-$(CONFIG_SMSC911X) := gpmc-smsc911x.o |
| 296 | obj-y += $(smsc911x-m) $(smsc911x-y) |
Ohad Ben-Cohen | be89cd9 | 2012-03-05 16:11:02 -0800 | [diff] [blame] | 297 | ifneq ($(CONFIG_HWSPINLOCK_OMAP),) |
| 298 | obj-y += hwspinlock.o |
| 299 | endif |
Sumit Semwal | b7ee79a | 2011-01-24 06:21:54 +0000 | [diff] [blame] | 300 | |
Ilya Yanok | a8195ba | 2012-03-05 11:08:36 -0800 | [diff] [blame] | 301 | emac-$(CONFIG_TI_DAVINCI_EMAC) := am35xx-emac.o |
| 302 | obj-y += $(emac-m) $(emac-y) |
| 303 | |
Tomi Valkeinen | 0191bf3 | 2012-11-05 15:14:17 +0200 | [diff] [blame] | 304 | obj-y += common-board-devices.o twl-common.o dss-common.o |