]> git.ipfire.org Git - people/ms/u-boot.git/commit - arch/powerpc/cpu/ppc4xx/4xx_pci.c
[PPC440SPe] Improve PCIe configuration space access
authorGrzegorz Bernacki <gjb@semihalf.com>
Fri, 7 Sep 2007 16:20:23 +0000 (18:20 +0200)
committerRafal Jaworowski <raj@semihalf.com>
Fri, 7 Sep 2007 16:20:23 +0000 (18:20 +0200)
commit7f1913938984ef6c6a46cb53e003719196d9c5de
tree127789e73caeb3464c9941c1f96440031b1e3f6c
parent15ee4734e4e08003d73d9ead3ca80e2a0672e427
[PPC440SPe] Improve PCIe configuration space access

- correct configuration space mapping
- correct bus numbering
- better access to config space

Prior to this patch, the 440SPe host/PCIe bridge was able to configure only the
first device on the first bus. We now allow to configure up to 16 buses;
also, scanning for devices behind the PCIe-PCIe bridge is supported, so
peripheral devices farther in hierarchy can be identified.

Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
board/amcc/katmai/init.S
board/amcc/katmai/katmai.c
board/amcc/yucca/init.S
board/amcc/yucca/yucca.c
cpu/ppc4xx/405gp_pci.c
cpu/ppc4xx/440spe_pcie.c
include/common.h
include/configs/katmai.h
include/configs/yucca.h