diff options
author | Jonathan Chocron | 2019-09-12 16:02:38 +0300 |
---|---|---|
committer | Lorenzo Pieralisi | 2019-09-16 14:17:15 +0100 |
commit | 0b24134f7888175c9638e6fd1900e23e44fc172f (patch) | |
tree | 085ed446d1c3e5c30d6c58d3df950a8701f4f159 /drivers/char/xillybus/xillybus_pcie.c | |
parent | a8daea94754989f6c48dafda840482cbc9f882f9 (diff) |
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/char/xillybus/xillybus_pcie.c')
0 files changed, 0 insertions, 0 deletions