Skip to content
Commit 0b24134f authored by Jonathan Chocron's avatar Jonathan Chocron Committed by Lorenzo Pieralisi
Browse files

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: default avatarJonathan Chocron <jonnyc@amazon.com>
Signed-off-by: default avatarLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: default avatarAndrew Murray <andrew.murray@arm.com>
Acked-by: default avatarGustavo Pimentel <gustavo.pimentel@synopsys.com>
parent a8daea94
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment