Skip to content
Snippets Groups Projects
Commit 9f85eee7 authored by Thierry Reding's avatar Thierry Reding Committed by Simon Glass
Browse files

fdt: Add a function to return PCI BDF triplet


The fdtdec_pci_get_bdf() function returns the bus, device, function
triplet of a PCI device by parsing the "reg" property according to the
PCI device tree binding.

Acked-by: default avatarSimon Glass <sjg@chromium.org>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 56f42242
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