commit | 9f85eee72a2a3918b2d5cd7b1bf88da69232dede | [log] [tgz] |
---|---|---|
author | Thierry Reding <treding@nvidia.com> | Tue Aug 26 17:33:54 2014 +0200 |
committer | Simon Glass <sjg@chromium.org> | Wed Oct 22 16:56:41 2014 -0600 |
tree | 18ad49344920b3e9721550b4172f623f126412f9 | |
parent | 56f42242f020254ea1c383694edb072e3a5ca6d6 [diff] |
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: Simon Glass <sjg@chromium.org> Signed-off-by: Thierry Reding <treding@nvidia.com>