diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2022-05-18 22:52:06 +0200 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2022-05-20 12:21:03 +0200 |
commit | 6a1e7c767f197b80385f4be9ac7a4b5af27cb4ec (patch) | |
tree | 61c2f6077baf9dbdc058815d49c5f211984a3f4f /target/linux/bmips/patches-5.15/601-pci-controllers-add-bcm6328-pcie-support.patch | |
parent | 810eac8c7ffad958345f8fd02f83636afecf7fcd (diff) | |
download | upstream-6a1e7c767f197b80385f4be9ac7a4b5af27cb4ec.tar.gz upstream-6a1e7c767f197b80385f4be9ac7a4b5af27cb4ec.tar.bz2 upstream-6a1e7c767f197b80385f4be9ac7a4b5af27cb4ec.zip |
bmips: add linux v5.15 support
Build system: x86_64
Build-tested: generic, nand
Run-tested: generic/AR-5387un, nand/VR-3032u
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/bmips/patches-5.15/601-pci-controllers-add-bcm6328-pcie-support.patch')
-rw-r--r-- | target/linux/bmips/patches-5.15/601-pci-controllers-add-bcm6328-pcie-support.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/bmips/patches-5.15/601-pci-controllers-add-bcm6328-pcie-support.patch b/target/linux/bmips/patches-5.15/601-pci-controllers-add-bcm6328-pcie-support.patch new file mode 100644 index 0000000000..4ebc806e1e --- /dev/null +++ b/target/linux/bmips/patches-5.15/601-pci-controllers-add-bcm6328-pcie-support.patch @@ -0,0 +1,22 @@ +--- a/drivers/pci/controller/Kconfig ++++ b/drivers/pci/controller/Kconfig +@@ -3,6 +3,11 @@ + menu "PCI controller drivers" + depends on PCI + ++config PCIE_BCM6328 ++ bool "BCM6328 PCIe controller" ++ depends on BMIPS_GENERIC || COMPILE_TEST ++ depends on OF ++ + config PCI_MVEBU + bool "Marvell EBU PCIe controller" + depends on ARCH_MVEBU || ARCH_DOVE || COMPILE_TEST +--- a/drivers/pci/controller/Makefile ++++ b/drivers/pci/controller/Makefile +@@ -1,4 +1,5 @@ + # SPDX-License-Identifier: GPL-2.0 ++obj-$(CONFIG_PCIE_BCM6328) += pcie-bcm6328.o + obj-$(CONFIG_PCIE_CADENCE) += cadence/ + obj-$(CONFIG_PCI_FTPCI100) += pci-ftpci100.o + obj-$(CONFIG_PCI_IXP4XX) += pci-ixp4xx.o |