diff options
author | Hou Zhiqiang <Zhiqiang.Hou@nxp.com> | 2018-10-08 16:35:47 +0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2018-11-20 19:14:22 -0700 |
commit | 2a87f7fdd599172879633faf33cae7005344d666 (patch) | |
tree | cce5b9bdefdd2f5693fbce627e82da2522640a20 /cmd/time.c | |
parent | a3e1653ddeb02f39481eba572275016171e9670c (diff) |
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: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'cmd/time.c')
0 files changed, 0 insertions, 0 deletions