[U-Boot] [PATCH v2 20/21] dm: pci: Add APIs to find capability and extended capability
Simon Glass
sjg at chromium.org
Thu Aug 2 20:38:50 UTC 2018
On 29 July 2018 at 07:37, 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>
>
> ---
>
> Changes in v2:
> - Mask header_type with 0x7f
>
> drivers/pci/pci-uclass.c | 68 ++++++++++++++++++++++++++++++++++++++++++++++++
> include/pci.h | 46 ++++++++++++++++++++++++++++++++
> 2 files changed, 114 insertions(+)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list