powerpc/srio: Update the SRIO LIODN registers and ID table macro
authorLiu Gang <Gang.Liu@freescale.com>
Tue, 25 Jun 2013 10:12:12 +0000 (18:12 +0800)
committerYork Sun <yorksun@freescale.com>
Fri, 9 Aug 2013 19:41:37 +0000 (12:41 -0700)
commitb3831020402adc81930c52cb8e52c7ff868d2fc7
treebc3fc30eec8370820b5cd45b15d8af100a0d6ec6
parent49f5befafd0f71e3ba033081e80fa4965d682ebc
powerpc/srio: Update the SRIO LIODN registers and ID table macro

For some PowerPC platforms, LIODN registers for SRIO ports are
in SRIO register address space. So the ccsr_rio structure should
be updated for those LIODN registers.

In addition, add a new macro "SET_SRIO_LIODN_BASE" to create
the SRIO LIODN ID table based on the SRIO LIODN register address.

Signed-off-by: Liu Gang <Gang.Liu@freescale.com>
Acked-by: York Sun <yorksun@freescale.com>
arch/powerpc/include/asm/fsl_liodn.h
arch/powerpc/include/asm/immap_85xx.h