summaryrefslogtreecommitdiff
path: root/include/fdtdec.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-03-26 22:13:11 -0400
committerTom Rini <trini@konsulko.com>2015-03-26 22:13:11 -0400
commit10af87817a3d924bfbfce0cc323f9785cccdb131 (patch)
tree2ca16e5060d3e6b968cfed645d0713bf5ab7734a /include/fdtdec.h
parentf643d9294f45487f22e8f33d6572530f17eff4e9 (diff)
parent6f1eba49a558421e3fcb06ab0addc12b9a3804c6 (diff)
downloadu-boot-imx-10af87817a3d924bfbfce0cc323f9785cccdb131.zip
u-boot-imx-10af87817a3d924bfbfce0cc323f9785cccdb131.tar.gz
u-boot-imx-10af87817a3d924bfbfce0cc323f9785cccdb131.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-x86
Diffstat (limited to 'include/fdtdec.h')
-rw-r--r--include/fdtdec.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/fdtdec.h b/include/fdtdec.h
index 5ac515d..11a7b86 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