
2 Aug
2018
2 Aug
'18
10:38 p.m.
On 29 July 2018 at 07:37, Bin Meng bmeng.cn@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@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@chromium.org