[U-Boot] [PATCH 02/17] mpc8640: Update the io_sel fields for PCI Express

Kumar Gala
2010-09-30T04:41:08Z

On Sep 29, 2010, at 2:05 PM, Peter Tyser wrote:

> Previously io_sel=0xe incorrect stated PCIE1 was enabled. Also add
> support for the mpc8640's PCIE2 interface.
>
> Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
> CC: Kumar Gala <galak@kernel.crashing.org>
> ---
> arch/powerpc/cpu/mpc8xxx/pci_cfg.c | 5 ++++-
> 1 files changed, 4 insertions(+), 1 deletions(-)

Can you convert this to what we are doing on MPC8536, I want to kill arch/powerpc/cpu/mpc8xxx/pci_cfg.c.

See the following two commits:

commit 54648985e2a64e29784e3ed37cd45b637305cd65
Author: Kumar Gala <galak@kernel.crashing.org>
Date: Tue Apr 20 10:21:12 2010 -0500

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>

commit 6ab4011b796e0af130ca160ea3c674d462f3bec4
Author: Kumar Gala <galak@kernel.crashing.org>
Date: Tue Apr 20 10:20:33 2010 -0500

85xx: Add is_serdes_configured() support to MPC8536 SERDES

Add the ability to determine if a given IP block connected on SERDES is
configured. This is useful for things like PCIe and SRIO since they are
only ever connected on SERDES.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>

- k