[POWERPC] 4xx: Only reset PCIe PHY on 405EX systems when no link is detected
authorStefan Roese <sr@denx.de>
Thu, 27 Mar 2008 15:34:50 +0000 (02:34 +1100)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Thu, 3 Apr 2008 01:29:29 +0000 (20:29 -0500)
commitb64c4c937daaa04a0a5c188718fb77e8041b5686
treee385dce27e21a9267421411bc9a4fd2bcc1473b2
parente04018e8e49c8c78cebd627ea9b5d02b807662ad
[POWERPC] 4xx: Only reset PCIe PHY on 405EX systems when no link is detected

Since the arch/powerpc PCI subsystem now does a complete re-assignment of
the resources, we can move from the unconditional PCIe PHY reset to the
conditional version. Now the PHY is only reset, if no link is established yet.
An additional PHY reset (one is already done in U-Boot) leads to problems
with some Atheros PCIe boards and some HP FPGA PCIe designs.

Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
arch/powerpc/sysdev/ppc4xx_pci.c