xref: /openbmc/linux/arch/arm/mach-at91/Makefile (revision 1441bd32)
19d041268SAndrew Victor#
29d041268SAndrew Victor# Makefile for the linux kernel.
39d041268SAndrew Victor#
49d041268SAndrew Victor
521d08b9dSJean-Christophe PLAGNIOL-VILLARDobj-y		:= irq.o gpio.o setup.o
69d041268SAndrew Victorobj-m		:=
79d041268SAndrew Victorobj-n		:=
89d041268SAndrew Victorobj-		:=
99d041268SAndrew Victor
10ea00e303SGreg Ungererobj-$(CONFIG_AT91_PMC_UNIT)	+= clock.o
11c0177594SJean-Christophe PLAGNIOL-VILLARDobj-$(CONFIG_AT91_SAM9_ALT_RESET) += at91sam9_alt_reset.o
1214f991a7SJean-Christophe PLAGNIOL-VILLARDobj-$(CONFIG_AT91_SAM9G45_RESET) += at91sam9g45_reset.o
131441bd32SJean-Christophe PLAGNIOL-VILLARDobj-$(CONFIG_SOC_AT91SAM9)	+= at91sam926x_time.o sam9_smc.o
149d041268SAndrew Victor
159d041268SAndrew Victor# CPU-specific support
169d041268SAndrew Victorobj-$(CONFIG_ARCH_AT91RM9200)	+= at91rm9200.o at91rm9200_time.o at91rm9200_devices.o
171441bd32SJean-Christophe PLAGNIOL-VILLARDobj-$(CONFIG_ARCH_AT91SAM9260)	+= at91sam9260.o at91sam9260_devices.o
181441bd32SJean-Christophe PLAGNIOL-VILLARDobj-$(CONFIG_ARCH_AT91SAM9261)	+= at91sam9261.o at91sam9261_devices.o
191441bd32SJean-Christophe PLAGNIOL-VILLARDobj-$(CONFIG_ARCH_AT91SAM9G10)	+= at91sam9261.o at91sam9261_devices.o
201441bd32SJean-Christophe PLAGNIOL-VILLARDobj-$(CONFIG_ARCH_AT91SAM9263)	+= at91sam9263.o at91sam9263_devices.o
211441bd32SJean-Christophe PLAGNIOL-VILLARDobj-$(CONFIG_ARCH_AT91SAM9RL)	+= at91sam9rl.o at91sam9rl_devices.o
221441bd32SJean-Christophe PLAGNIOL-VILLARDobj-$(CONFIG_ARCH_AT91SAM9G20)	+= at91sam9260.o at91sam9260_devices.o
231441bd32SJean-Christophe PLAGNIOL-VILLARDobj-$(CONFIG_ARCH_AT91SAM9G45)	+= at91sam9g45.o at91sam9g45_devices.o
241441bd32SJean-Christophe PLAGNIOL-VILLARDobj-$(CONFIG_ARCH_AT91SAM9X5)	+= at91sam9x5.o
25ea00e303SGreg Ungererobj-$(CONFIG_ARCH_AT91X40)	+= at91x40.o at91x40_time.o
269d041268SAndrew Victor
279d041268SAndrew Victor# AT91RM9200 board-specific support
289d041268SAndrew Victorobj-$(CONFIG_MACH_ONEARM)	+= board-1arm.o
29985f554dSJean-Christophe PLAGNIOL-VILLARDobj-$(CONFIG_ARCH_AT91RM9200DK)	+= board-rm9200dk.o
30985f554dSJean-Christophe PLAGNIOL-VILLARDobj-$(CONFIG_MACH_AT91RM9200EK)	+= board-rm9200ek.o
319d041268SAndrew Victorobj-$(CONFIG_MACH_CSB337)	+= board-csb337.o
329d041268SAndrew Victorobj-$(CONFIG_MACH_CSB637)	+= board-csb637.o
339d041268SAndrew Victorobj-$(CONFIG_MACH_CARMEVA)	+= board-carmeva.o
349d041268SAndrew Victorobj-$(CONFIG_MACH_KB9200)	+= board-kb9202.o
359d041268SAndrew Victorobj-$(CONFIG_MACH_ATEB9200)	+= board-eb9200.o
369d041268SAndrew Victorobj-$(CONFIG_MACH_KAFA)		+= board-kafa.o
375d01f133SSimon Richterobj-$(CONFIG_MACH_PICOTUX2XX)	+= board-picotux200.o
382f036ac6SAndrew Victorobj-$(CONFIG_MACH_ECBAT91)	+= board-ecbat91.o
39e3ba22dbSAndrew Victorobj-$(CONFIG_MACH_YL9200)	+= board-yl-9200.o
4010233a93SEric Bénardobj-$(CONFIG_MACH_CPUAT91)	+= board-cpuat91.o
4101c62c9bSUwe Kleine-Königobj-$(CONFIG_MACH_ECO920)	+= board-eco920.o
4282cb8654SJosef Holzmayrobj-$(CONFIG_MACH_RSI_EWS)	+= board-rsi-ews.o
439d041268SAndrew Victor
449d041268SAndrew Victor# AT91SAM9260 board-specific support
459d041268SAndrew Victorobj-$(CONFIG_MACH_AT91SAM9260EK) += board-sam9260ek.o
4635131fb6SAndrew Victorobj-$(CONFIG_MACH_CAM60)	+= board-cam60.o
4766dbfc6cSAndrew Victorobj-$(CONFIG_MACH_SAM9_L9260)	+= board-sam9-l9260.o
486939fd49SNico Erfurthobj-$(CONFIG_MACH_USB_A9260)	+= board-usb-a926x.o
49ca0a789aSAndrew Victorobj-$(CONFIG_MACH_QIL_A9260)	+= board-qil-a9260.o
509c784f95SSergey Lapinobj-$(CONFIG_MACH_AFEB9260)	+= board-afeb-9260v1.o
5141a353d1SEric Bénardobj-$(CONFIG_MACH_CPU9260)	+= board-cpu9krea.o
528ed90595SMaxim Osipovobj-$(CONFIG_MACH_FLEXIBITY)	+= board-flexibity.o
539d041268SAndrew Victor
549d041268SAndrew Victor# AT91SAM9261 board-specific support
559d041268SAndrew Victorobj-$(CONFIG_MACH_AT91SAM9261EK) += board-sam9261ek.o
56b319ff80SNicolas Ferreobj-$(CONFIG_MACH_AT91SAM9G10EK) += board-sam9261ek.o
579d041268SAndrew Victor
58e6d92e63SAndrew Victor# AT91SAM9263 board-specific support
59e6d92e63SAndrew Victorobj-$(CONFIG_MACH_AT91SAM9263EK) += board-sam9263ek.o
606939fd49SNico Erfurthobj-$(CONFIG_MACH_USB_A9263)	+= board-usb-a926x.o
61ffc63b7dSAndrew Victorobj-$(CONFIG_MACH_NEOCORE926)	+= board-neocore926.o
62e6d92e63SAndrew Victor
63c42dcb3dSAndrew Victor# AT91SAM9RL board-specific support
64c42dcb3dSAndrew Victorobj-$(CONFIG_MACH_AT91SAM9RLEK)	+= board-sam9rlek.o
65c42dcb3dSAndrew Victor
6661352667Ssedji gaouaou# AT91SAM9G20 board-specific support
6761352667Ssedji gaouaouobj-$(CONFIG_MACH_AT91SAM9G20EK) += board-sam9g20ek.o
6841a353d1SEric Bénardobj-$(CONFIG_MACH_CPU9G20)	+= board-cpu9krea.o
690fb55d3bSSergio Tanzilliobj-$(CONFIG_MACH_ACMENETUSFOXG20) += board-foxg20.o
709b404b7cSChristian Glindkampobj-$(CONFIG_MACH_STAMP9G20)	+= board-stamp9g20.o
719b404b7cSChristian Glindkampobj-$(CONFIG_MACH_PORTUXG20)	+= board-stamp9g20.o
72c20b4dd3SChristian Glindkampobj-$(CONFIG_MACH_PCONTROL_G20)	+= board-pcontrol-g20.o board-stamp9g20.o
73fcdc2ea7SIgor Plyatovobj-$(CONFIG_MACH_GSIA18S)	+= board-gsia18s.o board-stamp9g20.o
740a072a24SJean-Christophe PLAGNIOL-VILLARDobj-$(CONFIG_MACH_USB_A9G20)	+= board-usb-a926x.o
7561352667Ssedji gaouaou
76064baacaSRyan Mallon# AT91SAM9260/AT91SAM9G20 board-specific support
77064baacaSRyan Mallonobj-$(CONFIG_MACH_SNAPPER_9260)	+= board-snapper9260.o
78064baacaSRyan Mallon
79789b23bcSNicolas Ferre# AT91SAM9G45 board-specific support
8067dd8995SJean-Christophe PLAGNIOL-VILLARDobj-$(CONFIG_MACH_AT91SAM9M10G45EK) += board-sam9m10g45ek.o
81789b23bcSNicolas Ferre
8249fe2ba3SNicolas Ferre# AT91SAM board with device-tree
8349fe2ba3SNicolas Ferreobj-$(CONFIG_MACH_AT91SAM_DT) += board-dt.o
8449fe2ba3SNicolas Ferre
85b7b272a8SAndrew Victor# AT91X40 board-specific support
86b7b272a8SAndrew Victorobj-$(CONFIG_MACH_AT91EB01)	+= board-eb01.o
879d041268SAndrew Victor
88b7b272a8SAndrew Victor# Drivers
89a04ff1afSAndrew Victorobj-y				+= leds.o
909d041268SAndrew Victor
91b7b272a8SAndrew Victor# Power Management
92b7b272a8SAndrew Victorobj-$(CONFIG_PM)		+= pm.o
93eaad2db0SAndrew Victorobj-$(CONFIG_AT91_SLOW_CLOCK)	+= pm_slowclock.o
941ea60cf7SAlbin Tonnerreobj-$(CONFIG_CPU_IDLE)	+= cpuidle.o
959d041268SAndrew Victor
969d041268SAndrew Victorifeq ($(CONFIG_PM_DEBUG),y)
979d041268SAndrew VictorCFLAGS_pm.o += -DDEBUG
989d041268SAndrew Victorendif
99