~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm/mach-omap2/Makefile

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: GPL-2.0
  2 #
  3 # Makefile for the linux kernel.
  4 #
  5 
  6 # Common support
  7 obj-y := id.o io.o control.o devices.o fb.o pm.o \
  8          common.o dma.o omap-headsmp.o sram.o
  9 
 10 hwmod-common                            = omap_hwmod.o \
 11                                           omap_hwmod_common_data.o \
 12                                           omap_hwmod_common_ipblock_data.o \
 13                                           omap_device.o display.o hdq1w.o \
 14                                           i2c.o wd_timer.o
 15 clock-common                            = clock.o
 16 secure-common                           = omap-smc.o omap-secure.o
 17 
 18 obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(hwmod-common)
 19 obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(hwmod-common) $(secure-common)
 20 obj-$(CONFIG_ARCH_OMAP4) += $(secure-common)
 21 obj-$(CONFIG_SOC_AM33XX) += $(secure-common)
 22 obj-$(CONFIG_SOC_OMAP5)  += $(secure-common)
 23 obj-$(CONFIG_SOC_AM43XX) += $(secure-common)
 24 obj-$(CONFIG_SOC_DRA7XX) += $(secure-common)
 25 
 26 ifneq ($(CONFIG_SND_SOC_OMAP_MCBSP),)
 27 obj-$(CONFIG_OMAP_HWMOD) += mcbsp.o
 28 endif
 29 
 30 obj-$(CONFIG_TWL4030_CORE) += omap_twl.o
 31 
 32 ifneq ($(CONFIG_MFD_CPCAP),)
 33 obj-y                                   += pmic-cpcap.o
 34 endif
 35 
 36 obj-$(CONFIG_SOC_HAS_OMAP2_SDRC)        += sdrc.o
 37 
 38 # SMP support ONLY available for OMAP4
 39 
 40 smp-$(CONFIG_SMP)                       += omap-smp.o
 41 smp-$(CONFIG_HOTPLUG_CPU)               += omap-hotplug.o
 42 omap-4-5-common                         =  omap4-common.o omap-wakeupgen.o
 43 obj-$(CONFIG_ARCH_OMAP4)                += $(omap-4-5-common) $(smp-y) sleep44xx.o
 44 obj-$(CONFIG_SOC_OMAP5)                 += $(omap-4-5-common) $(smp-y) sleep44xx.o
 45 obj-$(CONFIG_SOC_AM43XX)                += $(omap-4-5-common)
 46 obj-$(CONFIG_SOC_DRA7XX)                += $(omap-4-5-common) $(smp-y) sleep44xx.o
 47 
 48 omap5-dra7-common-$(CONFIG_SOC_HAS_REALTIME_COUNTER) =  timer.o
 49 obj-$(CONFIG_SOC_OMAP5)                 += $(omap5-dra7-common-y)
 50 obj-$(CONFIG_SOC_DRA7XX)                += $(omap5-dra7-common-y)
 51 
 52 # Functions loaded to SRAM
 53 obj-$(CONFIG_SOC_OMAP2420)              += sram242x.o
 54 obj-$(CONFIG_SOC_OMAP2430)              += sram243x.o
 55 
 56 # Restart code (OMAP4/5 currently in omap4-common.c)
 57 obj-$(CONFIG_SOC_OMAP2420)              += omap2-restart.o
 58 obj-$(CONFIG_SOC_OMAP2430)              += omap2-restart.o
 59 obj-$(CONFIG_SOC_TI81XX)                += ti81xx-restart.o
 60 obj-$(CONFIG_SOC_AM33XX)                += am33xx-restart.o
 61 obj-$(CONFIG_SOC_AM43XX)                += omap4-restart.o
 62 obj-$(CONFIG_ARCH_OMAP3)                += omap3-restart.o
 63 obj-$(CONFIG_ARCH_OMAP4)                += omap4-restart.o
 64 obj-$(CONFIG_SOC_OMAP5)                 += omap4-restart.o
 65 obj-$(CONFIG_SOC_DRA7XX)                += omap4-restart.o
 66 
 67 # SMS/SDRC
 68 obj-$(CONFIG_ARCH_OMAP2)                += sdrc2xxx.o
 69 # obj-$(CONFIG_ARCH_OMAP3)              += sdrc3xxx.o
 70 
 71 # OPP table initialization
 72 ifeq ($(CONFIG_PM_OPP),y)
 73 obj-$(CONFIG_ARCH_OMAP3)                += opp3xxx_data.o
 74 obj-$(CONFIG_ARCH_OMAP4)                += opp4xxx_data.o
 75 endif
 76 
 77 # Power Management
 78 omap-4-5-pm-common                      = omap-mpuss-lowpower.o
 79 obj-$(CONFIG_ARCH_OMAP4)                += $(omap-4-5-pm-common)
 80 obj-$(CONFIG_SOC_OMAP5)                 += $(omap-4-5-pm-common)
 81 
 82 ifeq ($(CONFIG_PM),y)
 83 obj-$(CONFIG_ARCH_OMAP2)                += sleep24xx.o
 84 obj-$(CONFIG_ARCH_OMAP3)                += pm34xx.o sleep34xx.o
 85 omap-4-5-pm-common                      += pm44xx.o
 86 obj-$(CONFIG_ARCH_OMAP4)                += $(omap-4-5-pm-common)
 87 obj-$(CONFIG_SOC_OMAP5)                 += $(omap-4-5-pm-common)
 88 obj-$(CONFIG_SOC_DRA7XX)                += $(omap-4-5-pm-common)
 89 obj-$(CONFIG_SOC_AM33XX)                += pm33xx-core.o sleep33xx.o
 90 obj-$(CONFIG_SOC_AM43XX)                += pm33xx-core.o sleep43xx.o
 91 obj-$(CONFIG_PM_DEBUG)                  += pm-debug.o
 92 
 93 obj-$(CONFIG_POWER_AVS_OMAP)            += sr_device.o
 94 obj-$(CONFIG_POWER_AVS_OMAP_CLASS3)    += smartreflex-class3.o
 95 
 96 endif
 97 
 98 ifeq ($(CONFIG_CPU_IDLE),y)
 99 obj-$(CONFIG_ARCH_OMAP3)                += cpuidle34xx.o
100 omap-4-5-idle-common                    =  cpuidle44xx.o
101 obj-$(CONFIG_ARCH_OMAP4)                += $(omap-4-5-idle-common)
102 obj-$(CONFIG_SOC_OMAP5)                 += $(omap-4-5-idle-common)
103 obj-$(CONFIG_SOC_DRA7XX)                += $(omap-4-5-idle-common)
104 endif
105 
106 # PRCM
107 obj-y                                   += prm_common.o cm_common.o
108 obj-$(CONFIG_ARCH_OMAP2)                += prm2xxx_3xxx.o prm2xxx.o cm2xxx.o
109 obj-$(CONFIG_ARCH_OMAP3)                += prm2xxx_3xxx.o prm3xxx.o cm3xxx.o
110 obj-$(CONFIG_ARCH_OMAP3)                += vc3xxx_data.o vp3xxx_data.o
111 omap-prcm-4-5-common                    =  cminst44xx.o prm44xx.o \
112                                            prcm_mpu44xx.o prminst44xx.o \
113                                            vc44xx_data.o vp44xx_data.o
114 obj-$(CONFIG_ARCH_OMAP4)                += $(omap-prcm-4-5-common)
115 obj-$(CONFIG_SOC_OMAP5)                 += $(omap-prcm-4-5-common)
116 obj-$(CONFIG_SOC_DRA7XX)                += $(omap-prcm-4-5-common)
117 am33xx-43xx-prcm-common                 += prm33xx.o cm33xx.o
118 obj-$(CONFIG_SOC_TI81XX)                += $(am33xx-43xx-prcm-common)
119 obj-$(CONFIG_SOC_AM33XX)                += $(am33xx-43xx-prcm-common)
120 obj-$(CONFIG_SOC_AM43XX)                += $(omap-prcm-4-5-common) \
121                                            $(am33xx-43xx-prcm-common)
122 
123 # OMAP voltage domains
124 voltagedomain-common                    := voltage.o vc.o vp.o
125 obj-$(CONFIG_ARCH_OMAP2)                += $(voltagedomain-common)
126 obj-$(CONFIG_ARCH_OMAP2)                += voltagedomains2xxx_data.o
127 obj-$(CONFIG_ARCH_OMAP3)                += $(voltagedomain-common)
128 obj-$(CONFIG_ARCH_OMAP3)                += voltagedomains3xxx_data.o
129 obj-$(CONFIG_ARCH_OMAP4)                += $(voltagedomain-common)
130 obj-$(CONFIG_ARCH_OMAP4)                += voltagedomains44xx_data.o
131 obj-$(CONFIG_SOC_AM33XX)                += $(voltagedomain-common)
132 obj-$(CONFIG_SOC_AM43XX)                += $(voltagedomain-common)
133 obj-$(CONFIG_SOC_OMAP5)                 += $(voltagedomain-common)
134 obj-$(CONFIG_SOC_OMAP5)                += voltagedomains54xx_data.o
135 obj-$(CONFIG_SOC_DRA7XX)                += $(voltagedomain-common)
136 
137 # OMAP powerdomain framework
138 powerdomain-common                      += powerdomain.o powerdomain-common.o
139 obj-$(CONFIG_ARCH_OMAP2)                += $(powerdomain-common)
140 obj-$(CONFIG_ARCH_OMAP2)                += powerdomains2xxx_data.o
141 obj-$(CONFIG_ARCH_OMAP2)                += powerdomains2xxx_3xxx_data.o
142 obj-$(CONFIG_ARCH_OMAP3)                += $(powerdomain-common)
143 obj-$(CONFIG_ARCH_OMAP3)                += powerdomains3xxx_data.o
144 obj-$(CONFIG_ARCH_OMAP3)                += powerdomains2xxx_3xxx_data.o
145 obj-$(CONFIG_ARCH_OMAP4)                += $(powerdomain-common)
146 obj-$(CONFIG_ARCH_OMAP4)                += powerdomains44xx_data.o
147 obj-$(CONFIG_SOC_AM33XX)                += $(powerdomain-common)
148 obj-$(CONFIG_SOC_AM33XX)                += powerdomains33xx_data.o
149 obj-$(CONFIG_SOC_AM43XX)                += $(powerdomain-common)
150 obj-$(CONFIG_SOC_AM43XX)                += powerdomains43xx_data.o
151 obj-$(CONFIG_SOC_OMAP5)                 += $(powerdomain-common)
152 obj-$(CONFIG_SOC_OMAP5)                 += powerdomains54xx_data.o
153 obj-$(CONFIG_SOC_DRA7XX)                += $(powerdomain-common)
154 obj-$(CONFIG_SOC_DRA7XX)                += powerdomains7xx_data.o
155 
156 # PRCM clockdomain control
157 clockdomain-common                      += clockdomain.o
158 obj-$(CONFIG_ARCH_OMAP2)                += $(clockdomain-common)
159 obj-$(CONFIG_ARCH_OMAP2)                += clockdomains2xxx_3xxx_data.o
160 obj-$(CONFIG_SOC_OMAP2420)              += clockdomains2420_data.o
161 obj-$(CONFIG_SOC_OMAP2430)              += clockdomains2430_data.o
162 obj-$(CONFIG_ARCH_OMAP3)                += $(clockdomain-common)
163 obj-$(CONFIG_ARCH_OMAP3)                += clockdomains2xxx_3xxx_data.o
164 obj-$(CONFIG_ARCH_OMAP3)                += clockdomains3xxx_data.o
165 obj-$(CONFIG_ARCH_OMAP4)                += $(clockdomain-common)
166 obj-$(CONFIG_ARCH_OMAP4)                += clockdomains44xx_data.o
167 obj-$(CONFIG_SOC_AM33XX)                += $(clockdomain-common)
168 obj-$(CONFIG_SOC_AM33XX)                += clockdomains33xx_data.o
169 obj-$(CONFIG_SOC_TI81XX)                += $(clockdomain-common)
170 obj-$(CONFIG_SOC_TI81XX)                += clockdomains81xx_data.o
171 obj-$(CONFIG_SOC_AM43XX)                += $(clockdomain-common)
172 obj-$(CONFIG_SOC_AM43XX)                += clockdomains43xx_data.o
173 obj-$(CONFIG_SOC_OMAP5)                 += $(clockdomain-common)
174 obj-$(CONFIG_SOC_OMAP5)                 += clockdomains54xx_data.o
175 obj-$(CONFIG_SOC_DRA7XX)                += $(clockdomain-common)
176 obj-$(CONFIG_SOC_DRA7XX)                += clockdomains7xx_data.o
177 
178 # Clock framework
179 obj-$(CONFIG_ARCH_OMAP2)                += $(clock-common)
180 obj-$(CONFIG_ARCH_OMAP2)                += clkt2xxx_dpllcore.o
181 obj-$(CONFIG_ARCH_OMAP2)                += clkt2xxx_virt_prcm_set.o
182 obj-$(CONFIG_ARCH_OMAP2)                += clkt2xxx_dpll.o
183 obj-$(CONFIG_ARCH_OMAP3)                += $(clock-common)
184 obj-$(CONFIG_ARCH_OMAP4)                += $(clock-common)
185 obj-$(CONFIG_SOC_AM33XX)                += $(clock-common)
186 obj-$(CONFIG_SOC_OMAP5)                 += $(clock-common)
187 obj-$(CONFIG_SOC_DRA7XX)                += $(clock-common)
188 obj-$(CONFIG_SOC_AM43XX)                += $(clock-common)
189 
190 # OMAP2 clock rate set data (old "OPP" data)
191 obj-$(CONFIG_SOC_OMAP2420)              += opp2420_data.o
192 obj-$(CONFIG_SOC_OMAP2430)              += opp2430_data.o
193 
194 # hwmod data
195 obj-$(CONFIG_SOC_OMAP2420)              += omap_hwmod_2xxx_ipblock_data.o
196 obj-$(CONFIG_SOC_OMAP2420)              += omap_hwmod_2xxx_3xxx_ipblock_data.o
197 obj-$(CONFIG_SOC_OMAP2420)              += omap_hwmod_2xxx_interconnect_data.o
198 obj-$(CONFIG_SOC_OMAP2420)              += omap_hwmod_2420_data.o
199 obj-$(CONFIG_SOC_OMAP2430)              += omap_hwmod_2xxx_ipblock_data.o
200 obj-$(CONFIG_SOC_OMAP2430)              += omap_hwmod_2xxx_3xxx_ipblock_data.o
201 obj-$(CONFIG_SOC_OMAP2430)              += omap_hwmod_2xxx_interconnect_data.o
202 obj-$(CONFIG_SOC_OMAP2430)              += omap_hwmod_2430_data.o
203 obj-$(CONFIG_ARCH_OMAP3)                += omap_hwmod_2xxx_3xxx_ipblock_data.o
204 obj-$(CONFIG_ARCH_OMAP3)                += omap_hwmod_3xxx_data.o
205 obj-$(CONFIG_SOC_TI81XX)                += omap_hwmod_81xx_data.o
206 
207 # OMAP2420 MSDI controller integration support ("MMC")
208 obj-$(CONFIG_SOC_OMAP2420)              += msdi.o
209 
210 # Specific board support
211 obj-$(CONFIG_MACH_OMAP_GENERIC)         += board-generic.o pdata-quirks.o
212 obj-$(CONFIG_MACH_NOKIA_N8X0)           += board-n8x0.o
213 
214 # Platform specific device init code
215 
216 obj-y                                   += omap_phy_internal.o
217 
218 obj-$(CONFIG_MACH_OMAP2_TUSB6010)       += usb-tusb6010.o
219 
220 $(obj)/pm-asm-offsets.h: $(obj)/pm-asm-offsets.s FORCE
221         $(call filechk,offsets,__TI_PM_ASM_OFFSETS_H__)
222 
223 $(obj)/sleep33xx.o $(obj)/sleep43xx.o: $(obj)/pm-asm-offsets.h
224 
225 targets += pm-asm-offsets.s
226 clean-files += pm-asm-offsets.h
227 
228 obj-$(CONFIG_OMAP_IOMMU)                += omap-iommu.o

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php