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

fdtdec: Improve fdtdec_get_pci_bdf() documentation


Add the description that how the compatible property is involved in
the fdtdec_get_pci_bdf() documentation.

Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
parent 1c854dc5
No related branches found
No related tags found
No related merge requests found
...@@ -347,7 +347,10 @@ int fdtdec_get_pci_vendev(const void *blob, int node, ...@@ -347,7 +347,10 @@ int fdtdec_get_pci_vendev(const void *blob, int node,
/** /**
* Look at the pci address of a device node that represents a PCI device * Look at the pci address of a device node that represents a PCI device
* and parse the bus, device and function number from it. * and parse the bus, device and function number from it. For some cases
* like the bus number encoded in reg property is not correct after pci
* enumeration, this function looks through the node's compatible strings
* to get these numbers extracted instead.
* *
* @param blob FDT blob * @param blob FDT blob
* @param node node to examine * @param node node to examine
......
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