]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
fsl_pci: Add support for FSL PCIe controllers v2.x
authorPrabhakar Kushwaha <prabhakar@freescale.com>
Fri, 4 Feb 2011 03:30:43 +0000 (09:00 +0530)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 4 Apr 2011 14:24:41 +0000 (09:24 -0500)
commitb6ccd2c9dee758a70e761403a41e60c31a1cfcec
treec47fc0dc31ba8bf0f837eea05d0eebd48449cc4e
parent24995d829aecc6abca0f1b41443ae0cd9b4fde5a
fsl_pci: Add support for FSL PCIe controllers v2.x

FSL PCIe controller v2.1:
- New MSI inbound window
- Same Inbound windows address as PCIe controller v1.x

Added new pit_t member(pmit) to struct ccsr_pci for MSI inbound window

FSL PCIe controller v2.2 and v2.3:
- Different addresses for PCIe inbound window 3,2,1
- Exposed PCIe inbound window 0
- New PCIe interrupt status register

Added new Interrupt Status register to struct ccsr_pci & updated pit_t array
size to reflect the 4 inbound windows.

To maintain backward compatiblilty, on V2.2 or greater controllers we
start with inbound window 1 and leave inbound 0 with its default value
(which maps to CCSRBAR).

Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/include/asm/fsl_pci.h
drivers/pci/fsl_pci_init.c