xref: /openbmc/linux/arch/mips/pci/Makefile (revision aec499c7)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the PCI specific kernel interface routines under Linux.
4#
5
6obj-y				+= pci.o
7obj-$(CONFIG_PCI_DRIVERS_LEGACY)+= pci-legacy.o
8obj-$(CONFIG_PCI_DRIVERS_GENERIC)+= pci-generic.o
9
10#
11# PCI bus host bridge specific code
12#
13obj-$(CONFIG_MIPS_BONITO64)	+= ops-bonito64.o
14obj-$(CONFIG_PCI_GT64XXX_PCI0)	+= ops-gt64xxx_pci0.o
15obj-$(CONFIG_MIPS_MSC)		+= ops-msc.o
16obj-$(CONFIG_SOC_TX3927)	+= ops-tx3927.o
17obj-$(CONFIG_PCI_VR41XX)	+= ops-vr41xx.o pci-vr41xx.o
18obj-$(CONFIG_PCI_TX4927)	+= ops-tx4927.o
19obj-$(CONFIG_BCM47XX)		+= pci-bcm47xx.o
20obj-$(CONFIG_BCM63XX)		+= pci-bcm63xx.o fixup-bcm63xx.o \
21					ops-bcm63xx.o
22obj-$(CONFIG_MIPS_ALCHEMY)	+= pci-alchemy.o
23obj-$(CONFIG_PCI_AR2315)	+= pci-ar2315.o
24obj-$(CONFIG_SOC_AR71XX)	+= pci-ar71xx.o
25obj-$(CONFIG_PCI_AR724X)	+= pci-ar724x.o
26obj-$(CONFIG_PCI_XTALK_BRIDGE)	+= pci-xtalk-bridge.o
27#
28# These are still pretty much in the old state, watch, go blind.
29#
30obj-$(CONFIG_ATH79)		+= fixup-ath79.o
31obj-$(CONFIG_MIPS_COBALT)	+= fixup-cobalt.o
32obj-$(CONFIG_LEMOTE_FULOONG2E)	+= fixup-fuloong2e.o ops-loongson2.o
33obj-$(CONFIG_LEMOTE_MACH2F)	+= fixup-lemote2f.o ops-loongson2.o
34obj-$(CONFIG_MIPS_MALTA)	+= fixup-malta.o pci-malta.o
35obj-$(CONFIG_SGI_IP27)		+= pci-ip27.o
36obj-$(CONFIG_SGI_IP32)		+= fixup-ip32.o ops-mace.o pci-ip32.o
37obj-$(CONFIG_SIBYTE_SB1250)	+= fixup-sb1250.o pci-sb1250.o
38obj-$(CONFIG_SIBYTE_BCM112X)	+= fixup-sb1250.o pci-sb1250.o
39obj-$(CONFIG_SIBYTE_BCM1x80)	+= pci-bcm1480.o pci-bcm1480ht.o
40obj-$(CONFIG_SNI_RM)		+= fixup-sni.o ops-sni.o
41obj-$(CONFIG_LANTIQ)		+= fixup-lantiq.o
42obj-$(CONFIG_PCI_LANTIQ)	+= pci-lantiq.o ops-lantiq.o
43obj-$(CONFIG_SOC_MT7620)	+= pci-mt7620.o
44obj-$(CONFIG_SOC_RT288X)	+= pci-rt2880.o
45obj-$(CONFIG_SOC_RT3883)	+= pci-rt3883.o
46obj-$(CONFIG_TANBAC_TB0219)	+= fixup-tb0219.o
47obj-$(CONFIG_TANBAC_TB0226)	+= fixup-tb0226.o
48obj-$(CONFIG_TANBAC_TB0287)	+= fixup-tb0287.o
49obj-$(CONFIG_TOSHIBA_JMR3927)	+= fixup-jmr3927.o
50obj-$(CONFIG_SOC_TX4927)	+= pci-tx4927.o
51obj-$(CONFIG_SOC_TX4938)	+= pci-tx4938.o
52obj-$(CONFIG_TOSHIBA_RBTX4927)	+= fixup-rbtx4927.o
53obj-$(CONFIG_VICTOR_MPC30X)	+= fixup-mpc30x.o
54obj-$(CONFIG_ZAO_CAPCELLA)	+= fixup-capcella.o
55obj-$(CONFIG_MIKROTIK_RB532)	+= pci-rc32434.o ops-rc32434.o fixup-rc32434.o
56obj-$(CONFIG_CAVIUM_OCTEON_SOC) += pci-octeon.o pcie-octeon.o
57
58ifdef CONFIG_PCI_MSI
59obj-$(CONFIG_CAVIUM_OCTEON_SOC) += msi-octeon.o
60endif
61