commit | dac01fd89d41d98cd4ce040a0d10eb67c523f63a | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Fri Aug 03 01:14:52 2018 -0700 |
committer | Simon Glass <sjg@chromium.org> | Wed Aug 08 12:49:31 2018 +0100 |
tree | f230ada01af1198cdfcfadfafa03fe6107235eba | |
parent | 5d544f962f7b970c118eaa13f1b874572ab5c28f [diff] |
dm: pci: Add APIs to find capability and extended capability 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> Reviewed-by: Simon Glass <sjg@chromium.org>