diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2010-04-20 15:21:12 (GMT) |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2010-05-12 09:53:51 (GMT) |
commit | 54648985e2a64e29784e3ed37cd45b637305cd65 (patch) | |
tree | ec82e7744e8f8738b2131add105dabb6a05978d1 /arch/powerpc | |
parent | 6ab4011b796e0af130ca160ea3c674d462f3bec4 (diff) | |
download | u-boot-fsl-qoriq-54648985e2a64e29784e3ed37cd45b637305cd65.tar.xz |
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>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/cpu/mpc8xxx/pci_cfg.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/powerpc/cpu/mpc8xxx/pci_cfg.c b/arch/powerpc/cpu/mpc8xxx/pci_cfg.c index 85995ca..186936f 100644 --- a/arch/powerpc/cpu/mpc8xxx/pci_cfg.c +++ b/arch/powerpc/cpu/mpc8xxx/pci_cfg.c @@ -56,18 +56,6 @@ static struct pci_info pci_config_info[] = #elif defined(CONFIG_MPC8536) static struct pci_info pci_config_info[] = { - [LAW_TRGT_IF_PCI] = { - .cfg = 0, - }, - [LAW_TRGT_IF_PCIE_1] = { - .cfg = (1 << 2) | (1 << 3) | (1 << 5) | (1 << 7), - }, - [LAW_TRGT_IF_PCIE_2] = { - .cfg = (1 << 5) | (1 << 7), - }, - [LAW_TRGT_IF_PCIE_3] = { - .cfg = (1 << 7), - }, }; #elif defined(CONFIG_MPC8544) static struct pci_info pci_config_info[] = |