diff options
Diffstat (limited to 'arch/arm/mach-omap2/Makefile')
-rw-r--r-- | arch/arm/mach-omap2/Makefile | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile index 88d3a1e920f5..7352412e4917 100644 --- a/arch/arm/mach-omap2/Makefile +++ b/arch/arm/mach-omap2/Makefile | |||
@@ -3,9 +3,10 @@ | |||
3 | # | 3 | # |
4 | 4 | ||
5 | # Common support | 5 | # Common support |
6 | obj-y := id.o io.o control.o mux.o devices.o serial.o gpmc.o timer-gp.o pm.o | 6 | obj-y := id.o io.o control.o mux.o devices.o serial.o gpmc.o timer-gp.o pm.o \ |
7 | common.o | ||
7 | 8 | ||
8 | omap-2-3-common = irq.o sdrc.o | 9 | omap-2-3-common = irq.o sdrc.o prm2xxx_3xxx.o |
9 | hwmod-common = omap_hwmod.o \ | 10 | hwmod-common = omap_hwmod.o \ |
10 | omap_hwmod_common_data.o | 11 | omap_hwmod_common_data.o |
11 | prcm-common = prcm.o powerdomain.o | 12 | prcm-common = prcm.o powerdomain.o |
@@ -15,7 +16,7 @@ clock-common = clock.o clock_common_data.o \ | |||
15 | 16 | ||
16 | obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(prcm-common) $(hwmod-common) | 17 | obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(prcm-common) $(hwmod-common) |
17 | obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(prcm-common) $(hwmod-common) | 18 | obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(prcm-common) $(hwmod-common) |
18 | obj-$(CONFIG_ARCH_OMAP4) += $(prcm-common) $(hwmod-common) | 19 | obj-$(CONFIG_ARCH_OMAP4) += $(prcm-common) prm44xx.o $(hwmod-common) |
19 | 20 | ||
20 | obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o | 21 | obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o |
21 | 22 | ||
@@ -49,14 +50,18 @@ obj-$(CONFIG_ARCH_OMAP2) += sdrc2xxx.o | |||
49 | # Power Management | 50 | # Power Management |
50 | ifeq ($(CONFIG_PM),y) | 51 | ifeq ($(CONFIG_PM),y) |
51 | obj-$(CONFIG_ARCH_OMAP2) += pm24xx.o | 52 | obj-$(CONFIG_ARCH_OMAP2) += pm24xx.o |
52 | obj-$(CONFIG_ARCH_OMAP2) += sleep24xx.o | 53 | obj-$(CONFIG_ARCH_OMAP2) += sleep24xx.o pm_bus.o |
53 | obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o cpuidle34xx.o | 54 | obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o cpuidle34xx.o pm_bus.o |
54 | obj-$(CONFIG_ARCH_OMAP4) += pm44xx.o | 55 | obj-$(CONFIG_ARCH_OMAP4) += pm44xx.o pm_bus.o |
55 | obj-$(CONFIG_PM_DEBUG) += pm-debug.o | 56 | obj-$(CONFIG_PM_DEBUG) += pm-debug.o |
56 | 57 | ||
57 | AFLAGS_sleep24xx.o :=-Wa,-march=armv6 | 58 | AFLAGS_sleep24xx.o :=-Wa,-march=armv6 |
58 | AFLAGS_sleep34xx.o :=-Wa,-march=armv7-a | 59 | AFLAGS_sleep34xx.o :=-Wa,-march=armv7-a |
59 | 60 | ||
61 | ifeq ($(CONFIG_PM_VERBOSE),y) | ||
62 | CFLAGS_pm_bus.o += -DDEBUG | ||
63 | endif | ||
64 | |||
60 | endif | 65 | endif |
61 | 66 | ||
62 | # PRCM | 67 | # PRCM |
@@ -87,6 +92,7 @@ obj-$(CONFIG_ARCH_OMAP2430) += opp2430_data.o | |||
87 | obj-$(CONFIG_ARCH_OMAP2420) += omap_hwmod_2420_data.o | 92 | obj-$(CONFIG_ARCH_OMAP2420) += omap_hwmod_2420_data.o |
88 | obj-$(CONFIG_ARCH_OMAP2430) += omap_hwmod_2430_data.o | 93 | obj-$(CONFIG_ARCH_OMAP2430) += omap_hwmod_2430_data.o |
89 | obj-$(CONFIG_ARCH_OMAP3) += omap_hwmod_3xxx_data.o | 94 | obj-$(CONFIG_ARCH_OMAP3) += omap_hwmod_3xxx_data.o |
95 | obj-$(CONFIG_ARCH_OMAP4) += omap_hwmod_44xx_data.o | ||
90 | 96 | ||
91 | # EMU peripherals | 97 | # EMU peripherals |
92 | obj-$(CONFIG_OMAP3_EMU) += emu.o | 98 | obj-$(CONFIG_OMAP3_EMU) += emu.o |
@@ -115,6 +121,10 @@ obj-$(CONFIG_MACH_DEVKIT8000) += board-devkit8000.o \ | |||
115 | obj-$(CONFIG_MACH_OMAP_LDP) += board-ldp.o \ | 121 | obj-$(CONFIG_MACH_OMAP_LDP) += board-ldp.o \ |
116 | board-flash.o \ | 122 | board-flash.o \ |
117 | hsmmc.o | 123 | hsmmc.o |
124 | obj-$(CONFIG_MACH_OMAP3530_LV_SOM) += board-omap3logic.o \ | ||
125 | hsmmc.o | ||
126 | obj-$(CONFIG_MACH_OMAP3_TORPEDO) += board-omap3logic.o \ | ||
127 | hsmmc.o | ||
118 | obj-$(CONFIG_MACH_OVERO) += board-overo.o \ | 128 | obj-$(CONFIG_MACH_OVERO) += board-overo.o \ |
119 | hsmmc.o | 129 | hsmmc.o |
120 | obj-$(CONFIG_MACH_OMAP3EVM) += board-omap3evm.o \ | 130 | obj-$(CONFIG_MACH_OMAP3EVM) += board-omap3evm.o \ |
@@ -146,8 +156,11 @@ obj-$(CONFIG_MACH_OMAP_3630SDP) += board-3630sdp.o \ | |||
146 | hsmmc.o | 156 | hsmmc.o |
147 | obj-$(CONFIG_MACH_CM_T35) += board-cm-t35.o \ | 157 | obj-$(CONFIG_MACH_CM_T35) += board-cm-t35.o \ |
148 | hsmmc.o | 158 | hsmmc.o |
159 | obj-$(CONFIG_MACH_CM_T3517) += board-cm-t3517.o | ||
149 | obj-$(CONFIG_MACH_IGEP0020) += board-igep0020.o \ | 160 | obj-$(CONFIG_MACH_IGEP0020) += board-igep0020.o \ |
150 | hsmmc.o | 161 | hsmmc.o |
162 | obj-$(CONFIG_MACH_IGEP0030) += board-igep0030.o \ | ||
163 | hsmmc.o | ||
151 | obj-$(CONFIG_MACH_OMAP3_TOUCHBOOK) += board-omap3touchbook.o \ | 164 | obj-$(CONFIG_MACH_OMAP3_TOUCHBOOK) += board-omap3touchbook.o \ |
152 | hsmmc.o | 165 | hsmmc.o |
153 | obj-$(CONFIG_MACH_OMAP_4430SDP) += board-4430sdp.o \ | 166 | obj-$(CONFIG_MACH_OMAP_4430SDP) += board-4430sdp.o \ |
@@ -174,3 +187,6 @@ obj-y += $(nand-m) $(nand-y) | |||
174 | 187 | ||
175 | smc91x-$(CONFIG_SMC91X) := gpmc-smc91x.o | 188 | smc91x-$(CONFIG_SMC91X) := gpmc-smc91x.o |
176 | obj-y += $(smc91x-m) $(smc91x-y) | 189 | obj-y += $(smc91x-m) $(smc91x-y) |
190 | |||
191 | smsc911x-$(CONFIG_SMSC911X) := gpmc-smsc911x.o | ||
192 | obj-y += $(smsc911x-m) $(smsc911x-y) | ||