xref: /openbmc/linux/arch/arm/mach-davinci/Makefile (revision 4a075bd4)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the linux kernel.
4#
5#
6
7# Common objects
8obj-y 					:= time.o serial.o usb.o \
9					   common.o sram.o
10
11obj-$(CONFIG_DAVINCI_MUX)		+= mux.o
12
13# Chip specific
14obj-$(CONFIG_ARCH_DAVINCI_DM644x)       += dm644x.o devices.o
15obj-$(CONFIG_ARCH_DAVINCI_DM355)        += dm355.o devices.o
16obj-$(CONFIG_ARCH_DAVINCI_DM646x)       += dm646x.o devices.o
17obj-$(CONFIG_ARCH_DAVINCI_DM365)	+= dm365.o devices.o
18obj-$(CONFIG_ARCH_DAVINCI_DA830)	+= da830.o devices-da8xx.o usb-da8xx.o
19obj-$(CONFIG_ARCH_DAVINCI_DA850)	+= da850.o devices-da8xx.o usb-da8xx.o
20
21# Board specific
22obj-$(CONFIG_MACH_DA8XX_DT)		+= da8xx-dt.o pdata-quirks.o
23obj-$(CONFIG_MACH_DAVINCI_EVM)  	+= board-dm644x-evm.o
24obj-$(CONFIG_MACH_SFFSDR)		+= board-sffsdr.o
25obj-$(CONFIG_MACH_NEUROS_OSD2)		+= board-neuros-osd2.o
26obj-$(CONFIG_MACH_DAVINCI_DM355_EVM)	+= board-dm355-evm.o
27obj-$(CONFIG_MACH_DM355_LEOPARD)	+= board-dm355-leopard.o
28obj-$(CONFIG_MACH_DAVINCI_DM6467_EVM)	+= board-dm646x-evm.o
29obj-$(CONFIG_MACH_DAVINCI_DM365_EVM)	+= board-dm365-evm.o
30obj-$(CONFIG_MACH_DAVINCI_DA830_EVM)	+= board-da830-evm.o
31obj-$(CONFIG_MACH_DAVINCI_DA850_EVM)	+= board-da850-evm.o
32obj-$(CONFIG_MACH_MITYOMAPL138)		+= board-mityomapl138.o
33obj-$(CONFIG_MACH_OMAPL138_HAWKBOARD)	+= board-omapl138-hawk.o
34
35# Power Management
36obj-$(CONFIG_CPU_IDLE)			+= cpuidle.o
37obj-$(CONFIG_HAVE_CLK)			+= pm_domain.o
38ifeq ($(CONFIG_SUSPEND),y)
39obj-$(CONFIG_ARCH_DAVINCI_DA850)	+= pm.o sleep.o
40endif
41