Make MPC8641's PCI/PCI-E driver a common driver for many FSL parts.
All of the PCI/PCI-Express driver and initialization code that was in the MPC8641HPCN port has now been moved into the common drivers/fsl_pci_init.c. In a subsequent patch, this will be utilized by the 85xx ports as well. Common PCI-E IMMAP register blocks for FSL 85xx/86xx are added. Also enable the second PCI-Express controller on 8641 by getting its BATS and CFG_ setup right. Fixed a u16 vendor compiler warning in AHCI driver too. Signed-off-by:Ed Swarthout <Ed.Swarthout@freescale.com> Signed-off-by:
Zhang Wei <wei.zhang@freescale.com> Signed-off-by:
Jon Loeliger <jdl@freescale.com>
Showing
- board/mpc8641hpcn/mpc8641hpcn.c 126 additions, 39 deletionsboard/mpc8641hpcn/mpc8641hpcn.c
- board/mpc8641hpcn/u-boot.lds 0 additions, 1 deletionboard/mpc8641hpcn/u-boot.lds
- cpu/mpc86xx/Makefile 2 additions, 1 deletioncpu/mpc86xx/Makefile
- cpu/mpc86xx/pci.c 0 additions, 146 deletionscpu/mpc86xx/pci.c
- cpu/mpc86xx/pcie_indirect.c 0 additions, 199 deletionscpu/mpc86xx/pcie_indirect.c
- drivers/Makefile 1 addition, 1 deletiondrivers/Makefile
- drivers/ahci.c 2 additions, 1 deletiondrivers/ahci.c
- drivers/fsl_pci_init.c 180 additions, 0 deletionsdrivers/fsl_pci_init.c
- include/asm-ppc/immap_fsl_pci.h 150 additions, 0 deletionsinclude/asm-ppc/immap_fsl_pci.h
- include/configs/MPC8641HPCN.h 26 additions, 18 deletionsinclude/configs/MPC8641HPCN.h
- include/pci.h 6 additions, 0 deletionsinclude/pci.h
Loading
Please register or sign in to comment