From: Bin Meng Date: Wed, 4 Mar 2015 07:08:26 +0000 (+0800) Subject: fdtdec: Improve fdtdec_get_pci_bdf() documentation X-Git-Tag: v2015.04-rc5~53^2~9 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0eb9dc76e2987a07de9101e026ff26b28fa7496b;p=u-boot 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: Bin Meng Acked-by: Simon Glass --- diff --git a/include/fdtdec.h b/include/fdtdec.h index 5ac515d87d..11a7b86007 100644 --- a/include/fdtdec.h +++ b/include/fdtdec.h @@ -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 - * 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 node node to examine