mirror of
				https://xff.cz/git/u-boot/
				synced 2025-10-31 10:26:10 +01:00 
			
		
		
		
	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 <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
		| @@ -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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user