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

Tom Rini trini at ti.com
Mon Nov 24 23:11:23 CET 2014


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

> From: Thierry Reding <treding at 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 at nvidia.com>
> Signed-off-by: Simon Glass <sjg at 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>


More information about the U-Boot mailing list