Re: [U-Boot] [PATCH v3 02/10] dm: pci: Add a way to iterate through all PCI devices

2015-08-11 Thread Simon Glass
On 10 August 2015 at 22:14, Bin Meng wrote: > On Mon, Aug 10, 2015 at 9:05 PM, Simon Glass wrote: >> These functions allow iteration through all PCI devices including bridges. >> The children of each PCI bus are returned in turn. This can be useful for >> configuring, checking or enumerating all

Re: [U-Boot] [PATCH v3 02/10] dm: pci: Add a way to iterate through all PCI devices

2015-08-10 Thread Bin Meng
On Mon, Aug 10, 2015 at 9:05 PM, Simon Glass wrote: > These functions allow iteration through all PCI devices including bridges. > The children of each PCI bus are returned in turn. This can be useful for > configuring, checking or enumerating all the devices. > > Signed-off-by: Simon Glass > ---

[U-Boot] [PATCH v3 02/10] dm: pci: Add a way to iterate through all PCI devices

2015-08-10 Thread Simon Glass
These functions allow iteration through all PCI devices including bridges. The children of each PCI bus are returned in turn. This can be useful for configuring, checking or enumerating all the devices. Signed-off-by: Simon Glass --- Changes in v3: - Drop the inner while() loop in skip_to_next_d