xref: /openbmc/linux/arch/arm/mach-pxa/Makefile (revision b7eb1a5e)
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
90d1bde9eSEric Miao
100d1bde9eSEric Miaoifeq ($(CONFIG_CPU_FREQ),y)
110d1bde9eSEric Miaoobj-$(CONFIG_PXA25x)		+= cpufreq-pxa2xx.o
120d1bde9eSEric Miaoobj-$(CONFIG_PXA27x)		+= cpufreq-pxa2xx.o
134f788bb2SEric Miaoobj-$(CONFIG_PXA3xx)		+= cpufreq-pxa3xx.o
140d1bde9eSEric Miaoendif
155bf6c6e3SDmitry Baryshkov
165bf6c6e3SDmitry Baryshkov# Generic drivers that other drivers may depend upon
175bf6c6e3SDmitry Baryshkovobj-$(CONFIG_PXA_SSP)		+= ssp.o
1875540c1aSeric miaoobj-$(CONFIG_PXA_PWM)		+= pwm.o
195bf6c6e3SDmitry Baryshkov
205bf6c6e3SDmitry Baryshkov# SoC-specific code
21918dbcbaSDmitry Baryshkovobj-$(CONFIG_PXA25x)		+= mfp-pxa2xx.o pxa2xx.o pxa25x.o
22918dbcbaSDmitry Baryshkovobj-$(CONFIG_PXA27x)		+= mfp-pxa2xx.o pxa2xx.o pxa27x.o
237883938bSRussell Kingobj-$(CONFIG_PXA3xx)		+= mfp-pxa3xx.o pxa3xx.o smemc.o
242c8086a5Seric miaoobj-$(CONFIG_CPU_PXA300)	+= pxa300.o
252c8086a5Seric miaoobj-$(CONFIG_CPU_PXA320)	+= pxa320.o
265d31e435SEric Miaoobj-$(CONFIG_CPU_PXA930)	+= pxa930.o
271da177e4SLinus Torvalds
281da177e4SLinus Torvalds# Specific board support
2990b8fc34SJaya Kumarobj-$(CONFIG_ARCH_GUMSTIX)	+= gumstix.o
303332b0c1SJaya Kumarobj-$(CONFIG_GUMSTIX_AM200EPD)	+= am200epd.o
314ce255c1SJaya Kumarobj-$(CONFIG_GUMSTIX_AM300EPD)	+= am300epd.o
321da177e4SLinus Torvaldsobj-$(CONFIG_ARCH_LUBBOCK)	+= lubbock.o
33e9937d4bSLennert Buytenhekobj-$(CONFIG_MACH_LOGICPD_PXA270) += lpd270.o
341da177e4SLinus Torvaldsobj-$(CONFIG_MACH_MAINSTONE)	+= mainstone.o
3549ea26d0SKristoffer Ericsonobj-$(CONFIG_MACH_MP900C)	+= mp900.o
361da177e4SLinus Torvaldsobj-$(CONFIG_ARCH_PXA_IDP)	+= idp.o
37326764a8SJürgen Schindeleobj-$(CONFIG_MACH_TRIZEPS4)	+= trizeps4.o
384e4fc05aSDaniel Mackobj-$(CONFIG_MACH_COLIBRI)	+= colibri.o
39bc2fd1c0SAnton Vorontsovobj-$(CONFIG_MACH_H5000)	+= h5000.o
40edb403fbSEric Miaoobj-$(CONFIG_PXA_SHARP_C7xx)	+= corgi.o sharpsl_pm.o corgi_pm.o
41859b7963SEric Miaoobj-$(CONFIG_PXA_SHARP_Cxx00)	+= spitz.o sharpsl_pm.o spitz_pm.o
4245e2a9b4SEric Miaoobj-$(CONFIG_CORGI_SSP_DEPRECATED)	+= corgi_ssp.o corgi_lcd.o
439ee40d9aSEric Miaoobj-$(CONFIG_MACH_POODLE)	+= poodle.o
4434e31d87SRobert Schwebelobj-$(CONFIG_MACH_PCM027)	+= pcm027.o
452e927b76SRobert Schwebelobj-$(CONFIG_MACH_PCM990_BASEBOARD)	+= pcm990-baseboard.o
468459c159SDirk Opferobj-$(CONFIG_MACH_TOSA)		+= tosa.o
473d50527bSMike Rapoportobj-$(CONFIG_MACH_EM_X270)	+= em-x270.o
48e5c271ecSPhilipp Zabelobj-$(CONFIG_MACH_MAGICIAN)	+= magician.o
49b7eb1a5eSZbynek Michlobj-$(CONFIG_MACH_HIMALAYA)	+= himalaya.o
50eda6f6ecSRobert Jarzmikobj-$(CONFIG_MACH_MIOA701)	+= mioa701.o mioa701_bootresume.o
51cc513ac0SRussell Kingobj-$(CONFIG_ARCH_PXA_ESERIES)	+= eseries.o
52cc513ac0SRussell Kingobj-$(CONFIG_MACH_E330)		+= e330.o
53cc513ac0SRussell Kingobj-$(CONFIG_MACH_E350)		+= e350.o
54cc513ac0SRussell Kingobj-$(CONFIG_MACH_E740)		+= e740.o
55cc513ac0SRussell Kingobj-$(CONFIG_MACH_E750)		+= e750.o
56cc513ac0SRussell Kingobj-$(CONFIG_MACH_E400)		+= e400.o
57cc513ac0SRussell Kingobj-$(CONFIG_MACH_E800)		+= e800.o
580f6ff0f0SMarek Vasutobj-$(CONFIG_MACH_PALMT5)	+= palmt5.o
59b5e4ad57SMarek Vašutobj-$(CONFIG_MACH_PALMTX)	+= palmtx.o
60a645072aSMarek Vasutobj-$(CONFIG_MACH_PALMLD)	+= palmld.o
61c49e1e63SSergey Lapinobj-$(CONFIG_MACH_PALMZ72)	+= palmz72.o
62352699a3SMarc Zyngierobj-$(CONFIG_ARCH_VIPER)	+= viper.o
631da177e4SLinus Torvalds
642c8086a5Seric miaoifeq ($(CONFIG_MACH_ZYLONITE),y)
652c8086a5Seric miao  obj-y				+= zylonite.o
662c8086a5Seric miao  obj-$(CONFIG_CPU_PXA300)	+= zylonite_pxa300.o
672c8086a5Seric miao  obj-$(CONFIG_CPU_PXA320)	+= zylonite_pxa320.o
682c8086a5Seric miaoendif
69e1d9b953Seric miaoobj-$(CONFIG_MACH_LITTLETON)	+= littleton.o
70bae03311SEric Miaoobj-$(CONFIG_MACH_TAVOREVB)	+= tavorevb.o
71faf64ed4SEric Miaoobj-$(CONFIG_MACH_SAAR)		+= saar.o
722c8086a5Seric miao
73a7f3f030SMike Rapoportobj-$(CONFIG_MACH_ARMCORE)      += cm-x2xx.o cm-x255.o cm-x270.o
74cf75d8d2SMike Rapoportobj-$(CONFIG_MACH_CM_X300)      += cm-x300.o
759ab24e4eSStefan Schmidtobj-$(CONFIG_PXA_EZX)           += ezx.o
763696a8a4SMike Rapoport
77b6795fa9SJonathan Cameronobj-$(CONFIG_MACH_INTELMOTE2)   += imote2.o
78b6795fa9SJonathan Cameron
791da177e4SLinus Torvalds# Support for blinky lights
801da177e4SLinus Torvaldsled-y := leds.o
811da177e4SLinus Torvaldsled-$(CONFIG_ARCH_LUBBOCK)	+= leds-lubbock.o
821da177e4SLinus Torvaldsled-$(CONFIG_MACH_MAINSTONE)	+= leds-mainstone.o
831da177e4SLinus Torvaldsled-$(CONFIG_ARCH_PXA_IDP)	+= leds-idp.o
841da177e4SLinus Torvalds
851da177e4SLinus Torvaldsobj-$(CONFIG_LEDS)		+= $(led-y)
861da177e4SLinus Torvalds
873696a8a4SMike Rapoportifeq ($(CONFIG_PCI),y)
887d76e3f1SMike Rapoportobj-$(CONFIG_MACH_ARMCORE) += cm-x2xx-pci.o
893696a8a4SMike Rapoportendif
9016b32fd0SDmitry Baryshkov
9116b32fd0SDmitry Baryshkovobj-$(CONFIG_TOSA_BT)		+= tosa-bt.o
92