summary refs log tree commit diff
path: root/arch/arm/mach-orion5x/Kconfig
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2021-11-02 18:12:58 +0100
committerGregory CLEMENT <gregory.clement@bootlin.com>2022-07-18 12:32:01 +0200
commitfdaa3725831972284ef2779ddba00491d9dbbfca (patch)
tree0eef97b6d2b90fce5463195471cd7665585527a8 /arch/arm/mach-orion5x/Kconfig
parentf2906aa863381afb0015a9eb7fefad885d4e5a56 (diff)
downloadlinux-fdaa3725831972284ef2779ddba00491d9dbbfca.tar.gz
ARM: Marvell: Update PCIe fixup
- The code relies on rc_pci_fixup being called, which only happens
  when CONFIG_PCI_QUIRKS is enabled, so add that to Kconfig. Omitting
  this causes a booting failure with a non-obvious cause.
- Update rc_pci_fixup to set the class properly, copying the
  more modern style from other places
- Correct the rc_pci_fixup comment

This patch just re-applies commit 1dc831bf53fd ("ARM: Kirkwood: Update
PCI-E fixup") for all other Marvell ARM platforms which have same buggy
PCIe controller and do not use pci-mvebu.c controller driver yet.

Long-term goal for these Marvell ARM platforms should be conversion to
pci-mvebu.c controller driver and removal of these fixups in arch code.

Signed-off-by: Pali Rohár <pali@kernel.org>
Cc: Jason Gunthorpe <jgg@nvidia.com>
Cc: stable@vger.kernel.org
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Diffstat (limited to 'arch/arm/mach-orion5x/Kconfig')
-rw-r--r--arch/arm/mach-orion5x/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-orion5x/Kconfig b/arch/arm/mach-orion5x/Kconfig
index bf833b51931d..aeac281c8764 100644
--- a/arch/arm/mach-orion5x/Kconfig
+++ b/arch/arm/mach-orion5x/Kconfig
@@ -7,6 +7,7 @@ menuconfig ARCH_ORION5X
 	select GPIOLIB
 	select MVEBU_MBUS
 	select FORCE_PCI
+	select PCI_QUIRKS
 	select PHYLIB if NETDEVICES
 	select PLAT_ORION_LEGACY
 	help