mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-25 13:45:25 +01:00
pci: Tidy up comments in pci_bind_bus_devices()
The current comments are confusing. We don't actually bind a generic device when the device tree has no information. We try to scan available PCI drivers. Update the comments to reflect this. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
4abe8e40a7
commit
8bd42525fa
1 changed files with 1 additions and 3 deletions
|
|
@ -674,9 +674,7 @@ int pci_bind_bus_devices(struct udevice *bus)
|
|||
/* Find this device in the device tree */
|
||||
ret = pci_bus_find_devfn(bus, PCI_MASK_BUS(bdf), &dev);
|
||||
|
||||
/* Search for a driver */
|
||||
|
||||
/* If nothing in the device tree, bind a generic device */
|
||||
/* If nothing in the device tree, bind a device */
|
||||
if (ret == -ENODEV) {
|
||||
struct pci_device_id find_id;
|
||||
ulong val;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue