OMAP4: powerdomain: Add pwrdm_clear_all_prev_pwrst
[deliverable/linux.git] / arch / arm / mach-omap2 / Makefile
CommitLineData
1dbae815
TL
1#
2# Makefile for the linux kernel.
3#
4
5# Common support
aa218daf 6obj-y := id.o io.o control.o mux.o devices.o serial.o gpmc.o timer-gp.o pm.o \
81fbc5ef 7 common.o gpio.o dma.o wd_timer.o
d7607663 8
cf21405f 9omap-2-3-common = irq.o sdrc.o prm2xxx_3xxx.o
43b40992 10hwmod-common = omap_hwmod.o \
358f0e63 11 omap_hwmod_common_data.o
0b96af68 12clock-common = clock.o clock_common_data.o \
df791b3e
PW
13 clockdomain.o clkt_dpll.o \
14 clkt_clksel.o
657ebfad 15
74bea6b9
RN
16obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(hwmod-common)
17obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(hwmod-common)
18obj-$(CONFIG_ARCH_OMAP4) += prm44xx.o $(hwmod-common)
1dbae815 19
78673bc8
EV
20obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o
21
934f8be7
SS
22# SMP support ONLY available for OMAP4
23obj-$(CONFIG_SMP) += omap-smp.o omap-headsmp.o
24obj-$(CONFIG_LOCAL_TIMERS) += timer-mpu.o
7d35b8d0 25obj-$(CONFIG_HOTPLUG_CPU) += omap-hotplug.o
fbc9be10 26obj-$(CONFIG_ARCH_OMAP4) += omap44xx-smc.o omap4-common.o
d660f9a2 27
fe297dde
JR
28plus_sec := $(call as-instr,.arch_extension sec,+sec)
29AFLAGS_omap-headsmp.o :=-Wa,-march=armv7-a$(plus_sec)
30AFLAGS_omap44xx-smc.o :=-Wa,-march=armv7-a$(plus_sec)
934f8be7 31
c2d43e39
TL
32# Functions loaded to SRAM
33obj-$(CONFIG_ARCH_OMAP2420) += sram242x.o
34obj-$(CONFIG_ARCH_OMAP2430) += sram243x.o
cc26b3b0 35obj-$(CONFIG_ARCH_OMAP3) += sram34xx.o
c2d43e39 36
56213ca4
TL
37AFLAGS_sram242x.o :=-Wa,-march=armv6
38AFLAGS_sram243x.o :=-Wa,-march=armv6
39AFLAGS_sram34xx.o :=-Wa,-march=armv7-a
40
ddaa912a 41# Pin multiplexing
fc440461 42obj-$(CONFIG_ARCH_OMAP2420) += mux2420.o
89ba1092 43obj-$(CONFIG_ARCH_OMAP2430) += mux2430.o
ddaa912a 44obj-$(CONFIG_ARCH_OMAP3) += mux34xx.o
a041a52c 45obj-$(CONFIG_ARCH_OMAP4) += mux44xx.o
ddaa912a 46
f2ab9977
PW
47# SMS/SDRC
48obj-$(CONFIG_ARCH_OMAP2) += sdrc2xxx.o
49# obj-$(CONFIG_ARCH_OMAP3) += sdrc3xxx.o
50
fd1478cd
NM
51# OPP table initialization
52ifeq ($(CONFIG_PM_OPP),y)
53obj-y += opp.o
54obj-$(CONFIG_ARCH_OMAP3) += opp3xxx_data.o
f5a6422d 55obj-$(CONFIG_ARCH_OMAP4) += opp4xxx_data.o
fd1478cd
NM
56endif
57
120db2cb 58# Power Management
1835f1d7 59ifeq ($(CONFIG_PM),y)
8bd22949 60obj-$(CONFIG_ARCH_OMAP2) += pm24xx.o
57e6fe7b
KH
61obj-$(CONFIG_ARCH_OMAP2) += sleep24xx.o pm_bus.o
62obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o cpuidle34xx.o pm_bus.o
63obj-$(CONFIG_ARCH_OMAP4) += pm44xx.o pm_bus.o
8bd22949 64obj-$(CONFIG_PM_DEBUG) += pm-debug.o
56213ca4
TL
65
66AFLAGS_sleep24xx.o :=-Wa,-march=armv6
67AFLAGS_sleep34xx.o :=-Wa,-march=armv7-a
68
57e6fe7b
KH
69ifeq ($(CONFIG_PM_VERBOSE),y)
70CFLAGS_pm_bus.o += -DDEBUG
71endif
72
1835f1d7 73endif
120db2cb 74
71348bca 75# PRCM
74bea6b9
RN
76obj-$(CONFIG_ARCH_OMAP2) += prcm.o cm.o
77obj-$(CONFIG_ARCH_OMAP3) += prcm.o cm.o
78obj-$(CONFIG_ARCH_OMAP4) += prcm.o cm4xxx.o
79
80# OMAP powerdomain framework
9b7fc907 81powerdomain-common += powerdomain.o powerdomains_data.o powerdomain-common.o
f327e07b
RN
82obj-$(CONFIG_ARCH_OMAP2) += $(powerdomain-common) \
83 powerdomain2xxx_3xxx.o
84obj-$(CONFIG_ARCH_OMAP3) += $(powerdomain-common) \
85 powerdomain2xxx_3xxx.o
86obj-$(CONFIG_ARCH_OMAP4) += $(powerdomain-common) \
87 powerdomain44xx.o
71348bca 88
3d876e59 89# Clock framework
657ebfad 90obj-$(CONFIG_ARCH_OMAP2) += $(clock-common) clock2xxx.o \
81b34fbe 91 clkt2xxx_sys.o \
657ebfad
PW
92 clkt2xxx_dpllcore.o \
93 clkt2xxx_virt_prcm_set.o \
94 clkt2xxx_apll.o clkt2xxx_osc.o
81b34fbe
PW
95obj-$(CONFIG_ARCH_OMAP2420) += clock2420_data.o
96obj-$(CONFIG_ARCH_OMAP2430) += clock2430.o clock2430_data.o
657ebfad
PW
97obj-$(CONFIG_ARCH_OMAP3) += $(clock-common) clock3xxx.o \
98 clock34xx.o clkt34xx_dpll3m2.o \
99 clock3517.o clock36xx.o \
100 dpll3xxx.o clock3xxx_data.o
101obj-$(CONFIG_ARCH_OMAP4) += $(clock-common) clock44xx_data.o \
102 dpll3xxx.o
103
104# OMAP2 clock rate set data (old "OPP" data)
d8a94458 105obj-$(CONFIG_ARCH_OMAP2420) += opp2420_data.o
d8a94458 106obj-$(CONFIG_ARCH_OMAP2430) += opp2430_data.o
3d876e59 107
7359154e
PW
108# hwmod data
109obj-$(CONFIG_ARCH_OMAP2420) += omap_hwmod_2420_data.o
110obj-$(CONFIG_ARCH_OMAP2430) += omap_hwmod_2430_data.o
111obj-$(CONFIG_ARCH_OMAP3) += omap_hwmod_3xxx_data.o
55d2cb08 112obj-$(CONFIG_ARCH_OMAP4) += omap_hwmod_44xx_data.o
3d876e59 113
183bd50f 114# EMU peripherals
657ebfad 115obj-$(CONFIG_OMAP3_EMU) += emu.o
183bd50f 116
59fdc6eb
S
117obj-$(CONFIG_OMAP_MBOX_FWK) += mailbox_mach.o
118mailbox_mach-objs := mailbox.o
119
0bbc6fcf
HD
120obj-$(CONFIG_OMAP_IOMMU) += iommu2.o
121
122iommu-$(CONFIG_OMAP_IOMMU) := omap-iommu.o
123obj-y += $(iommu-m) $(iommu-y)
caf60779 124
b63128e8
TL
125i2c-omap-$(CONFIG_I2C_OMAP) := i2c.o
126obj-y += $(i2c-omap-m) $(i2c-omap-y)
127
90173882
FC
128ifneq ($(CONFIG_TIDSPBRIDGE),)
129obj-y += dsp.o
130endif
131
1dbae815
TL
132# Specific board support
133obj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o
134obj-$(CONFIG_MACH_OMAP_H4) += board-h4.o
90c62bf0 135obj-$(CONFIG_MACH_OMAP_2430SDP) += board-2430sdp.o \
d02a900b 136 hsmmc.o
120db2cb 137obj-$(CONFIG_MACH_OMAP_APOLLON) += board-apollon.o
90c62bf0 138obj-$(CONFIG_MACH_OMAP3_BEAGLE) += board-omap3beagle.o \
d02a900b 139 hsmmc.o
476544ca
TW
140obj-$(CONFIG_MACH_DEVKIT8000) += board-devkit8000.o \
141 hsmmc.o
90c62bf0 142obj-$(CONFIG_MACH_OMAP_LDP) += board-ldp.o \
2430f9df 143 board-flash.o \
d02a900b 144 hsmmc.o
d40f3f15
TN
145obj-$(CONFIG_MACH_OMAP3530_LV_SOM) += board-omap3logic.o \
146 hsmmc.o
147obj-$(CONFIG_MACH_OMAP3_TORPEDO) += board-omap3logic.o \
148 hsmmc.o
90c62bf0 149obj-$(CONFIG_MACH_OVERO) += board-overo.o \
d02a900b 150 hsmmc.o
53c5ec31 151obj-$(CONFIG_MACH_OMAP3EVM) += board-omap3evm.o \
d02a900b 152 hsmmc.o
90c62bf0 153obj-$(CONFIG_MACH_OMAP3_PANDORA) += board-omap3pandora.o \
d02a900b 154 hsmmc.o
6fdc29e2 155obj-$(CONFIG_MACH_OMAP_3430SDP) += board-3430sdp.o \
d02a900b 156 hsmmc.o \
13d6b73c 157 board-flash.o
63138812 158obj-$(CONFIG_MACH_NOKIA_N8X0) += board-n8x0.o
2d200665
AK
159obj-$(CONFIG_MACH_NOKIA_RM680) += board-rm680.o \
160 sdram-nokia.o \
161 hsmmc.o
ffe7f95b 162obj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51.o \
6c3bc4eb 163 sdram-nokia.o \
ffe7f95b 164 board-rx51-peripherals.o \
03e11104 165 board-rx51-video.o \
d02a900b 166 hsmmc.o
20826853 167obj-$(CONFIG_MACH_OMAP_ZOOM2) += board-zoom.o \
479f12c9 168 board-zoom-peripherals.o \
7e7eb426 169 board-flash.o \
d02a900b 170 hsmmc.o \
577145f4 171 board-zoom-debugboard.o
20826853 172obj-$(CONFIG_MACH_OMAP_ZOOM3) += board-zoom.o \
5f35fbe8 173 board-zoom-peripherals.o \
e08b105e 174 board-flash.o \
d02a900b 175 hsmmc.o \
577145f4 176 board-zoom-debugboard.o
34c9ac23 177obj-$(CONFIG_MACH_OMAP_3630SDP) += board-3630sdp.o \
178 board-zoom-peripherals.o \
7875eea5 179 board-flash.o \
d02a900b 180 hsmmc.o
2886d128 181obj-$(CONFIG_MACH_CM_T35) += board-cm-t35.o \
d02a900b 182 hsmmc.o
d04b620e 183obj-$(CONFIG_MACH_CM_T3517) += board-cm-t3517.o
58e11162 184obj-$(CONFIG_MACH_IGEP0020) += board-igep0020.o \
d02a900b 185 hsmmc.o
e844b1da
EBS
186obj-$(CONFIG_MACH_IGEP0030) += board-igep0030.o \
187 hsmmc.o
7a079cab 188obj-$(CONFIG_MACH_OMAP3_TOUCHBOOK) += board-omap3touchbook.o \
d02a900b 189 hsmmc.o
717c1fbf 190obj-$(CONFIG_MACH_OMAP_4430SDP) += board-4430sdp.o \
191 hsmmc.o
b075f58b
DA
192obj-$(CONFIG_MACH_OMAP4_PANDA) += board-omap4panda.o \
193 hsmmc.o
ad19d8d9 194
657ebfad 195obj-$(CONFIG_MACH_OMAP3517EVM) += board-am3517evm.o
c625327e 196
1cb125ca
S
197obj-$(CONFIG_MACH_CRANEBOARD) += board-am3517crane.o
198
9cbc3493
J
199obj-$(CONFIG_MACH_SBC3530) += board-omap3stalker.o \
200 hsmmc.o
18cb7aca 201# Platform specific device init code
b5e8905b
TL
202usbfs-$(CONFIG_ARCH_OMAP_OTG) := usb-fs.o
203obj-y += $(usbfs-m) $(usbfs-y)
18cb7aca 204obj-y += usb-musb.o
1b52d5df 205obj-$(CONFIG_MACH_OMAP2_TUSB6010) += usb-tusb6010.o
58a5491c 206obj-y += usb-ehci.o
aa62e90f
JY
207
208onenand-$(CONFIG_MTD_ONENAND_OMAP2) := gpmc-onenand.o
209obj-y += $(onenand-m) $(onenand-y)
1a48e157 210
2f70a1e9
VS
211nand-$(CONFIG_MTD_NAND_OMAP2) := gpmc-nand.o
212obj-y += $(nand-m) $(nand-y)
213
1a48e157
TL
214smc91x-$(CONFIG_SMC91X) := gpmc-smc91x.o
215obj-y += $(smc91x-m) $(smc91x-y)
cdd280b9
TN
216
217smsc911x-$(CONFIG_SMSC911X) := gpmc-smsc911x.o
218obj-y += $(smsc911x-m) $(smsc911x-y)
This page took 0.468629 seconds and 5 git commands to generate.