603-pci-controllers-add-bcm6348-pci-support.patch 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. From 5e7813e5725d79d00e0988472c306490fc48b3e1 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= <[email protected]>
  3. Date: Wed, 17 May 2023 18:21:19 +0200
  4. Subject: [PATCH] pci: add bcm6348-pci support
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. Signed-off-by: Álvaro Fernández Rojas <[email protected]>
  9. ---
  10. drivers/pci/controller/Kconfig | 5 +++++
  11. drivers/pci/controller/Makefile | 1 +
  12. 2 files changed, 6 insertions(+)
  13. --- a/drivers/pci/controller/Kconfig
  14. +++ b/drivers/pci/controller/Kconfig
  15. @@ -3,6 +3,11 @@
  16. menu "PCI controller drivers"
  17. depends on PCI
  18. +config PCI_BCM6348
  19. + bool "BCM6348 PCI controller"
  20. + depends on BMIPS_GENERIC || COMPILE_TEST
  21. + depends on OF
  22. +
  23. config PCIE_BCM6318
  24. bool "BCM6318 PCIe controller"
  25. depends on BMIPS_GENERIC || COMPILE_TEST
  26. --- a/drivers/pci/controller/Makefile
  27. +++ b/drivers/pci/controller/Makefile
  28. @@ -1,4 +1,5 @@
  29. # SPDX-License-Identifier: GPL-2.0
  30. +obj-$(CONFIG_PCI_BCM6348) += pci-bcm6348.o
  31. obj-$(CONFIG_PCIE_BCM6318) += pcie-bcm6318.o
  32. obj-$(CONFIG_PCIE_BCM6328) += pcie-bcm6328.o
  33. obj-$(CONFIG_PCIE_CADENCE) += cadence/