[U-Boot] [PATCH 3/3] dm: pci: Add APIs to find capability and extended capability

Simon Glass sjg at chromium.org
Fri Jul 27 00:35:53 UTC 2018


Hi Bin,

On 25 July 2018 at 03:39, Bin Meng <bmeng.cn at gmail.com> wrote:
> This introduces two new APIs dm_pci_find_capability() and
> dm_pci_find_ext_capability() to get PCI capability address and
> PCI express extended capability address for a given PCI device.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
>  drivers/pci/pci-uclass.c | 68 ++++++++++++++++++++++++++++++++++++++++++++++++
>  include/pci.h            | 46 ++++++++++++++++++++++++++++++++
>  2 files changed, 114 insertions(+)

Reviewed-by: Simon Glass <sjg at chromium.org>

Could you create a test for these two functions?

Regards,
Simon


More information about the U-Boot mailing list