xref: /openbmc/linux/arch/arm/mach-pxa/Makefile (revision faf64ed4)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Makefile for the linux kernel.
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
51da177e4SLinus Torvalds# Common support (must be linked before board specific support)
61c44f5f1SPhilipp Zabelobj-y				+= clock.o devices.o generic.o irq.o dma.o \
775f10b46SDmitry Baryshkov				   time.o gpio.o reset.o
85bf6c6e3SDmitry Baryshkovobj-$(CONFIG_PM)		+= pm.o sleep.o standby.o
95bf6c6e3SDmitry Baryshkovobj-$(CONFIG_CPU_FREQ)		+= cpu-pxa.o
105bf6c6e3SDmitry Baryshkov
115bf6c6e3SDmitry Baryshkov# Generic drivers that other drivers may depend upon
125bf6c6e3SDmitry Baryshkovobj-$(CONFIG_PXA_SSP)		+= ssp.o
1375540c1aSeric miaoobj-$(CONFIG_PXA_PWM)		+= pwm.o
145bf6c6e3SDmitry Baryshkov
155bf6c6e3SDmitry Baryshkov# SoC-specific code
16918dbcbaSDmitry Baryshkovobj-$(CONFIG_PXA25x)		+= mfp-pxa2xx.o pxa2xx.o pxa25x.o
17918dbcbaSDmitry Baryshkovobj-$(CONFIG_PXA27x)		+= mfp-pxa2xx.o pxa2xx.o pxa27x.o
187883938bSRussell Kingobj-$(CONFIG_PXA3xx)		+= mfp-pxa3xx.o pxa3xx.o smemc.o
192c8086a5Seric miaoobj-$(CONFIG_CPU_PXA300)	+= pxa300.o
202c8086a5Seric miaoobj-$(CONFIG_CPU_PXA320)	+= pxa320.o
215d31e435SEric Miaoobj-$(CONFIG_CPU_PXA930)	+= pxa930.o
221da177e4SLinus Torvalds
231da177e4SLinus Torvalds# Specific board support
2490b8fc34SJaya Kumarobj-$(CONFIG_ARCH_GUMSTIX)	+= gumstix.o
251da177e4SLinus Torvaldsobj-$(CONFIG_ARCH_LUBBOCK)	+= lubbock.o
26e9937d4bSLennert Buytenhekobj-$(CONFIG_MACH_LOGICPD_PXA270) += lpd270.o
271da177e4SLinus Torvaldsobj-$(CONFIG_MACH_MAINSTONE)	+= mainstone.o
281da177e4SLinus Torvaldsobj-$(CONFIG_ARCH_PXA_IDP)	+= idp.o
29326764a8SJürgen Schindeleobj-$(CONFIG_MACH_TRIZEPS4)	+= trizeps4.o
304e4fc05aSDaniel Mackobj-$(CONFIG_MACH_COLIBRI)	+= colibri.o
31d72f25b0SRichard Purdieobj-$(CONFIG_PXA_SHARP_C7xx)	+= corgi.o corgi_ssp.o corgi_lcd.o sharpsl_pm.o corgi_pm.o
32e8b6f7f4SRichard Purdieobj-$(CONFIG_PXA_SHARP_Cxx00)	+= spitz.o corgi_ssp.o corgi_lcd.o sharpsl_pm.o spitz_pm.o
33bd5d080aSRichard Purdieobj-$(CONFIG_MACH_AKITA)	+= akita-ioexp.o
34faed5684SRichard Purdieobj-$(CONFIG_MACH_POODLE)	+= poodle.o corgi_ssp.o
3534e31d87SRobert Schwebelobj-$(CONFIG_MACH_PCM027)	+= pcm027.o
362e927b76SRobert Schwebelobj-$(CONFIG_MACH_PCM990_BASEBOARD)	+= pcm990-baseboard.o
378459c159SDirk Opferobj-$(CONFIG_MACH_TOSA)		+= tosa.o
383d50527bSMike Rapoportobj-$(CONFIG_MACH_EM_X270)	+= em-x270.o
39e5c271ecSPhilipp Zabelobj-$(CONFIG_MACH_MAGICIAN)	+= magician.o
4032584c86SIan Moltonobj-$(CONFIG_ARCH_PXA_ESERIES)	+= eseries.o eseries_udc.o
41ac253610SIan Moltonobj-$(CONFIG_MACH_E740)		+= e740_lcd.o
42ac253610SIan Moltonobj-$(CONFIG_MACH_E750)		+= e750_lcd.o
43ac253610SIan Moltonobj-$(CONFIG_MACH_E400)		+= e400_lcd.o
44ac253610SIan Moltonobj-$(CONFIG_MACH_E800)		+= e800_lcd.o
45b5e4ad57SMarek Vašutobj-$(CONFIG_MACH_PALMTX)	+= palmtx.o
461da177e4SLinus Torvalds
472c8086a5Seric miaoifeq ($(CONFIG_MACH_ZYLONITE),y)
482c8086a5Seric miao  obj-y				+= zylonite.o
492c8086a5Seric miao  obj-$(CONFIG_CPU_PXA300)	+= zylonite_pxa300.o
502c8086a5Seric miao  obj-$(CONFIG_CPU_PXA320)	+= zylonite_pxa320.o
512c8086a5Seric miaoendif
52e1d9b953Seric miaoobj-$(CONFIG_MACH_LITTLETON)	+= littleton.o
53bae03311SEric Miaoobj-$(CONFIG_MACH_TAVOREVB)	+= tavorevb.o
54faf64ed4SEric Miaoobj-$(CONFIG_MACH_SAAR)		+= saar.o
552c8086a5Seric miao
563696a8a4SMike Rapoportobj-$(CONFIG_MACH_ARMCORE)      += cm-x270.o
579ab24e4eSStefan Schmidtobj-$(CONFIG_PXA_EZX)           += ezx.o
583696a8a4SMike Rapoport
591da177e4SLinus Torvalds# Support for blinky lights
601da177e4SLinus Torvaldsled-y := leds.o
611da177e4SLinus Torvaldsled-$(CONFIG_ARCH_LUBBOCK)	+= leds-lubbock.o
621da177e4SLinus Torvaldsled-$(CONFIG_MACH_MAINSTONE)	+= leds-mainstone.o
631da177e4SLinus Torvaldsled-$(CONFIG_ARCH_PXA_IDP)	+= leds-idp.o
64326764a8SJürgen Schindeleled-$(CONFIG_MACH_TRIZEPS4)	+= leds-trizeps4.o
651da177e4SLinus Torvalds
661da177e4SLinus Torvaldsobj-$(CONFIG_LEDS)		+= $(led-y)
671da177e4SLinus Torvalds
683696a8a4SMike Rapoportifeq ($(CONFIG_PCI),y)
693696a8a4SMike Rapoportobj-$(CONFIG_MACH_ARMCORE) += cm-x270-pci.o
703696a8a4SMike Rapoportendif
7116b32fd0SDmitry Baryshkov
7216b32fd0SDmitry Baryshkovobj-$(CONFIG_TOSA_BT)		+= tosa-bt.o
73