summaryrefslogtreecommitdiff
path: root/drivers/pci/mmap.c
diff options
context:
space:
mode:
authorJonathan Chocron <jonnyc@amazon.com>2019-09-12 16:02:38 +0300
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2019-09-16 16:17:15 +0300
commit0b24134f7888175c9638e6fd1900e23e44fc172f (patch)
tree085ed446d1c3e5c30d6c58d3df950a8701f4f159 /drivers/pci/mmap.c
parenta8daea94754989f6c48dafda840482cbc9f882f9 (diff)
downloadlinux-0b24134f7888175c9638e6fd1900e23e44fc172f.tar.xz
PCI: dwc: Add validation that PCIe core is set to correct mode
Some PCIe controllers can be set to either Host or EP according to some early boot FW. To make sure there is no discrepancy (e.g. FW configured the port to EP mode while the DT specifies it as a host bridge or vice versa), a check has been added for each mode. Signed-off-by: Jonathan Chocron <jonnyc@amazon.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Reviewed-by: Andrew Murray <andrew.murray@arm.com> Acked-by: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
Diffstat (limited to 'drivers/pci/mmap.c')
0 files changed, 0 insertions, 0 deletions