board/freescale/common/cds_pci_ft.c: Fix rotate wrong cells in interrupt-map property
authorJiang Bin <bin.jiang@windriver.com>
Mon, 19 Nov 2012 22:31:24 +0000 (22:31 +0000)
committerAndy Fleming <afleming@freescale.com>
Thu, 2 May 2013 21:56:42 +0000 (16:56 -0500)
commitacac075b94ede46b2d7a534437bb0431749e57a7
tree402762a6d17afb78813d7e3289b8bef08e79d59e
parent63216de13488e8bc81afb53d0f5177142ee34ceb
board/freescale/common/cds_pci_ft.c: Fix rotate wrong cells in interrupt-map property

For linux 3.x, the size of each item in interrupt-map property is 9 not 7.
Don't use the static value and calculate the size with following cells:
PCI #address-cells, PCI #interrupt-cells,
PIC address, PIC #address-cells, PIC #interrupt-cells.

Signed-off-by: Bin Jiang <bin.jiang@windriver.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
board/freescale/common/cds_pci_ft.c