powerpc/pci: Use PCIe IP block revision register instead of compatible
authorRoy Zang <tie-fei.zang@freescale.com>
Mon, 3 Sep 2012 09:22:10 +0000 (17:22 +0800)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 12 Sep 2012 19:57:12 +0000 (14:57 -0500)
commit9e67886becd7fab36c97ef43bb81515c18a66be1
treed70d59c68d777cd014779ce70f79adfbcbbdda45
parent6cc1b4e931f8d8dccdcdb05b758a7d1178ad6b49
powerpc/pci: Use PCIe IP block revision register instead of compatible

Freescale PCIe IP block revision bigger than rev2.2 will also need
redefine the sequence of inbound windows. So change to use IP block
revision instead of compatible for the judgment.

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