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 8358f0e63SThara Gopinathomap-2-3-common = irq.o sdrc.o omap_hwmod.o \ 9358f0e63SThara Gopinath omap_hwmod_common_data.o 1098c45457SPaul Walmsleyomap-3-4-common = dpll3xxx.o 11d7607663STony Lindgrenprcm-common = prcm.o powerdomain.o 120b96af68SPaul Walmsleyclock-common = clock.o clock_common_data.o \ 13df791b3eSPaul Walmsley clockdomain.o clkt_dpll.o \ 14df791b3eSPaul Walmsley clkt_clksel.o 15734f69a7SPaul Walmsleyclock-omap2xxx = clkt2xxx_dpllcore.o \ 1649214640SPaul Walmsley clkt2xxx_virt_prcm_set.o \ 1744da0a51SPaul Walmsley clkt2xxx_apll.o clkt2xxx_osc.o \ 1844da0a51SPaul Walmsley clkt2xxx_sys.o 1935e424e2SPaul Walmsleyclock-omap3xxx = clkt34xx_dpll3m2.o 20d7607663STony Lindgren 21b1823d86SPaul Walmsleyobj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(prcm-common) $(clock-common) \ 22b1823d86SPaul Walmsley $(clock-omap2xxx) 23a1391d27SRajendra Nayakobj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(prcm-common) $(clock-common) \ 2435e424e2SPaul Walmsley $(omap-3-4-common) $(clock-omap3xxx) 258a3ddc75SAbhijit Pagareobj-$(CONFIG_ARCH_OMAP4) += $(omap-3-4-common) $(prcm-common) $(clock-common) 261dbae815STony Lindgren 2778673bc8SEduardo Valentinobj-$(CONFIG_OMAP_MCBSP) += mcbsp.o 2878673bc8SEduardo Valentin 29934f8be7SSantosh Shilimkar# SMP support ONLY available for OMAP4 30934f8be7SSantosh Shilimkarobj-$(CONFIG_SMP) += omap-smp.o omap-headsmp.o 31934f8be7SSantosh Shilimkarobj-$(CONFIG_LOCAL_TIMERS) += timer-mpu.o 32934f8be7SSantosh Shilimkar 33c2d43e39STony Lindgren# Functions loaded to SRAM 34c2d43e39STony Lindgrenobj-$(CONFIG_ARCH_OMAP2420) += sram242x.o 35c2d43e39STony Lindgrenobj-$(CONFIG_ARCH_OMAP2430) += sram243x.o 36cc26b3b0SSyed Mohammed, Khasimobj-$(CONFIG_ARCH_OMAP3) += sram34xx.o 37c2d43e39STony Lindgren 3856213ca4STony LindgrenAFLAGS_sram242x.o :=-Wa,-march=armv6 3956213ca4STony LindgrenAFLAGS_sram243x.o :=-Wa,-march=armv6 4056213ca4STony LindgrenAFLAGS_sram34xx.o :=-Wa,-march=armv7-a 4156213ca4STony Lindgren 42ddaa912aSTony Lindgren# Pin multiplexing 43ddaa912aSTony Lindgrenobj-$(CONFIG_ARCH_OMAP3) += mux34xx.o 44ddaa912aSTony Lindgren 45f2ab9977SPaul Walmsley# SMS/SDRC 46f2ab9977SPaul Walmsleyobj-$(CONFIG_ARCH_OMAP2) += sdrc2xxx.o 47f2ab9977SPaul Walmsley# obj-$(CONFIG_ARCH_OMAP3) += sdrc3xxx.o 48f2ab9977SPaul Walmsley 49120db2cbSTony Lindgren# Power Management 501835f1d7STony Lindgrenifeq ($(CONFIG_PM),y) 518bd22949SKevin Hilmanobj-$(CONFIG_ARCH_OMAP2) += pm24xx.o 52088ef950STony Lindgrenobj-$(CONFIG_ARCH_OMAP2) += sleep24xx.o 5399e6a4d2SRajendra Nayakobj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o cpuidle34xx.o 548bd22949SKevin Hilmanobj-$(CONFIG_PM_DEBUG) += pm-debug.o 5556213ca4STony Lindgren 5656213ca4STony LindgrenAFLAGS_sleep24xx.o :=-Wa,-march=armv6 5756213ca4STony LindgrenAFLAGS_sleep34xx.o :=-Wa,-march=armv7-a 5856213ca4STony Lindgren 591835f1d7STony Lindgrenendif 60120db2cbSTony Lindgren 6171348bcaSPaul Walmsley# PRCM 6271348bcaSPaul Walmsleyobj-$(CONFIG_ARCH_OMAP2) += cm.o 6371348bcaSPaul Walmsleyobj-$(CONFIG_ARCH_OMAP3) += cm.o 6471348bcaSPaul Walmsleyobj-$(CONFIG_ARCH_OMAP4) += cm4xxx.o 6571348bcaSPaul Walmsley 663d876e59SPaul Walmsley# Clock framework 67d8a94458SPaul Walmsleyobj-$(CONFIG_ARCH_OMAP2) += clock2xxx.o clock2xxx_data.o 68d8a94458SPaul Walmsleyobj-$(CONFIG_ARCH_OMAP2420) += opp2420_data.o 6982e9bd58SPaul Walmsleyobj-$(CONFIG_ARCH_OMAP3) += clock34xx.o clock34xx_data.o 70d8a94458SPaul Walmsleyobj-$(CONFIG_ARCH_OMAP2430) += opp2430_data.o 71d79b1267SRajendra Nayakobj-$(CONFIG_ARCH_OMAP4) += clock44xx.o clock44xx_data.o 723d876e59SPaul Walmsley 73183bd50fSAlexander Shishkin# EMU peripherals 74183bd50fSAlexander Shishkinobj-$(CONFIG_OMAP3_EMU) += emu.o 75183bd50fSAlexander Shishkin 7659fdc6ebSC A Subramaniamobj-$(CONFIG_OMAP_MBOX_FWK) += mailbox_mach.o 7759fdc6ebSC A Subramaniammailbox_mach-objs := mailbox.o 7859fdc6ebSC A Subramaniam 79caf60779SHiroshi DOYUiommu-y += iommu2.o 80caf60779SHiroshi DOYUiommu-$(CONFIG_ARCH_OMAP3) += omap3-iommu.o 81caf60779SHiroshi DOYU 82caf60779SHiroshi DOYUobj-$(CONFIG_OMAP_IOMMU) += $(iommu-y) 83caf60779SHiroshi DOYU 84b63128e8STony Lindgreni2c-omap-$(CONFIG_I2C_OMAP) := i2c.o 85b63128e8STony Lindgrenobj-y += $(i2c-omap-m) $(i2c-omap-y) 86b63128e8STony Lindgren 871dbae815STony Lindgren# Specific board support 881dbae815STony Lindgrenobj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o 891dbae815STony Lindgrenobj-$(CONFIG_MACH_OMAP_H4) += board-h4.o 9090c62bf0STony Lindgrenobj-$(CONFIG_MACH_OMAP_2430SDP) += board-2430sdp.o \ 91d02a900bSAdrian Hunter hsmmc.o 92120db2cbSTony Lindgrenobj-$(CONFIG_MACH_OMAP_APOLLON) += board-apollon.o 9390c62bf0STony Lindgrenobj-$(CONFIG_MACH_OMAP3_BEAGLE) += board-omap3beagle.o \ 94d02a900bSAdrian Hunter hsmmc.o 9590c62bf0STony Lindgrenobj-$(CONFIG_MACH_OMAP_LDP) += board-ldp.o \ 96d02a900bSAdrian Hunter hsmmc.o 9790c62bf0STony Lindgrenobj-$(CONFIG_MACH_OVERO) += board-overo.o \ 98d02a900bSAdrian Hunter hsmmc.o 9953c5ec31SSyed Mohammed Khasimobj-$(CONFIG_MACH_OMAP3EVM) += board-omap3evm.o \ 100d02a900bSAdrian Hunter hsmmc.o 10190c62bf0STony Lindgrenobj-$(CONFIG_MACH_OMAP3_PANDORA) += board-omap3pandora.o \ 102d02a900bSAdrian Hunter hsmmc.o 1036fdc29e2SSyed Mohammed Khasimobj-$(CONFIG_MACH_OMAP_3430SDP) += board-3430sdp.o \ 104d02a900bSAdrian Hunter hsmmc.o \ 10588c8460aSVimal Singh board-sdp-flash.o 10663138812SKalle Valoobj-$(CONFIG_MACH_NOKIA_N8X0) += board-n8x0.o 107ffe7f95bSLauri Leukkunenobj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51.o \ 1082000655eSTero Kristo board-rx51-sdram.o \ 109ffe7f95bSLauri Leukkunen board-rx51-peripherals.o \ 110d02a900bSAdrian Hunter hsmmc.o 111577145f4SVikram Panditaobj-$(CONFIG_MACH_OMAP_ZOOM2) += board-zoom2.o \ 112479f12c9Svikram pandita board-zoom-peripherals.o \ 113d02a900bSAdrian Hunter hsmmc.o \ 114577145f4SVikram Pandita board-zoom-debugboard.o 1155f35fbe8Svikram panditaobj-$(CONFIG_MACH_OMAP_ZOOM3) += board-zoom3.o \ 1165f35fbe8Svikram pandita board-zoom-peripherals.o \ 117d02a900bSAdrian Hunter hsmmc.o \ 1185f35fbe8Svikram pandita board-zoom-debugboard.o 11934c9ac23Svikram panditaobj-$(CONFIG_MACH_OMAP_3630SDP) += board-3630sdp.o \ 12034c9ac23Svikram pandita board-zoom-peripherals.o \ 121d02a900bSAdrian Hunter hsmmc.o 1222886d128SMike Rapoportobj-$(CONFIG_MACH_CM_T35) += board-cm-t35.o \ 123d02a900bSAdrian Hunter hsmmc.o 12458e11162SEnric Balletbo i Serraobj-$(CONFIG_MACH_IGEP0020) += board-igep0020.o \ 125d02a900bSAdrian Hunter hsmmc.o 1267a079cabSGregoire Gentilobj-$(CONFIG_MACH_OMAP3_TOUCHBOOK) += board-omap3touchbook.o \ 127d02a900bSAdrian Hunter hsmmc.o 12846ba0abfSSantosh Shilimkarobj-$(CONFIG_MACH_OMAP_4430SDP) += board-4430sdp.o 129ad19d8d9STony Lindgren 130c625327eSRanjith Lohithakshanobj-$(CONFIG_MACH_OMAP3517EVM) += board-am3517evm.o 131c625327eSRanjith Lohithakshan 13218cb7acaSFelipe Balbi# Platform specific device init code 13318cb7acaSFelipe Balbiobj-y += usb-musb.o 1341b52d5dfSKalle Valoobj-$(CONFIG_MACH_OMAP2_TUSB6010) += usb-tusb6010.o 13558a5491cSFelipe Balbiobj-y += usb-ehci.o 136aa62e90fSJuha Yrjola 137aa62e90fSJuha Yrjolaonenand-$(CONFIG_MTD_ONENAND_OMAP2) := gpmc-onenand.o 138aa62e90fSJuha Yrjolaobj-y += $(onenand-m) $(onenand-y) 1391a48e157STony Lindgren 1402f70a1e9SVimal Singhnand-$(CONFIG_MTD_NAND_OMAP2) := gpmc-nand.o 1412f70a1e9SVimal Singhobj-y += $(nand-m) $(nand-y) 1422f70a1e9SVimal Singh 1431a48e157STony Lindgrensmc91x-$(CONFIG_SMC91X) := gpmc-smc91x.o 1441a48e157STony Lindgrenobj-y += $(smc91x-m) $(smc91x-y) 145