u-boot/cpu/mpc83xx
Anton Vorontsov 50a4d08e8f mpc83xx: PCI: Fix hard-coded first_busno value
We should use pci_last_busno() in pci_init_bus(), otherwise we'll
erroneously re-use PCI0's first_busno for PCI1 hoses.

NOTE: The patch is untested. All MPC83xx FSL boards I have have
PCI1 in miniPCI form, for which I don't have any cards handy.

But looking in cpu/mpc85xx/pci.c:
...
#ifdef CONFIG_MPC85XX_PCI2
        hose = &pci_hose[1];

        hose->first_busno = pci_hose[0].last_busno + 1;

And considering that we do the same for MPC83xx PCI-E support,
I think this patch is correct.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
2009-02-23 15:52:23 -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 mpc83xx: PCI: Fix hard-coded first_busno value 2009-02-23 15:52:23 -06:00
pcie.c mpc83xx: PCIe: Fix CONFIG_PCI_SCAN_SHOW reporting bogus values 2009-02-23 15:51:59 -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