[U-Boot] [U-Boot, v3, 02/30] pci: Abort early if bus does not exist

Tom Rini
2014-11-24T22:11:23Z

On Wed, Nov 12, 2014 at 06:26:48PM -0700, Simon Glass wrote:

> From: Thierry Reding <treding@nvidia.com>
>
> When listing the devices on a PCI bus, the current code will blindly try
> to access all devices. Internally this causes pci_bus_to_hose() to be
> repeatedly called and output an error message every time. Prevent this
> by calling pci_bus_to_hose() once and abort early if no bus was found.
>
> Signed-off-by: Thierry Reding <treding@nvidia.com>
> Signed-off-by: Simon Glass <sjg@chromium.org>

Applied to u-boot/master, thanks!

--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141124/60231deb/attachment.pgp>