On Mon, Oct 8, 2018 at 4:36 PM Zhiqiang Hou <zhiqiang....@nxp.com> wrote:
>
> From: Hou Zhiqiang <zhiqiang....@nxp.com>
>
> 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....@nxp.com>
> ---
>  drivers/pci/pci-uclass.c | 11 +++++++----
>  1 file changed, 7 insertions(+), 4 deletions(-)
>

Reviewed-by: Bin Meng <bmeng...@gmail.com>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to