Merge git://git.infradead.org/mtd-2.6
[linux-2.6] / arch / arm / mach-omap2 / Makefile
1 #
2 # Makefile for the linux kernel.
3 #
4
5 # Common support
6 obj-y := irq.o id.o io.o memory.o control.o prcm.o clock.o mux.o \
7                 devices.o serial.o gpmc.o timer-gp.o powerdomain.o \
8                 clockdomain.o
9
10 obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o
11
12 # Functions loaded to SRAM
13 obj-$(CONFIG_ARCH_OMAP2420)             += sram242x.o
14 obj-$(CONFIG_ARCH_OMAP2430)             += sram243x.o
15 obj-$(CONFIG_ARCH_OMAP3)                += sram34xx.o
16
17 # Power Management
18 ifeq ($(CONFIG_PM),y)
19 obj-y                                   += pm.o
20 obj-$(CONFIG_ARCH_OMAP24XX)             += sleep24xx.o
21 endif
22
23 # Clock framework
24 obj-$(CONFIG_ARCH_OMAP2)                += clock24xx.o
25 obj-$(CONFIG_ARCH_OMAP3)                += clock34xx.o
26
27 # Specific board support
28 obj-$(CONFIG_MACH_OMAP_GENERIC)         += board-generic.o
29 obj-$(CONFIG_MACH_OMAP_H4)              += board-h4.o
30 obj-$(CONFIG_MACH_OMAP_2430SDP)         += board-2430sdp.o \
31                                            mmc-twl4030.o
32 obj-$(CONFIG_MACH_OMAP_APOLLON)         += board-apollon.o
33 obj-$(CONFIG_MACH_OMAP3_BEAGLE)         += board-omap3beagle.o \
34                                            mmc-twl4030.o
35 obj-$(CONFIG_MACH_OMAP_LDP)             += board-ldp.o \
36                                            mmc-twl4030.o
37 obj-$(CONFIG_MACH_OVERO)                += board-overo.o \
38                                            mmc-twl4030.o
39 obj-$(CONFIG_MACH_OMAP3_PANDORA)        += board-omap3pandora.o \
40                                            mmc-twl4030.o
41