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 916975a79SRajendra Nayakomap-3-4-common = dpll.o 10d7607663STony Lindgrenprcm-common = prcm.o powerdomain.o 11d8a94458SPaul Walmsleyclock-common = clock.o clock_common_data.o clockdomain.o 12d7607663STony Lindgren 13d7607663STony Lindgrenobj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(prcm-common) $(clock-common) 14a1391d27SRajendra Nayakobj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(prcm-common) $(clock-common) \ 1516975a79SRajendra Nayak $(omap-3-4-common) 1616975a79SRajendra Nayakobj-$(CONFIG_ARCH_OMAP4) += $(omap-3-4-common) prcm.o clock.o 171dbae815STony Lindgren 1878673bc8SEduardo Valentinobj-$(CONFIG_OMAP_MCBSP) += mcbsp.o 1978673bc8SEduardo Valentin 20934f8be7SSantosh Shilimkar# SMP support ONLY available for OMAP4 21934f8be7SSantosh Shilimkarobj-$(CONFIG_SMP) += omap-smp.o omap-headsmp.o 22934f8be7SSantosh Shilimkarobj-$(CONFIG_LOCAL_TIMERS) += timer-mpu.o 23934f8be7SSantosh Shilimkar 24c2d43e39STony Lindgren# Functions loaded to SRAM 25c2d43e39STony Lindgrenobj-$(CONFIG_ARCH_OMAP2420) += sram242x.o 26c2d43e39STony Lindgrenobj-$(CONFIG_ARCH_OMAP2430) += sram243x.o 27cc26b3b0SSyed Mohammed, Khasimobj-$(CONFIG_ARCH_OMAP3) += sram34xx.o 28c2d43e39STony Lindgren 29f2ab9977SPaul Walmsley# SMS/SDRC 30f2ab9977SPaul Walmsleyobj-$(CONFIG_ARCH_OMAP2) += sdrc2xxx.o 31f2ab9977SPaul Walmsley# obj-$(CONFIG_ARCH_OMAP3) += sdrc3xxx.o 32f2ab9977SPaul Walmsley 33120db2cbSTony Lindgren# Power Management 341835f1d7STony Lindgrenifeq ($(CONFIG_PM),y) 358bd22949SKevin Hilmanobj-$(CONFIG_ARCH_OMAP2) += pm24xx.o 361835f1d7STony Lindgrenobj-$(CONFIG_ARCH_OMAP24XX) += sleep24xx.o 3799e6a4d2SRajendra Nayakobj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o cpuidle34xx.o 388bd22949SKevin Hilmanobj-$(CONFIG_PM_DEBUG) += pm-debug.o 391835f1d7STony Lindgrenendif 40120db2cbSTony Lindgren 4171348bcaSPaul Walmsley# PRCM 4271348bcaSPaul Walmsleyobj-$(CONFIG_ARCH_OMAP2) += cm.o 4371348bcaSPaul Walmsleyobj-$(CONFIG_ARCH_OMAP3) += cm.o 4471348bcaSPaul Walmsleyobj-$(CONFIG_ARCH_OMAP4) += cm4xxx.o 4571348bcaSPaul Walmsley 463d876e59SPaul Walmsley# Clock framework 47d8a94458SPaul Walmsleyobj-$(CONFIG_ARCH_OMAP2) += clock2xxx.o clock2xxx_data.o 48d8a94458SPaul Walmsleyobj-$(CONFIG_ARCH_OMAP2420) += opp2420_data.o 4982e9bd58SPaul Walmsleyobj-$(CONFIG_ARCH_OMAP3) += clock34xx.o clock34xx_data.o 50d8a94458SPaul Walmsleyobj-$(CONFIG_ARCH_OMAP2430) += opp2430_data.o 51d79b1267SRajendra Nayakobj-$(CONFIG_ARCH_OMAP4) += clock44xx.o clock44xx_data.o 523d876e59SPaul Walmsley 53183bd50fSAlexander Shishkin# EMU peripherals 54183bd50fSAlexander Shishkinobj-$(CONFIG_OMAP3_EMU) += emu.o 55183bd50fSAlexander Shishkin 5659fdc6ebSC A Subramaniamobj-$(CONFIG_OMAP_MBOX_FWK) += mailbox_mach.o 5759fdc6ebSC A Subramaniammailbox_mach-objs := mailbox.o 5859fdc6ebSC A Subramaniam 59caf60779SHiroshi DOYUiommu-y += iommu2.o 60caf60779SHiroshi DOYUiommu-$(CONFIG_ARCH_OMAP3) += omap3-iommu.o 61caf60779SHiroshi DOYU 62caf60779SHiroshi DOYUobj-$(CONFIG_OMAP_IOMMU) += $(iommu-y) 63caf60779SHiroshi DOYU 641dbae815STony Lindgren# Specific board support 651dbae815STony Lindgrenobj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o 661dbae815STony Lindgrenobj-$(CONFIG_MACH_OMAP_H4) += board-h4.o 6790c62bf0STony Lindgrenobj-$(CONFIG_MACH_OMAP_2430SDP) += board-2430sdp.o \ 6890c62bf0STony Lindgren mmc-twl4030.o 69120db2cbSTony Lindgrenobj-$(CONFIG_MACH_OMAP_APOLLON) += board-apollon.o 7090c62bf0STony Lindgrenobj-$(CONFIG_MACH_OMAP3_BEAGLE) += board-omap3beagle.o \ 7190c62bf0STony Lindgren mmc-twl4030.o 7290c62bf0STony Lindgrenobj-$(CONFIG_MACH_OMAP_LDP) += board-ldp.o \ 7390c62bf0STony Lindgren mmc-twl4030.o 7490c62bf0STony Lindgrenobj-$(CONFIG_MACH_OVERO) += board-overo.o \ 7590c62bf0STony Lindgren mmc-twl4030.o 7653c5ec31SSyed Mohammed Khasimobj-$(CONFIG_MACH_OMAP3EVM) += board-omap3evm.o \ 7753c5ec31SSyed Mohammed Khasim mmc-twl4030.o 7890c62bf0STony Lindgrenobj-$(CONFIG_MACH_OMAP3_PANDORA) += board-omap3pandora.o \ 7990c62bf0STony Lindgren mmc-twl4030.o 806fdc29e2SSyed Mohammed Khasimobj-$(CONFIG_MACH_OMAP_3430SDP) += board-3430sdp.o \ 816fdc29e2SSyed Mohammed Khasim mmc-twl4030.o 8263138812SKalle Valoobj-$(CONFIG_MACH_NOKIA_N8X0) += board-n8x0.o 83ffe7f95bSLauri Leukkunenobj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51.o \ 842000655eSTero Kristo board-rx51-sdram.o \ 85ffe7f95bSLauri Leukkunen board-rx51-peripherals.o \ 86ad19d8d9STony Lindgren mmc-twl4030.o 87577145f4SVikram Panditaobj-$(CONFIG_MACH_OMAP_ZOOM2) += board-zoom2.o \ 88479f12c9Svikram pandita board-zoom-peripherals.o \ 89577145f4SVikram Pandita mmc-twl4030.o \ 90577145f4SVikram Pandita board-zoom-debugboard.o 915f35fbe8Svikram panditaobj-$(CONFIG_MACH_OMAP_ZOOM3) += board-zoom3.o \ 925f35fbe8Svikram pandita board-zoom-peripherals.o \ 935f35fbe8Svikram pandita mmc-twl4030.o \ 945f35fbe8Svikram pandita board-zoom-debugboard.o 9534c9ac23Svikram panditaobj-$(CONFIG_MACH_OMAP_3630SDP) += board-3630sdp.o \ 9634c9ac23Svikram pandita board-zoom-peripherals.o \ 9734c9ac23Svikram pandita mmc-twl4030.o 982886d128SMike Rapoportobj-$(CONFIG_MACH_CM_T35) += board-cm-t35.o \ 992886d128SMike Rapoport mmc-twl4030.o 10058e11162SEnric Balletbo i Serraobj-$(CONFIG_MACH_IGEP0020) += board-igep0020.o \ 10158e11162SEnric Balletbo i Serra mmc-twl4030.o 10246ba0abfSSantosh Shilimkar 10346ba0abfSSantosh Shilimkarobj-$(CONFIG_MACH_OMAP_4430SDP) += board-4430sdp.o 104ad19d8d9STony Lindgren 105c625327eSRanjith Lohithakshanobj-$(CONFIG_MACH_OMAP3517EVM) += board-am3517evm.o 106c625327eSRanjith Lohithakshan 10718cb7acaSFelipe Balbi# Platform specific device init code 10818cb7acaSFelipe Balbiobj-y += usb-musb.o 1091b52d5dfSKalle Valoobj-$(CONFIG_MACH_OMAP2_TUSB6010) += usb-tusb6010.o 11058a5491cSFelipe Balbiobj-y += usb-ehci.o 111aa62e90fSJuha Yrjola 112aa62e90fSJuha Yrjolaonenand-$(CONFIG_MTD_ONENAND_OMAP2) := gpmc-onenand.o 113aa62e90fSJuha Yrjolaobj-y += $(onenand-m) $(onenand-y) 1141a48e157STony Lindgren 1151a48e157STony Lindgrensmc91x-$(CONFIG_SMC91X) := gpmc-smc91x.o 1161a48e157STony Lindgrenobj-y += $(smc91x-m) $(smc91x-y) 117