xref: /openbmc/linux/arch/arm/mach-pxa/Makefile (revision 38f539a6)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Makefile for the linux kernel.
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
51da177e4SLinus Torvalds# Common support (must be linked before board specific support)
6bd5ce433SEric Miaoobj-y				+= clock.o devices.o generic.o irq.o \
738f539a6SEric Miao				   time.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
385c0dbb8fSDaniel Mackobj-$(CONFIG_MACH_COLIBRI)	+= colibri-pxa270.o
39acb36559SDaniel Mackobj-$(CONFIG_MACH_COLIBRI300)	+= colibri-pxa3xx.o colibri-pxa300.o
40bac07ecdSDaniel Mackobj-$(CONFIG_MACH_COLIBRI320)	+= colibri-pxa3xx.o colibri-pxa320.o
41bc2fd1c0SAnton Vorontsovobj-$(CONFIG_MACH_H5000)	+= h5000.o
42edb403fbSEric Miaoobj-$(CONFIG_PXA_SHARP_C7xx)	+= corgi.o sharpsl_pm.o corgi_pm.o
43859b7963SEric Miaoobj-$(CONFIG_PXA_SHARP_Cxx00)	+= spitz.o sharpsl_pm.o spitz_pm.o
4445e2a9b4SEric Miaoobj-$(CONFIG_CORGI_SSP_DEPRECATED)	+= corgi_ssp.o corgi_lcd.o
459ee40d9aSEric Miaoobj-$(CONFIG_MACH_POODLE)	+= poodle.o
4634e31d87SRobert Schwebelobj-$(CONFIG_MACH_PCM027)	+= pcm027.o
472e927b76SRobert Schwebelobj-$(CONFIG_MACH_PCM990_BASEBOARD)	+= pcm990-baseboard.o
488459c159SDirk Opferobj-$(CONFIG_MACH_TOSA)		+= tosa.o
493d50527bSMike Rapoportobj-$(CONFIG_MACH_EM_X270)	+= em-x270.o
50e5c271ecSPhilipp Zabelobj-$(CONFIG_MACH_MAGICIAN)	+= magician.o
51b7eb1a5eSZbynek Michlobj-$(CONFIG_MACH_HIMALAYA)	+= himalaya.o
52eda6f6ecSRobert Jarzmikobj-$(CONFIG_MACH_MIOA701)	+= mioa701.o mioa701_bootresume.o
53cc513ac0SRussell Kingobj-$(CONFIG_ARCH_PXA_ESERIES)	+= eseries.o
54cc513ac0SRussell Kingobj-$(CONFIG_MACH_E330)		+= e330.o
55cc513ac0SRussell Kingobj-$(CONFIG_MACH_E350)		+= e350.o
56cc513ac0SRussell Kingobj-$(CONFIG_MACH_E740)		+= e740.o
57cc513ac0SRussell Kingobj-$(CONFIG_MACH_E750)		+= e750.o
58cc513ac0SRussell Kingobj-$(CONFIG_MACH_E400)		+= e400.o
59cc513ac0SRussell Kingobj-$(CONFIG_MACH_E800)		+= e800.o
600f6ff0f0SMarek Vasutobj-$(CONFIG_MACH_PALMT5)	+= palmt5.o
61b5e4ad57SMarek Vašutobj-$(CONFIG_MACH_PALMTX)	+= palmtx.o
62a645072aSMarek Vasutobj-$(CONFIG_MACH_PALMLD)	+= palmld.o
63c49e1e63SSergey Lapinobj-$(CONFIG_MACH_PALMZ72)	+= palmz72.o
64352699a3SMarc Zyngierobj-$(CONFIG_ARCH_VIPER)	+= viper.o
651da177e4SLinus Torvalds
662c8086a5Seric miaoifeq ($(CONFIG_MACH_ZYLONITE),y)
672c8086a5Seric miao  obj-y				+= zylonite.o
682c8086a5Seric miao  obj-$(CONFIG_CPU_PXA300)	+= zylonite_pxa300.o
692c8086a5Seric miao  obj-$(CONFIG_CPU_PXA320)	+= zylonite_pxa320.o
702c8086a5Seric miaoendif
71e1d9b953Seric miaoobj-$(CONFIG_MACH_LITTLETON)	+= littleton.o
72bae03311SEric Miaoobj-$(CONFIG_MACH_TAVOREVB)	+= tavorevb.o
73faf64ed4SEric Miaoobj-$(CONFIG_MACH_SAAR)		+= saar.o
742c8086a5Seric miao
75a7f3f030SMike Rapoportobj-$(CONFIG_MACH_ARMCORE)      += cm-x2xx.o cm-x255.o cm-x270.o
76cf75d8d2SMike Rapoportobj-$(CONFIG_MACH_CM_X300)      += cm-x300.o
779ab24e4eSStefan Schmidtobj-$(CONFIG_PXA_EZX)           += ezx.o
783696a8a4SMike Rapoport
79b6795fa9SJonathan Cameronobj-$(CONFIG_MACH_INTELMOTE2)   += imote2.o
80aac42970SDmitry Eremin-Solenikovobj-$(CONFIG_MACH_CSB726)	+= csb726.o
813b31fabfSDmitry Eremin-Solenikovobj-$(CONFIG_CSB726_CSB701)	+= csb701.o
82b6795fa9SJonathan Cameron
831da177e4SLinus Torvalds# Support for blinky lights
841da177e4SLinus Torvaldsled-y := leds.o
851da177e4SLinus Torvaldsled-$(CONFIG_ARCH_LUBBOCK)	+= leds-lubbock.o
861da177e4SLinus Torvaldsled-$(CONFIG_MACH_MAINSTONE)	+= leds-mainstone.o
871da177e4SLinus Torvaldsled-$(CONFIG_ARCH_PXA_IDP)	+= leds-idp.o
881da177e4SLinus Torvalds
891da177e4SLinus Torvaldsobj-$(CONFIG_LEDS)		+= $(led-y)
901da177e4SLinus Torvalds
913696a8a4SMike Rapoportifeq ($(CONFIG_PCI),y)
927d76e3f1SMike Rapoportobj-$(CONFIG_MACH_ARMCORE) += cm-x2xx-pci.o
933696a8a4SMike Rapoportendif
9416b32fd0SDmitry Baryshkov
9516b32fd0SDmitry Baryshkovobj-$(CONFIG_TOSA_BT)		+= tosa-bt.o
96