powerpc/4xx: enable and fix pcie gen1/gen2 on the 460sx
authorAyman El-Khashab <ayman@elkhashab.com>
Wed, 20 Jul 2011 03:02:29 +0000 (03:02 +0000)
committerJosh Boyer <jwboyer@gmail.com>
Thu, 11 Aug 2011 17:51:18 +0000 (13:51 -0400)
commite7fa1d131472b1134d33aba56a83f8f7689f54fd
treecb728714ba8f2916c214ec9e8c9367bdfdb0a683
parent2f6bab96ef60dd87e0a17272f9f8a6ee12118d32
powerpc/4xx: enable and fix pcie gen1/gen2 on the 460sx

Adds a register to the config space for the 460sx.  Changes the vc0
detect to a pll detect.  maps configuration space to test the link
status.  changes the setup to enable gen2 devices to operate at gen2
speeds.  fixes mapping that was not correct for the 460sx.  added
bit definitions for the OMRxMSKL registers.  Removed reserved bit
that was set incorrectly in the OMR2MSKL register.

tested on the 460sx eiger and custom board

Signed-off-by: Ayman El-Khashab <ayman@elkhashab.com>
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
arch/powerpc/sysdev/ppc4xx_pci.c
arch/powerpc/sysdev/ppc4xx_pci.h