1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 2b288f75fSTony Lindgren# 3b288f75fSTony Lindgren# Makefile for the linux kernel. 4b288f75fSTony Lindgren# 5b288f75fSTony Lindgren 6b288f75fSTony Lindgren# Common support 7f205cfafSTony Lindgrenobj-y := io.o id.o sram-init.o sram.o time.o irq.o mux.o flash.o \ 816d60bb8STony Lindgren serial.o devices.o dma.o fb.o 997933d6cSTarun Kanti DebBarmaobj-y += clock.o clock_data.o opp_data.o reset.o pm_bus.o timer.o 10120db2cbSTony Lindgren 113ead4679SPeter Ujfalusiifneq ($(CONFIG_SND_OMAP_SOC_MCBSP),) 123ead4679SPeter Ujfalusiobj-y += mcbsp.o 133ead4679SPeter Ujfalusiendif 1444ec9a33SEduardo Valentin 15a57fb870SKevin Hilmanobj-$(CONFIG_OMAP_32K_TIMER) += timer32k.o 16120db2cbSTony Lindgren 176f3c1af2SPaul Walmsley# OCPI interconnect support for 1710, 1610 and 5912 186f3c1af2SPaul Walmsleyobj-$(CONFIG_ARCH_OMAP16XX) += ocpi.o 196f3c1af2SPaul Walmsley 20120db2cbSTony Lindgren# Power Management 21e9e35c5aSKevin Hilmanobj-$(CONFIG_PM) += pm.o sleep.o 22120db2cbSTony Lindgren 23b63128e8STony Lindgreni2c-omap-$(CONFIG_I2C_OMAP) := i2c.o 24b63128e8STony Lindgrenobj-y += $(i2c-omap-m) $(i2c-omap-y) 25b63128e8STony Lindgren 26b288f75fSTony Lindgrenled-y := leds.o 27b288f75fSTony Lindgren 28*c7b7b5cbSAaro Koskinenusb-fs-$(CONFIG_USB_SUPPORT) := usb.o 29dd0cdd88STony Lindgrenobj-y += $(usb-fs-m) $(usb-fs-y) 30dd0cdd88STony Lindgren 31b288f75fSTony Lindgren# Specific board support 3231cde044SPaul Walmsleyobj-$(CONFIG_MACH_OMAP_H2) += board-h2.o board-h2-mmc.o \ 3331cde044SPaul Walmsley board-nand.o 34b288f75fSTony Lindgrenobj-$(CONFIG_MACH_OMAP_INNOVATOR) += board-innovator.o 35b288f75fSTony Lindgrenobj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o 3631cde044SPaul Walmsleyobj-$(CONFIG_MACH_OMAP_PERSEUS2) += board-perseus2.o board-nand.o 3731cde044SPaul Walmsleyobj-$(CONFIG_MACH_OMAP_FSAMPLE) += board-fsample.o board-nand.o 38b288f75fSTony Lindgrenobj-$(CONFIG_MACH_OMAP_OSK) += board-osk.o 3931cde044SPaul Walmsleyobj-$(CONFIG_MACH_OMAP_H3) += board-h3.o board-h3-mmc.o \ 4031cde044SPaul Walmsley board-nand.o 413179a019STony Lindgrenobj-$(CONFIG_MACH_OMAP_PALMTE) += board-palmte.o 42ec70e8afSMarek Vasutobj-$(CONFIG_MACH_OMAP_PALMZ71) += board-palmz71.o 43dc563b4fSMarek Vasutobj-$(CONFIG_MACH_OMAP_PALMTT) += board-palmtt.o 44120db2cbSTony Lindgrenobj-$(CONFIG_MACH_NOKIA770) += board-nokia770.o 459632f989SJanusz Krzysztofikobj-$(CONFIG_MACH_AMS_DELTA) += board-ams-delta.o ams-delta-fiq.o \ 469632f989SJanusz Krzysztofik ams-delta-fiq-handler.o 47087c5030SCarlos Eduardo Aguiarobj-$(CONFIG_MACH_SX1) += board-sx1.o board-sx1-mmc.o 489c2816f7SCory Maccarroneobj-$(CONFIG_MACH_HERALD) += board-htcherald.o 49b288f75fSTony Lindgren 503179a019STony Lindgrenifeq ($(CONFIG_ARCH_OMAP15XX),y) 51b288f75fSTony Lindgren# Innovator-1510 FPGA 52b288f75fSTony Lindgrenobj-$(CONFIG_MACH_OMAP_INNOVATOR) += fpga.o 53b288f75fSTony Lindgrenendif 54b288f75fSTony Lindgren 5577640aabSVaradarajan, Charulatha# GPIO 5677640aabSVaradarajan, Charulathaobj-$(CONFIG_ARCH_OMAP730) += gpio7xx.o 5777640aabSVaradarajan, Charulathaobj-$(CONFIG_ARCH_OMAP850) += gpio7xx.o 5877640aabSVaradarajan, Charulathaobj-$(CONFIG_ARCH_OMAP15XX) += gpio15xx.o 5977640aabSVaradarajan, Charulathaobj-$(CONFIG_ARCH_OMAP16XX) += gpio16xx.o 6077640aabSVaradarajan, Charulatha 61f8e9e984SJanusz Krzysztofikifneq ($(CONFIG_FB_OMAP),) 62f8e9e984SJanusz Krzysztofikobj-y += lcd_dma.o 63f8e9e984SJanusz Krzysztofikendif 64