aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2021-11-11 16:35:45 +0100
committerStefan Roese <sr@denx.de>2021-12-15 08:57:36 +0100
commita48e4287d61a08663bb95bc515c751c342e0ffb6 (patch)
treeedc6457fe5886a9702697ff9a6920aca726a78c0 /lib
parente967c84a6d211562ff800a00b0c30d7aa808ae4b (diff)
pci: pci_mvebu: Do not allow setting ROM BAR on PCI Bridge
The PCI Bridge which represents mvebu PCIe Root Port has Expansion ROM Base Address register at offset 0x30 but its meaning is different that of PCI's Expansion ROM BAR register, although the address format of the register is the same. In reality, this device does not have any configurable PCI BARs. So ensure that write operation into BARs (including Expansion ROM BAR) is a noop and registers always contain zero address which indicates that BARs are unsupported. Fixes: a7b61ab58d5d ("pci: pci_mvebu: Properly configure and use PCI Bridge (PCIe Root Port)") Signed-off-by: Pali Rohár <pali@kernel.org> Signed-off-by: Marek Behún <marek.behun@nic.cz> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions