u-boot/cpu/mpc83xx
Anton Vorontsov e2d72ba543 mpc83xx: PCIe: Don't start bus enumeration at 0
Currently we assign first_busno = 0 for the first PCIe hose, but this
scheme won't work if we have ordinary PCI hose already registered (its
first_busno value is 0 too).

The old code worked fine only because we have PCI disabled on
MPC837XEMDS boards in stand-alone mode (see commit 00f7bbae92
"mpc83xx: fix PCI scan hang on the standalone MPC837xE-MDS boards").
But on MPC837XERDB boards we have PCI and PCIe, so the bug actually
triggers.

So, to fix the issue, we should use pci_last_busno() + 1 for the
first_busno (i.e. last available busno).

Reported-by: Huang Changming <Chang-Ming.Huang@freescale.com>
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
2009-02-23 15:51:35 -06:00
..
config.mk PPC: Use r2 instead of r29 as global data pointer 2008-02-14 22:43:22 +01:00
cpu.c 83xx: Add eSDHC support on 8379 EMDS board 2009-02-16 18:07:43 -06:00
cpu_init.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
ecc.c Command usage cleanup 2009-01-28 08:49:52 +01:00
fdt.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
interrupts.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
Makefile mpc83xx: Add support for MPC83xx PCI-E controllers 2009-01-21 18:43:49 -06:00
nand_init.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
pci.c pci: Rename PCI_REGION_MEMORY to PCI_REGION_SYS_MEMORY for clarity 2009-02-07 23:50:04 +01:00
pcie.c mpc83xx: PCIe: Don't start bus enumeration at 0 2009-02-23 15:51:35 -06:00
qe_io.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
serdes.c mpc83xx: serdes: add forgotten shifts for rfcks 2008-10-21 18:34:01 -05:00
spd_sdram.c Cleanup: fix "MHz" spelling 2008-10-21 11:25:39 +02:00
speed.c Command usage cleanup 2009-01-28 08:49:52 +01:00
start.S 83xx: Use the proper sequence for updating IMMR. 2009-01-21 18:43:57 -06:00
traps.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
u-boot.lds Align end of bss by 4 bytes 2008-11-18 23:13:16 +01:00