[U-Boot] [PATCH 1/3] pci: Add error values definitions from the kernel

Fabio Estevam festevam at gmail.com
Thu Jan 7 13:15:59 CET 2016


Hi Bin,

On Thu, Jan 7, 2016 at 12:11 AM, Bin Meng <bmeng.cn at gmail.com> wrote:

> Why should we introduce another set of error values just to fix this

We should better align this with the kernel code.

> specific PCIe issue? Isn't -EINVAL enough?

Returning -EINVAL is what we do today and it causes the issue when
running 'pci 0' command on imx and layerscape.

With this series we get the following results:

1. Do not get the error when running 'pci 0' command

2. Align the PCI return error code with the kernel.

Both are good things IMHO.

Regards,

Fabio Estevam


More information about the U-Boot mailing list