powerpc/t1024: update fman liodn for mac1
authorShengzhou Liu <Shengzhou.Liu@freescale.com>
Thu, 14 May 2015 08:51:39 +0000 (16:51 +0800)
committerYork Sun <yorksun@freescale.com>
Tue, 28 Jul 2015 21:41:15 +0000 (14:41 -0700)
commitb99b6452bce169df009a1e99b5b5e25b3320cacc
tree880c65a1c073a7887df1837c1be5e6e6e2936016
parentfa9ccff8358b010ac620b05349e300ff29f4c322
powerpc/t1024: update fman liodn for mac1

MAC1 acts as 1G/10G dual-role MAC on T1024. We introduce
macro SET_FMAN_RX_10G_TYPE2_LIODN for 10G MACs which have
same Port ID and same offset of address with 1G MAC.
Update it to match with the setting of fman in t1024 device
tree, otherwise there is no 'fsl,liodn' in
/proc/device-tree/soc@ffe000000/fman@400000/port@88000/

Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
arch/powerpc/cpu/mpc85xx/t1024_ids.c
arch/powerpc/include/asm/fsl_liodn.h