Skip to content
Commit 089ed23a authored by Rodrigo Cataldo's avatar Rodrigo Cataldo Committed by Carles Cufí
Browse files

drivers: pcie: fix inverted translation for PCIe controller



Invert the physical address given to pcie_ctrl_region_translate() to
match the PCI BAR layout. Previously, physical addresses for memory
space BAR were exposed to bit 3 (prefetchable bit) and 2 (1 type bit) of
the header.

Signed-off-by: default avatarRodrigo Cataldo <rodrigo.cataldo@huawei.com>
parent 7dc9d41b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment