diff options
| author | Pali Rohár <[email protected]> | 2021-10-07 14:50:58 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-10-14 19:45:07 -0400 |
| commit | 63ae80dd98d4c0d1123317043cdf2596e724e43a (patch) | |
| tree | 34fefa8b5b79b9122847cbc9b659d893849ee23e /scripts | |
| parent | b9caab8b47ae6ad6a317a9ed05e90475248739d7 (diff) | |
pci: Skip configuring invalid P2P bridge devices
Function dm_pci_hose_probe_bus() expects that bus is valid PCI device with
Bridge header type (0x01). So add check before touching PCI config space to
prevent misconfiguring some non-standard device.
Signed-off-by: Pali Rohár <[email protected]>
Reviewed-by: Stefan Roese <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
