]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00243106 imx: pcie: enable pcie msi on imx6 platforms
authorRichard Zhu <r65037@freescale.com>
Fri, 1 Feb 2013 04:31:21 +0000 (12:31 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:53 +0000 (08:35 +0200)
commit47883ad7fab5407aba76e6c9c9924c8dd4b79a3a
tree03c42c076652d394dd912b860dab8b01cebf430b
parent1351754b4cf1cffdd68ab0eba06c407237696d7e
ENGR00243106 imx: pcie: enable pcie msi on imx6 platforms

deprieved from boundary msi support patch
add the following modifications
 * use the RC's line address 0x01FF8000 instead of one
 actual physical memory as the msi start address.
 The physical memory address is not mandatory required by the
 msi start address.

 * set PCI_MSI_FLAGS_ENABLE in RC's msi capability
 structure when the msi int is enabled.

 * the data of msg is only 16bit, set the upper 8bit
 cputype, and the msi int num to the lower 8bit.

Signed-off-by: Richard Zhu <r65037@freescale.com>
arch/arm/mach-mx6/Kconfig
arch/arm/mach-mx6/Makefile
arch/arm/mach-mx6/irq.c
arch/arm/mach-mx6/msi.c [new file with mode: 0644]
arch/arm/mach-mx6/msi.h [new file with mode: 0644]
arch/arm/mach-mx6/pcie.c
arch/arm/plat-mxc/include/mach/irqs.h