Skip to content
Snippets Groups Projects
Commit 2a87f7fd authored by Hou Zhiqiang's avatar Hou Zhiqiang Committed by Simon Glass
Browse files

dm/pci: Change the first CFG read to Vendor ID in enumeration


As the PCIe specification recommend reading the Vendor ID register
to determine if a Function is present, read the Vendor ID of a
non-existent Function must not result in system error, so we'd better
make the first CFG read to Vendor ID instead of Header Type register
in the PCIe enumeration.

Signed-off-by: default avatarHou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent a3e1653d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment