bmips: add experimental PCI/PCIe support
[openwrt/openwrt.git] / target / linux / bmips / patches-5.10 / 602-pci-controllers-add-bcm6318-pcie-support.patch
1 --- a/drivers/pci/controller/Kconfig
2 +++ b/drivers/pci/controller/Kconfig
3 @@ -3,6 +3,11 @@
4 menu "PCI controller drivers"
5 depends on PCI
6
7 +config PCIE_BCM6318
8 + bool "BCM6318 PCIe controller"
9 + depends on BMIPS_GENERIC || COMPILE_TEST
10 + depends on OF
11 +
12 config PCIE_BCM6328
13 bool "BCM6328 PCIe controller"
14 depends on BMIPS_GENERIC || COMPILE_TEST
15 --- a/drivers/pci/controller/Makefile
16 +++ b/drivers/pci/controller/Makefile
17 @@ -1,4 +1,5 @@
18 # SPDX-License-Identifier: GPL-2.0
19 +obj-$(CONFIG_PCIE_BCM6318) += pcie-bcm6318.o
20 obj-$(CONFIG_PCIE_BCM6328) += pcie-bcm6328.o
21 obj-$(CONFIG_PCIE_CADENCE) += cadence/
22 obj-$(CONFIG_PCI_FTPCI100) += pci-ftpci100.o