11dbae815STony Lindgren# 21dbae815STony Lindgren# Makefile for the linux kernel. 31dbae815STony Lindgren# 41dbae815STony Lindgren 51dbae815STony Lindgren# Common support 6d7607663STony Lindgrenobj-y := id.o io.o control.o mux.o devices.o serial.o gpmc.o timer-gp.o 7d7607663STony Lindgren 863c85238SPaul Walmsleyomap-2-3-common = irq.o sdrc.o omap_hwmod.o 998c45457SPaul Walmsleyomap-3-4-common = dpll3xxx.o 10d7607663STony Lindgrenprcm-common = prcm.o powerdomain.o 110b96af68SPaul Walmsleyclock-common = clock.o clock_common_data.o \ 120b96af68SPaul Walmsley clockdomain.o clkt_dpll.o 13d7607663STony Lindgren 14d7607663STony Lindgrenobj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(prcm-common) $(clock-common) 15a1391d27SRajendra Nayakobj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(prcm-common) $(clock-common) \ 1616975a79SRajendra Nayak $(omap-3-4-common) 178a3ddc75SAbhijit Pagareobj-$(CONFIG_ARCH_OMAP4) += $(omap-3-4-common) $(prcm-common) $(clock-common) 181dbae815STony Lindgren 1978673bc8SEduardo Valentinobj-$(CONFIG_OMAP_MCBSP) += mcbsp.o 2078673bc8SEduardo Valentin 21934f8be7SSantosh Shilimkar# SMP support ONLY available for OMAP4 22934f8be7SSantosh Shilimkarobj-$(CONFIG_SMP) += omap-smp.o omap-headsmp.o 23934f8be7SSantosh Shilimkarobj-$(CONFIG_LOCAL_TIMERS) += timer-mpu.o 24934f8be7SSantosh Shilimkar 25c2d43e39STony Lindgren# Functions loaded to SRAM 26c2d43e39STony Lindgrenobj-$(CONFIG_ARCH_OMAP2420) += sram242x.o 27c2d43e39STony Lindgrenobj-$(CONFIG_ARCH_OMAP2430) += sram243x.o 28cc26b3b0SSyed Mohammed, Khasimobj-$(CONFIG_ARCH_OMAP3) += sram34xx.o 29c2d43e39STony Lindgren 30ddaa912aSTony Lindgren# Pin multiplexing 31ddaa912aSTony Lindgrenobj-$(CONFIG_ARCH_OMAP3) += mux34xx.o 32ddaa912aSTony Lindgren 33f2ab9977SPaul Walmsley# SMS/SDRC 34f2ab9977SPaul Walmsleyobj-$(CONFIG_ARCH_OMAP2) += sdrc2xxx.o 35f2ab9977SPaul Walmsley# obj-$(CONFIG_ARCH_OMAP3) += sdrc3xxx.o 36f2ab9977SPaul Walmsley 37120db2cbSTony Lindgren# Power Management 381835f1d7STony Lindgrenifeq ($(CONFIG_PM),y) 398bd22949SKevin Hilmanobj-$(CONFIG_ARCH_OMAP2) += pm24xx.o 401835f1d7STony Lindgrenobj-$(CONFIG_ARCH_OMAP24XX) += sleep24xx.o 4199e6a4d2SRajendra Nayakobj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o cpuidle34xx.o 428bd22949SKevin Hilmanobj-$(CONFIG_PM_DEBUG) += pm-debug.o 431835f1d7STony Lindgrenendif 44120db2cbSTony Lindgren 4571348bcaSPaul Walmsley# PRCM 4671348bcaSPaul Walmsleyobj-$(CONFIG_ARCH_OMAP2) += cm.o 4771348bcaSPaul Walmsleyobj-$(CONFIG_ARCH_OMAP3) += cm.o 4871348bcaSPaul Walmsleyobj-$(CONFIG_ARCH_OMAP4) += cm4xxx.o 4971348bcaSPaul Walmsley 503d876e59SPaul Walmsley# Clock framework 51d8a94458SPaul Walmsleyobj-$(CONFIG_ARCH_OMAP2) += clock2xxx.o clock2xxx_data.o 52d8a94458SPaul Walmsleyobj-$(CONFIG_ARCH_OMAP2420) += opp2420_data.o 5382e9bd58SPaul Walmsleyobj-$(CONFIG_ARCH_OMAP3) += clock34xx.o clock34xx_data.o 54d8a94458SPaul Walmsleyobj-$(CONFIG_ARCH_OMAP2430) += opp2430_data.o 55d79b1267SRajendra Nayakobj-$(CONFIG_ARCH_OMAP4) += clock44xx.o clock44xx_data.o 563d876e59SPaul Walmsley 57183bd50fSAlexander Shishkin# EMU peripherals 58183bd50fSAlexander Shishkinobj-$(CONFIG_OMAP3_EMU) += emu.o 59183bd50fSAlexander Shishkin 6059fdc6ebSC A Subramaniamobj-$(CONFIG_OMAP_MBOX_FWK) += mailbox_mach.o 6159fdc6ebSC A Subramaniammailbox_mach-objs := mailbox.o 6259fdc6ebSC A Subramaniam 63caf60779SHiroshi DOYUiommu-y += iommu2.o 64caf60779SHiroshi DOYUiommu-$(CONFIG_ARCH_OMAP3) += omap3-iommu.o 65caf60779SHiroshi DOYU 66caf60779SHiroshi DOYUobj-$(CONFIG_OMAP_IOMMU) += $(iommu-y) 67caf60779SHiroshi DOYU 68b63128e8STony Lindgreni2c-omap-$(CONFIG_I2C_OMAP) := i2c.o 69b63128e8STony Lindgrenobj-y += $(i2c-omap-m) $(i2c-omap-y) 70b63128e8STony Lindgren 711dbae815STony Lindgren# Specific board support 721dbae815STony Lindgrenobj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o 731dbae815STony Lindgrenobj-$(CONFIG_MACH_OMAP_H4) += board-h4.o 7490c62bf0STony Lindgrenobj-$(CONFIG_MACH_OMAP_2430SDP) += board-2430sdp.o \ 7590c62bf0STony Lindgren mmc-twl4030.o 76120db2cbSTony Lindgrenobj-$(CONFIG_MACH_OMAP_APOLLON) += board-apollon.o 7790c62bf0STony Lindgrenobj-$(CONFIG_MACH_OMAP3_BEAGLE) += board-omap3beagle.o \ 7890c62bf0STony Lindgren mmc-twl4030.o 7990c62bf0STony Lindgrenobj-$(CONFIG_MACH_OMAP_LDP) += board-ldp.o \ 8090c62bf0STony Lindgren mmc-twl4030.o 8190c62bf0STony Lindgrenobj-$(CONFIG_MACH_OVERO) += board-overo.o \ 8290c62bf0STony Lindgren mmc-twl4030.o 8353c5ec31SSyed Mohammed Khasimobj-$(CONFIG_MACH_OMAP3EVM) += board-omap3evm.o \ 8453c5ec31SSyed Mohammed Khasim mmc-twl4030.o 8590c62bf0STony Lindgrenobj-$(CONFIG_MACH_OMAP3_PANDORA) += board-omap3pandora.o \ 8690c62bf0STony Lindgren mmc-twl4030.o 876fdc29e2SSyed Mohammed Khasimobj-$(CONFIG_MACH_OMAP_3430SDP) += board-3430sdp.o \ 886fdc29e2SSyed Mohammed Khasim mmc-twl4030.o 8963138812SKalle Valoobj-$(CONFIG_MACH_NOKIA_N8X0) += board-n8x0.o 90ffe7f95bSLauri Leukkunenobj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51.o \ 912000655eSTero Kristo board-rx51-sdram.o \ 92ffe7f95bSLauri Leukkunen board-rx51-peripherals.o \ 93ad19d8d9STony Lindgren mmc-twl4030.o 94577145f4SVikram Panditaobj-$(CONFIG_MACH_OMAP_ZOOM2) += board-zoom2.o \ 95479f12c9Svikram pandita board-zoom-peripherals.o \ 96577145f4SVikram Pandita mmc-twl4030.o \ 97577145f4SVikram Pandita board-zoom-debugboard.o 985f35fbe8Svikram panditaobj-$(CONFIG_MACH_OMAP_ZOOM3) += board-zoom3.o \ 995f35fbe8Svikram pandita board-zoom-peripherals.o \ 1005f35fbe8Svikram pandita mmc-twl4030.o \ 1015f35fbe8Svikram pandita board-zoom-debugboard.o 10234c9ac23Svikram panditaobj-$(CONFIG_MACH_OMAP_3630SDP) += board-3630sdp.o \ 10334c9ac23Svikram pandita board-zoom-peripherals.o \ 10434c9ac23Svikram pandita mmc-twl4030.o 1052886d128SMike Rapoportobj-$(CONFIG_MACH_CM_T35) += board-cm-t35.o \ 1062886d128SMike Rapoport mmc-twl4030.o 10758e11162SEnric Balletbo i Serraobj-$(CONFIG_MACH_IGEP0020) += board-igep0020.o \ 10858e11162SEnric Balletbo i Serra mmc-twl4030.o 1097a079cabSGregoire Gentilobj-$(CONFIG_MACH_OMAP3_TOUCHBOOK) += board-omap3touchbook.o \ 1107a079cabSGregoire Gentil mmc-twl4030.o 11146ba0abfSSantosh Shilimkarobj-$(CONFIG_MACH_OMAP_4430SDP) += board-4430sdp.o 112ad19d8d9STony Lindgren 113c625327eSRanjith Lohithakshanobj-$(CONFIG_MACH_OMAP3517EVM) += board-am3517evm.o 114c625327eSRanjith Lohithakshan 11518cb7acaSFelipe Balbi# Platform specific device init code 11618cb7acaSFelipe Balbiobj-y += usb-musb.o 1171b52d5dfSKalle Valoobj-$(CONFIG_MACH_OMAP2_TUSB6010) += usb-tusb6010.o 11858a5491cSFelipe Balbiobj-y += usb-ehci.o 119aa62e90fSJuha Yrjola 120aa62e90fSJuha Yrjolaonenand-$(CONFIG_MTD_ONENAND_OMAP2) := gpmc-onenand.o 121aa62e90fSJuha Yrjolaobj-y += $(onenand-m) $(onenand-y) 1221a48e157STony Lindgren 1231a48e157STony Lindgrensmc91x-$(CONFIG_SMC91X) := gpmc-smc91x.o 1241a48e157STony Lindgrenobj-y += $(smc91x-m) $(smc91x-y) 125