[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>
Showing
- board/amcc/katmai/init.S 6 additions, 6 deletionsboard/amcc/katmai/init.S
- board/amcc/katmai/katmai.c 5 additions, 4 deletionsboard/amcc/katmai/katmai.c
- board/amcc/yucca/init.S 6 additions, 6 deletionsboard/amcc/yucca/init.S
- board/amcc/yucca/yucca.c 5 additions, 4 deletionsboard/amcc/yucca/yucca.c
- cpu/ppc4xx/405gp_pci.c 10 additions, 7 deletionscpu/ppc4xx/405gp_pci.c
- cpu/ppc4xx/440spe_pcie.c 87 additions, 24 deletionscpu/ppc4xx/440spe_pcie.c
- include/common.h 1 addition, 1 deletioninclude/common.h
- include/configs/katmai.h 5 additions, 5 deletionsinclude/configs/katmai.h
- include/configs/yucca.h 5 additions, 5 deletionsinclude/configs/yucca.h
Loading
Please register or sign in to comment