]> git.baikalelectronics.ru Git - uboot.git/commit
pci: mvebu: Ensure that root port is always on root zero bus
authorPali Rohár <pali@kernel.org>
Tue, 15 Feb 2022 10:34:01 +0000 (11:34 +0100)
committerStefan Roese <sr@denx.de>
Thu, 17 Feb 2022 13:17:07 +0000 (14:17 +0100)
commitfe4ef307012279ff12ee49e0da7f8b20d6dda26b
tree4f5a68d814bbbfcf80410c9888869f0b86070fac
parented84727af97d6f837370e06d23f2563a04bb775c
pci: mvebu: Ensure that root port is always on root zero bus

Writing to the PCI_PRIMARY_BUS register of the root port should not change
bus number on which is root port present.

Same change and exactly same fix as was done in commit for pci-aardvark.c.

Fixes: 18e57fe33755 ("pci: pci_mvebu: Properly configure and use PCI Bridge (PCIe Root Port)")
Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/pci/pci_mvebu.c