Skip to content
Snippets Groups Projects
Commit dac01fd8 authored by Bin Meng's avatar Bin Meng Committed by Simon Glass
Browse files

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: default avatarBin Meng <bmeng.cn@gmail.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 5d544f96
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment