xref: /openbmc/linux/arch/arm/mach-pxa/Makefile (revision 45e2a9b4)
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
3092261343SJaya Kumarobj-$(CONFIG_MACH_AM200EPD)	+= am200epd.o
311da177e4SLinus Torvaldsobj-$(CONFIG_ARCH_LUBBOCK)	+= lubbock.o
32e9937d4bSLennert Buytenhekobj-$(CONFIG_MACH_LOGICPD_PXA270) += lpd270.o
331da177e4SLinus Torvaldsobj-$(CONFIG_MACH_MAINSTONE)	+= mainstone.o
3449ea26d0SKristoffer Ericsonobj-$(CONFIG_MACH_MP900C)	+= mp900.o
351da177e4SLinus Torvaldsobj-$(CONFIG_ARCH_PXA_IDP)	+= idp.o
36326764a8SJürgen Schindeleobj-$(CONFIG_MACH_TRIZEPS4)	+= trizeps4.o
374e4fc05aSDaniel Mackobj-$(CONFIG_MACH_COLIBRI)	+= colibri.o
38edb403fbSEric Miaoobj-$(CONFIG_PXA_SHARP_C7xx)	+= corgi.o sharpsl_pm.o corgi_pm.o
39859b7963SEric Miaoobj-$(CONFIG_PXA_SHARP_Cxx00)	+= spitz.o sharpsl_pm.o spitz_pm.o
4045e2a9b4SEric Miaoobj-$(CONFIG_CORGI_SSP_DEPRECATED)	+= corgi_ssp.o corgi_lcd.o
419ee40d9aSEric Miaoobj-$(CONFIG_MACH_POODLE)	+= poodle.o
4234e31d87SRobert Schwebelobj-$(CONFIG_MACH_PCM027)	+= pcm027.o
432e927b76SRobert Schwebelobj-$(CONFIG_MACH_PCM990_BASEBOARD)	+= pcm990-baseboard.o
448459c159SDirk Opferobj-$(CONFIG_MACH_TOSA)		+= tosa.o
453d50527bSMike Rapoportobj-$(CONFIG_MACH_EM_X270)	+= em-x270.o
46e5c271ecSPhilipp Zabelobj-$(CONFIG_MACH_MAGICIAN)	+= magician.o
47eda6f6ecSRobert Jarzmikobj-$(CONFIG_MACH_MIOA701)	+= mioa701.o mioa701_bootresume.o
48cc513ac0SRussell Kingobj-$(CONFIG_ARCH_PXA_ESERIES)	+= eseries.o
49cc513ac0SRussell Kingobj-$(CONFIG_MACH_E330)		+= e330.o
50cc513ac0SRussell Kingobj-$(CONFIG_MACH_E350)		+= e350.o
51cc513ac0SRussell Kingobj-$(CONFIG_MACH_E740)		+= e740.o
52cc513ac0SRussell Kingobj-$(CONFIG_MACH_E750)		+= e750.o
53cc513ac0SRussell Kingobj-$(CONFIG_MACH_E400)		+= e400.o
54cc513ac0SRussell Kingobj-$(CONFIG_MACH_E800)		+= e800.o
55b5e4ad57SMarek Vašutobj-$(CONFIG_MACH_PALMTX)	+= palmtx.o
56c49e1e63SSergey Lapinobj-$(CONFIG_MACH_PALMZ72)	+= palmz72.o
57352699a3SMarc Zyngierobj-$(CONFIG_ARCH_VIPER)	+= viper.o
581da177e4SLinus Torvalds
592c8086a5Seric miaoifeq ($(CONFIG_MACH_ZYLONITE),y)
602c8086a5Seric miao  obj-y				+= zylonite.o
612c8086a5Seric miao  obj-$(CONFIG_CPU_PXA300)	+= zylonite_pxa300.o
622c8086a5Seric miao  obj-$(CONFIG_CPU_PXA320)	+= zylonite_pxa320.o
632c8086a5Seric miaoendif
64e1d9b953Seric miaoobj-$(CONFIG_MACH_LITTLETON)	+= littleton.o
65bae03311SEric Miaoobj-$(CONFIG_MACH_TAVOREVB)	+= tavorevb.o
66faf64ed4SEric Miaoobj-$(CONFIG_MACH_SAAR)		+= saar.o
672c8086a5Seric miao
68a7f3f030SMike Rapoportobj-$(CONFIG_MACH_ARMCORE)      += cm-x2xx.o cm-x255.o cm-x270.o
69cf75d8d2SMike Rapoportobj-$(CONFIG_MACH_CM_X300)      += cm-x300.o
709ab24e4eSStefan Schmidtobj-$(CONFIG_PXA_EZX)           += ezx.o
713696a8a4SMike Rapoport
721da177e4SLinus Torvalds# Support for blinky lights
731da177e4SLinus Torvaldsled-y := leds.o
741da177e4SLinus Torvaldsled-$(CONFIG_ARCH_LUBBOCK)	+= leds-lubbock.o
751da177e4SLinus Torvaldsled-$(CONFIG_MACH_MAINSTONE)	+= leds-mainstone.o
761da177e4SLinus Torvaldsled-$(CONFIG_ARCH_PXA_IDP)	+= leds-idp.o
771da177e4SLinus Torvalds
781da177e4SLinus Torvaldsobj-$(CONFIG_LEDS)		+= $(led-y)
791da177e4SLinus Torvalds
803696a8a4SMike Rapoportifeq ($(CONFIG_PCI),y)
817d76e3f1SMike Rapoportobj-$(CONFIG_MACH_ARMCORE) += cm-x2xx-pci.o
823696a8a4SMike Rapoportendif
8316b32fd0SDmitry Baryshkov
8416b32fd0SDmitry Baryshkovobj-$(CONFIG_TOSA_BT)		+= tosa-bt.o
85