powerpc/85xx: Rework MPC8544DS pci_init_board to use common FSL PCIe code
authorKumar Gala <galak@kernel.crashing.org>
Fri, 17 Dec 2010 12:01:24 +0000 (06:01 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 14 Jan 2011 07:32:20 +0000 (01:32 -0600)
commit64a1686a5534030227bc7356cb6914078a3d88c4
treef4eb22f73244d39f014c254b45ea0fdc02002db3
parent4d5723da57344cc8f41324fb18b039fb2ce83428
powerpc/85xx: Rework MPC8544DS pci_init_board to use common FSL PCIe code

Remove duplicated code in MPC8544DS board and utilize the common
fsl_pcie_init_ctrl().  We also now dynamically setup the LAWs for PCI
controllers based on which PCIe controllers are enabled.

We don't use the full fsl_pcie_init_ctrl() since we have to handle PCIE3
specially to setup the additional memory map region and we utilize a
single LAW to cover the controller.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
board/freescale/mpc8544ds/law.c
board/freescale/mpc8544ds/mpc8544ds.c
include/configs/MPC8544DS.h