commit | 631f3489421dfdd9996431de49986d1f49b857b6 | [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 | dfdd17aaacf6873e5d864d7b8e82be1f02bc1c59 [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>