[U-Boot-Users] [PATCH 0/5] Generic PCI-E changes for relative bus numbering

Jon Loeliger jdl at freescale.com
Wed Jul 11 21:51:15 CEST 2007


Folks,

The following 5 patches from Ed Swarthout changes how
PCI-Express bus numbers are assigned such that P2P bridge]
bus numbers programmed into the device are relative to
hose->first_busno.  The first patch ensures that the
hose->current_busno is not less than first_busno.  This
fixes broken board code which leaves current_busno=0 when
first_busno is greater than 0 for the cases with multiple
controllers.

Minor improvements to some DEBUG() output are also added.
Two generic PCI functions are un-static-ized for use in
my follow up patchset for the 86xx platform.

I've only been able to test this on a limited number of
boards with PCI-Express support, so anyone else who can
verify these changes would be appreciated.

Thanks,
jdl

PS -- Look!  Real changes in a small patchset!


 drivers/pci.c          |    8 +++++++-
 drivers/pci_auto.c     |   44 ++++++++++++++++++++++++++++++++------------
 drivers/pci_indirect.c |    4 ++--
 3 files changed, 41 insertions(+), 15 deletions(-)







More information about the U-Boot mailing list