aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/Makefile')
-rw-r--r--arch/arm/mach-omap2/Makefile30
1 files changed, 24 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile
index 88629a7455a6..6226e64d99a1 100644
--- a/arch/arm/mach-omap2/Makefile
+++ b/arch/arm/mach-omap2/Makefile
@@ -3,9 +3,14 @@
3# 3#
4 4
5# Common support 5# Common support
6obj-y := irq.o id.o io.o sdrc.o control.o prcm.o clock.o mux.o \ 6obj-y := id.o io.o control.o mux.o devices.o serial.o gpmc.o timer-gp.o
7 devices.o serial.o gpmc.o timer-gp.o powerdomain.o \ 7
8 clockdomain.o 8omap-2-3-common = irq.o sdrc.o
9prcm-common = prcm.o powerdomain.o
10clock-common = clock.o clockdomain.o
11
12obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(prcm-common) $(clock-common)
13obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(prcm-common) $(clock-common)
9 14
10obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o 15obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o
11 16
@@ -20,8 +25,10 @@ obj-$(CONFIG_ARCH_OMAP2) += sdrc2xxx.o
20 25
21# Power Management 26# Power Management
22ifeq ($(CONFIG_PM),y) 27ifeq ($(CONFIG_PM),y)
23obj-y += pm.o 28obj-$(CONFIG_ARCH_OMAP2) += pm24xx.o
24obj-$(CONFIG_ARCH_OMAP24XX) += sleep24xx.o 29obj-$(CONFIG_ARCH_OMAP24XX) += sleep24xx.o
30obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o
31obj-$(CONFIG_PM_DEBUG) += pm-debug.o
25endif 32endif
26 33
27# Clock framework 34# Clock framework
@@ -45,6 +52,8 @@ obj-$(CONFIG_MACH_OMAP_LDP) += board-ldp.o \
45 mmc-twl4030.o 52 mmc-twl4030.o
46obj-$(CONFIG_MACH_OVERO) += board-overo.o \ 53obj-$(CONFIG_MACH_OVERO) += board-overo.o \
47 mmc-twl4030.o 54 mmc-twl4030.o
55obj-$(CONFIG_MACH_OMAP3EVM) += board-omap3evm.o \
56 mmc-twl4030.o
48obj-$(CONFIG_MACH_OMAP3_PANDORA) += board-omap3pandora.o \ 57obj-$(CONFIG_MACH_OMAP3_PANDORA) += board-omap3pandora.o \
49 mmc-twl4030.o 58 mmc-twl4030.o
50obj-$(CONFIG_MACH_OMAP_3430SDP) += board-3430sdp.o \ 59obj-$(CONFIG_MACH_OMAP_3430SDP) += board-3430sdp.o \
@@ -53,8 +62,17 @@ obj-$(CONFIG_MACH_OMAP_3430SDP) += board-3430sdp.o \
53obj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51.o \ 62obj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51.o \
54 board-rx51-peripherals.o \ 63 board-rx51-peripherals.o \
55 mmc-twl4030.o 64 mmc-twl4030.o
65obj-$(CONFIG_MACH_OMAP_ZOOM2) += board-zoom2.o \
66 mmc-twl4030.o \
67 board-zoom-debugboard.o
68
69obj-$(CONFIG_MACH_OMAP_4430SDP) += board-4430sdp.o
56 70
57# Platform specific device init code 71# Platform specific device init code
58ifeq ($(CONFIG_USB_MUSB_SOC),y)
59obj-y += usb-musb.o 72obj-y += usb-musb.o
60endif 73
74onenand-$(CONFIG_MTD_ONENAND_OMAP2) := gpmc-onenand.o
75obj-y += $(onenand-m) $(onenand-y)
76
77smc91x-$(CONFIG_SMC91X) := gpmc-smc91x.o
78obj-y += $(smc91x-m) $(smc91x-y)