xref: /openbmc/linux/arch/arm/mach-omap2/Makefile (revision ad19d8d9)
11dbae815STony Lindgren#
21dbae815STony Lindgren# Makefile for the linux kernel.
31dbae815STony Lindgren#
41dbae815STony Lindgren
51dbae815STony Lindgren# Common support
6f2ab9977SPaul Walmsleyobj-y := irq.o id.o io.o sdrc.o control.o prcm.o clock.o mux.o \
7d459bfe0SPaul Walmsley		devices.o serial.o gpmc.o timer-gp.o powerdomain.o \
8d459bfe0SPaul Walmsley		clockdomain.o
91dbae815STony Lindgren
1078673bc8SEduardo Valentinobj-$(CONFIG_OMAP_MCBSP) += mcbsp.o
1178673bc8SEduardo Valentin
12c2d43e39STony Lindgren# Functions loaded to SRAM
13c2d43e39STony Lindgrenobj-$(CONFIG_ARCH_OMAP2420)		+= sram242x.o
14c2d43e39STony Lindgrenobj-$(CONFIG_ARCH_OMAP2430)		+= sram243x.o
15cc26b3b0SSyed Mohammed, Khasimobj-$(CONFIG_ARCH_OMAP3)		+= sram34xx.o
16c2d43e39STony Lindgren
17f2ab9977SPaul Walmsley# SMS/SDRC
18f2ab9977SPaul Walmsleyobj-$(CONFIG_ARCH_OMAP2)		+= sdrc2xxx.o
19f2ab9977SPaul Walmsley# obj-$(CONFIG_ARCH_OMAP3)		+= sdrc3xxx.o
20f2ab9977SPaul Walmsley
21120db2cbSTony Lindgren# Power Management
221835f1d7STony Lindgrenifeq ($(CONFIG_PM),y)
231835f1d7STony Lindgrenobj-y					+= pm.o
241835f1d7STony Lindgrenobj-$(CONFIG_ARCH_OMAP24XX)		+= sleep24xx.o
251835f1d7STony Lindgrenendif
26120db2cbSTony Lindgren
273d876e59SPaul Walmsley# Clock framework
283d876e59SPaul Walmsleyobj-$(CONFIG_ARCH_OMAP2)		+= clock24xx.o
2902e19a96SPaul Walmsleyobj-$(CONFIG_ARCH_OMAP3)		+= clock34xx.o
303d876e59SPaul Walmsley
311dbae815STony Lindgren# Specific board support
321dbae815STony Lindgrenobj-$(CONFIG_MACH_OMAP_GENERIC)		+= board-generic.o
331dbae815STony Lindgrenobj-$(CONFIG_MACH_OMAP_H4)		+= board-h4.o
3490c62bf0STony Lindgrenobj-$(CONFIG_MACH_OMAP_2430SDP)		+= board-2430sdp.o \
3590c62bf0STony Lindgren					   mmc-twl4030.o
36120db2cbSTony Lindgrenobj-$(CONFIG_MACH_OMAP_APOLLON)		+= board-apollon.o
3790c62bf0STony Lindgrenobj-$(CONFIG_MACH_OMAP3_BEAGLE)		+= board-omap3beagle.o \
3890c62bf0STony Lindgren					   mmc-twl4030.o
3990c62bf0STony Lindgrenobj-$(CONFIG_MACH_OMAP_LDP)		+= board-ldp.o \
4090c62bf0STony Lindgren					   mmc-twl4030.o
4190c62bf0STony Lindgrenobj-$(CONFIG_MACH_OVERO)		+= board-overo.o \
4290c62bf0STony Lindgren					   mmc-twl4030.o
4390c62bf0STony Lindgrenobj-$(CONFIG_MACH_OMAP3_PANDORA)	+= board-omap3pandora.o \
4490c62bf0STony Lindgren					   mmc-twl4030.o
456fdc29e2SSyed Mohammed Khasimobj-$(CONFIG_MACH_OMAP_3430SDP)		+= board-3430sdp.o \
466fdc29e2SSyed Mohammed Khasim					   mmc-twl4030.o
471dbae815STony Lindgren
48ffe7f95bSLauri Leukkunenobj-$(CONFIG_MACH_NOKIA_RX51)		+= board-rx51.o \
49ffe7f95bSLauri Leukkunen					   board-rx51-peripherals.o \
50ad19d8d9STony Lindgren					   mmc-twl4030.o
51ad19d8d9STony Lindgren
5218cb7acaSFelipe Balbi# Platform specific device init code
5318cb7acaSFelipe Balbiifeq ($(CONFIG_USB_MUSB_SOC),y)
5418cb7acaSFelipe Balbiobj-y					+= usb-musb.o
5518cb7acaSFelipe Balbiendif
56