
On 08.02.21 23:01, Marek BehĂșn wrote:
Hi Stefan,
this patchset continues to address the issue you tried to solve with commit "pci: pci_mvebu: Disable config access to PCI host bridge ports".
Some code refactoring is done here so that the code looks more sane and the underlying information is documenter.
The last patch changes the local device (which presents itself as a "Memory controller" to device number 1, so that the pci command in U-Boot lists the real PCIe card as device 0, as Linux does.
Marek
Marek BehĂșn (5): pci: pci_mvebu: use dev_seq instead of static variable pci: pci_mvebu: cosmetic fix pci: pci_mvebu: debug rd/wr config as other drivers do pci: pci_mvebu: refactor validation of addresses for config access pci: pci_mvebu: set local dev to number 1
drivers/pci/pci_mvebu.c | 76 ++++++++++++++++++++++------------------- 1 file changed, 40 insertions(+), 36 deletions(-)
Applied to u-boot-marvell/master
Thanks, Stefan