[PATCH u-boot 0/3] pci: Do not access Freescale PCI controllers BARs registers
Pali Rohár
pali at kernel.org
Thu Apr 20 21:44:22 CEST 2023
Freescale PCI and PCIe controllers export in config space in BARs offset
for BDF address 00:00.0 internal controller registers, instead of BAR
registers. Avoid access to these registers to prevent overwriting them.
Fixes autoconfiguration of PCI and PCIe devices on Freescale PowerPC
platforms.
Pali Rohár (3):
pci: mpc85xx: Do not access PCI BARs registers of BDF address 00:00.0
pci: fsl: Do not access PCI BAR0 register of PCIe Root Port
pci: auto: Remove PCI_CLASS_PROCESSOR_POWERPC autoconfig case
drivers/pci/pci_auto.c | 4 ----
drivers/pci/pci_mpc85xx.c | 12 ++++++++++++
drivers/pci/pcie_fsl.c | 14 ++++++++++++++
3 files changed, 26 insertions(+), 4 deletions(-)
--
2.20.1
More information about the U-Boot
mailing list