powerpc/85xx: Add support for FSL PCIe controller v3.0
authorRoy ZANG <tie-fei.zang@freescale.com>
Fri, 21 Sep 2012 04:12:52 +0000 (04:12 +0000)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 5 Mar 2013 23:10:27 +0000 (17:10 -0600)
commitcc6ea0dd28d450925dd43135647fcb73f171c748
tree13beaacc71bc6fff526d287ce339fe27a939dd5d
parentcdc3c44cde678a8c5b062492cd7cf09c4e2cc9ce
powerpc/85xx: Add support for FSL PCIe controller v3.0

The T4240 utilizes a new PCIe controller block that has some minor
programming model differences from previous versions.

The major one that impacts initialization is how we determine the link
state.  On the 3.x controllers we have a memory mapped SoC register
instead of a PCI config register that reports the link state.

Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/sysdev/fsl_pci.c
arch/powerpc/sysdev/fsl_pci.h