- 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 1dc831bf53
("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>
36 lines
745 B
Plaintext
36 lines
745 B
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
menuconfig ARCH_DOVE
|
|
bool "Marvell Dove" if ARCH_MULTI_V7
|
|
select CPU_PJ4
|
|
select GPIOLIB
|
|
select MVEBU_MBUS
|
|
select PINCTRL
|
|
select PINCTRL_DOVE
|
|
select PLAT_ORION_LEGACY
|
|
select PM_GENERIC_DOMAINS if PM
|
|
select PCI_QUIRKS if PCI
|
|
help
|
|
Support for the Marvell Dove SoC 88AP510
|
|
|
|
if ARCH_DOVE
|
|
|
|
config DOVE_LEGACY
|
|
bool
|
|
|
|
config MACH_DOVE_DB
|
|
bool "Marvell DB-MV88AP510 Development Board"
|
|
select DOVE_LEGACY
|
|
select I2C_BOARDINFO if I2C
|
|
help
|
|
Say 'Y' here if you want your kernel to support the
|
|
Marvell DB-MV88AP510 Development Board.
|
|
|
|
config MACH_CM_A510
|
|
bool "CompuLab CM-A510 Board"
|
|
select DOVE_LEGACY
|
|
help
|
|
Say 'Y' here if you want your kernel to support the
|
|
CompuLab CM-A510 Board.
|
|
|
|
endif
|