85xx/mpc8536ds: Use is_serdes_configured() to determine of PCIe enabled
authorKumar Gala <galak@kernel.crashing.org>
Tue, 20 Apr 2010 15:21:12 +0000 (10:21 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 12 May 2010 09:53:51 +0000 (04:53 -0500)
commit54648985e2a64e29784e3ed37cd45b637305cd65
treeec82e7744e8f8738b2131add105dabb6a05978d1
parent6ab4011b796e0af130ca160ea3c674d462f3bec4
85xx/mpc8536ds: Use is_serdes_configured() to determine of PCIe enabled

The new is_serdes_configured covers a broader range of devices than the
PCI specific code.  Use it instead as we convert away from the
is_fsl_pci_cfg() code.

Additionally move to setting LAWs for PCI based on if its configured.
Also updated PCI FDT fixup code to remove PCI controllers from dtb if
they are configured.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/cpu/mpc8xxx/pci_cfg.c
board/freescale/mpc8536ds/law.c
board/freescale/mpc8536ds/mpc8536ds.c