commit | a8c5f8d3d02807f72d048950d72b0c73d55bd7fb | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Mon Oct 15 02:21:21 2018 -0700 |
committer | Simon Glass <sjg@chromium.org> | Wed Nov 14 09:16:28 2018 -0800 |
tree | d87519b5395d70034c2c9647f44b1cf70d019f70 | |
parent | c80c7798cfc6032ce6522aded6048f1d3fe93fce [diff] |
dm: pci: Add APIs to find next capability and extended capability 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@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>