xref: /openbmc/linux/arch/mips/pci/Makefile (revision d3164e2f)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvalds#
31da177e4SLinus Torvalds# Makefile for the PCI specific kernel interface routines under Linux.
41da177e4SLinus Torvalds#
51da177e4SLinus Torvalds
6caa51716SJan Beulichobj-y				+= pci.o
7c5611df9SPaul Burtonobj-$(CONFIG_PCI_DRIVERS_LEGACY)+= pci-legacy.o
887dd9a4dSPaul Burtonobj-$(CONFIG_PCI_DRIVERS_GENERIC)+= pci-generic.o
91da177e4SLinus Torvalds
101da177e4SLinus Torvalds#
111da177e4SLinus Torvalds# PCI bus host bridge specific code
121da177e4SLinus Torvalds#
131da177e4SLinus Torvaldsobj-$(CONFIG_MIPS_BONITO64)	+= ops-bonito64.o
14252161ecSYoichi Yuasaobj-$(CONFIG_PCI_GT64XXX_PCI0)	+= ops-gt64xxx_pci0.o
151da177e4SLinus Torvaldsobj-$(CONFIG_MIPS_MSC)		+= ops-msc.o
1689d63fe1SAtsushi Nemotoobj-$(CONFIG_PCI_TX4927)	+= ops-tx4927.o
172dc42b47SAurelien Jarnoobj-$(CONFIG_BCM47XX)		+= pci-bcm47xx.o
18e7300d04SMaxime Bizonobj-$(CONFIG_BCM63XX)		+= pci-bcm63xx.o fixup-bcm63xx.o \
19e7300d04SMaxime Bizon					ops-bcm63xx.o
207517de34SManuel Laussobj-$(CONFIG_MIPS_ALCHEMY)	+= pci-alchemy.o
213ed7a2a7SSergey Ryazanovobj-$(CONFIG_PCI_AR2315)	+= pci-ar2315.o
22f8365ec4SGabor Juhosobj-$(CONFIG_SOC_AR71XX)	+= pci-ar71xx.o
2367644c54SGabor Juhosobj-$(CONFIG_PCI_AR724X)	+= pci-ar724x.o
24a57140e9SThomas Bogendoerferobj-$(CONFIG_PCI_XTALK_BRIDGE)	+= pci-xtalk-bridge.o
251da177e4SLinus Torvalds#
261da177e4SLinus Torvalds# These are still pretty much in the old state, watch, go blind.
271da177e4SLinus Torvalds#
2873d8e6aaSJohn Crispinobj-$(CONFIG_ATH79)		+= fixup-ath79.o
291da177e4SLinus Torvaldsobj-$(CONFIG_MIPS_COBALT)	+= fixup-cobalt.o
301032bce3SWu Zhangjinobj-$(CONFIG_LEMOTE_FULOONG2E)	+= fixup-fuloong2e.o ops-loongson2.o
311032bce3SWu Zhangjinobj-$(CONFIG_LEMOTE_MACH2F)	+= fixup-lemote2f.o ops-loongson2.o
320dad5d26SRalf Baechleobj-$(CONFIG_MIPS_MALTA)	+= fixup-malta.o pci-malta.o
33a57140e9SThomas Bogendoerferobj-$(CONFIG_SGI_IP27)		+= pci-ip27.o
341da177e4SLinus Torvaldsobj-$(CONFIG_SGI_IP32)		+= fixup-ip32.o ops-mace.o pci-ip32.o
351da177e4SLinus Torvaldsobj-$(CONFIG_SIBYTE_SB1250)	+= fixup-sb1250.o pci-sb1250.o
3680f834e6SMark Masonobj-$(CONFIG_SIBYTE_BCM112X)	+= fixup-sb1250.o pci-sb1250.o
378a1417deSAndrew Isaacsonobj-$(CONFIG_SIBYTE_BCM1x80)	+= pci-bcm1480.o pci-bcm1480ht.o
3814b36af4SThomas Bogendoerferobj-$(CONFIG_SNI_RM)		+= fixup-sni.o ops-sni.o
3957c8cb8fSJohn Crispinobj-$(CONFIG_LANTIQ)		+= fixup-lantiq.o
4057c8cb8fSJohn Crispinobj-$(CONFIG_PCI_LANTIQ)	+= pci-lantiq.o ops-lantiq.o
417e5873d3SJohn Crispinobj-$(CONFIG_SOC_MT7620)	+= pci-mt7620.o
4293a7de88SJohn Crispinobj-$(CONFIG_SOC_RT288X)	+= pci-rt2880.o
4312d14e0eSGabor Juhosobj-$(CONFIG_SOC_RT3883)	+= pci-rt3883.o
44edcaf1a6SAtsushi Nemotoobj-$(CONFIG_SOC_TX4927)	+= pci-tx4927.o
45edcaf1a6SAtsushi Nemotoobj-$(CONFIG_SOC_TX4938)	+= pci-tx4938.o
46edcaf1a6SAtsushi Nemotoobj-$(CONFIG_TOSHIBA_RBTX4927)	+= fixup-rbtx4927.o
4773b4390fSRalf Baechleobj-$(CONFIG_MIKROTIK_RB532)	+= pci-rc32434.o ops-rc32434.o fixup-rc32434.o
489ddebc46SDavid Daneyobj-$(CONFIG_CAVIUM_OCTEON_SOC) += pci-octeon.o pcie-octeon.o
4901a6221aSDavid Daney
5001a6221aSDavid Daneyifdef CONFIG_PCI_MSI
519ddebc46SDavid Daneyobj-$(CONFIG_CAVIUM_OCTEON_SOC) += msi-octeon.o
5201a6221aSDavid Daneyendif
53