commit | a7366f0dfc6843bc880aa077e9c84c154d2636f1 | [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 | 16541e8183e8d1282f29dee75bdc346fb1bb695a [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>