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

Simon Glass sjg at chromium.org
Thu Sep 27 13:42:56 UTC 2018


On 23 September 2018 at 06:42, Bin Meng <bmeng.cn at gmail.com> wrote:
> This introduces two new APIs dm_pci_find_next_capability() and
> dm_pci_find_next_ext_capability() to get PCI capability address
> and PCI express extended capability address for a given PCI device
> starting from a given offset.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
>  drivers/pci/pci-uclass.c | 48 ++++++++++++++++++++++++++++++++----------------
>  include/pci.h            | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 80 insertions(+), 16 deletions(-)

Are these called somewhere from sandbox?...ah yes, next patch

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


More information about the U-Boot mailing list