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/600-mips-bmips-add-pci-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/600-mips-bmips-add-pci-support.patch')
-rw-r--r-- | target/linux/bmips/patches-5.15/600-mips-bmips-add-pci-support.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/bmips/patches-5.15/600-mips-bmips-add-pci-support.patch b/target/linux/bmips/patches-5.15/600-mips-bmips-add-pci-support.patch new file mode 100644 index 0000000000..b219868442 --- /dev/null +++ b/target/linux/bmips/patches-5.15/600-mips-bmips-add-pci-support.patch @@ -0,0 +1,20 @@ +--- a/arch/mips/Kconfig ++++ b/arch/mips/Kconfig +@@ -276,6 +276,7 @@ config BMIPS_GENERIC + select BCM7038_L1_IRQ + select BCM7120_L2_IRQ + select BRCMSTB_L2_IRQ ++ select HAVE_PCI + select IRQ_MIPS_CPU + select DMA_NONCOHERENT + select SYS_SUPPORTS_32BIT_KERNEL +--- a/arch/mips/pci/Makefile ++++ b/arch/mips/pci/Makefile +@@ -28,6 +28,7 @@ obj-$(CONFIG_PCI_XTALK_BRIDGE) += pci-xt + # These are still pretty much in the old state, watch, go blind. + # + obj-$(CONFIG_ATH79) += fixup-ath79.o ++obj-$(CONFIG_BMIPS_GENERIC) += fixup-bmips.o + obj-$(CONFIG_MIPS_COBALT) += fixup-cobalt.o + obj-$(CONFIG_LEMOTE_FULOONG2E) += fixup-fuloong2e.o ops-loongson2.o + obj-$(CONFIG_LEMOTE_MACH2F) += fixup-lemote2f.o ops-loongson2.o |