blob: 11f7f660879be62a17798032aaae22a473ea9c3a [file] [log] [blame]
Tony Lindgren1dbae812005-11-10 14:26:51 +00001#
2# Makefile for the linux kernel.
3#
4
5# Common support
Tony Lindgrena9a418d2009-05-25 11:08:36 -07006obj-y := id.o io.o control.o mux.o devices.o serial.o gpmc.o timer-gp.o
7
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)
Tony Lindgren1dbae812005-11-10 14:26:51 +000014
Eduardo Valentin78673bc2008-07-03 12:24:40 +030015obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o
16
Tony Lindgrenc2d43e32008-07-03 12:24:38 +030017# Functions loaded to SRAM
18obj-$(CONFIG_ARCH_OMAP2420) += sram242x.o
19obj-$(CONFIG_ARCH_OMAP2430) += sram243x.o
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +030020obj-$(CONFIG_ARCH_OMAP3) += sram34xx.o
Tony Lindgrenc2d43e32008-07-03 12:24:38 +030021
Paul Walmsleyf2ab9972009-01-28 12:27:37 -070022# SMS/SDRC
23obj-$(CONFIG_ARCH_OMAP2) += sdrc2xxx.o
24# obj-$(CONFIG_ARCH_OMAP3) += sdrc3xxx.o
25
Tony Lindgren120db2c2006-04-02 17:46:27 +010026# Power Management
Tony Lindgren1835f1d2008-10-06 15:49:15 +030027ifeq ($(CONFIG_PM),y)
28obj-y += pm.o
29obj-$(CONFIG_ARCH_OMAP24XX) += sleep24xx.o
30endif
Tony Lindgren120db2c2006-04-02 17:46:27 +010031
Paul Walmsley3d876e52008-03-18 14:41:40 +020032# Clock framework
33obj-$(CONFIG_ARCH_OMAP2) += clock24xx.o
Paul Walmsley02e19a92008-03-18 15:09:51 +020034obj-$(CONFIG_ARCH_OMAP3) += clock34xx.o
Paul Walmsley3d876e52008-03-18 14:41:40 +020035
Tony Lindgren1dbae812005-11-10 14:26:51 +000036# Specific board support
37obj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o
38obj-$(CONFIG_MACH_OMAP_H4) += board-h4.o
Tony Lindgren90c62bf2008-12-10 17:37:17 -080039obj-$(CONFIG_MACH_OMAP_2430SDP) += board-2430sdp.o \
40 mmc-twl4030.o
Tony Lindgren120db2c2006-04-02 17:46:27 +010041obj-$(CONFIG_MACH_OMAP_APOLLON) += board-apollon.o
Tony Lindgren90c62bf2008-12-10 17:37:17 -080042obj-$(CONFIG_MACH_OMAP3_BEAGLE) += board-omap3beagle.o \
43 mmc-twl4030.o
44obj-$(CONFIG_MACH_OMAP_LDP) += board-ldp.o \
45 mmc-twl4030.o
46obj-$(CONFIG_MACH_OVERO) += board-overo.o \
47 mmc-twl4030.o
48obj-$(CONFIG_MACH_OMAP3_PANDORA) += board-omap3pandora.o \
49 mmc-twl4030.o
Syed Mohammed Khasim6fdc29e2009-03-23 18:38:16 -070050obj-$(CONFIG_MACH_OMAP_3430SDP) += board-3430sdp.o \
51 mmc-twl4030.o
Tony Lindgren1dbae812005-11-10 14:26:51 +000052
Lauri Leukkunenffe7f952009-03-23 18:38:17 -070053obj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51.o \
54 board-rx51-peripherals.o \
Tony Lindgrenad19d8d2009-03-30 22:58:31 +010055 mmc-twl4030.o
56
Felipe Balbi18cb7ac2009-03-23 18:34:06 -070057# Platform specific device init code
58ifeq ($(CONFIG_USB_MUSB_SOC),y)
59obj-y += usb-musb.o
60endif
Juha Yrjolaaa62e902009-05-28 13:23:52 -070061
62onenand-$(CONFIG_MTD_ONENAND_OMAP2) := gpmc-onenand.o
63obj-y += $(onenand-m) $(onenand-y)