pci/fsl_pci_init: Enable larger address and setting inbound windows properly
authorKumar Gala <galak@kernel.crashing.org>
Tue, 21 Oct 2008 15:13:14 +0000 (10:13 -0500)
committerAndrew Fleming-AFLEMING <afleming@freescale.com>
Fri, 24 Oct 2008 22:35:02 +0000 (17:35 -0500)
commit612ea01018a459234d54ed57ec6a5a244ce75678
treea6c67ffdf32c0621a3270373cf725058409fa0ba
parent8ab451c46b846f2bbd7122b29ffdd9a4a04da228
pci/fsl_pci_init: Enable larger address and setting inbound windows properly

* PCI Inbound window was setup incorrectly.  The PCI address and system
  address were swapped.  The PCI address should be setting piwar/piwbear
  and the system address should be setting pitar.

* Removed masking of addresses to allow for system address to support
  system address & PCI address >32-bits

* Set PIWBEAR & POTEAR to allow for full 64-bit PCI addresses

* Respect the PCI_REGION_PREFETCH for inbound windows

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Andrew Fleming-AFLEMING <afleming@freescale.com>
drivers/pci/fsl_pci_init.c