powerpc/b4860qds: add xfi support
authorShaohui Xie <Shaohui.Xie@freescale.com>
Thu, 13 Nov 2014 03:26:19 +0000 (11:26 +0800)
committerYork Sun <yorksun@freescale.com>
Fri, 5 Dec 2014 16:06:13 +0000 (08:06 -0800)
commit89b94d851d683308e731e3ceae1a12f616d1f2f7
tree1eb37fead47897cdb4c99276a15d608504a51201
parent8c328c21b7f9b794523c966b777700c0e9b7f424
powerpc/b4860qds: add xfi support

We need following changes to make xfi work on B4:
1. set cross-point switch VSC3308 to use sfp config when running xfi;
2. add 10G interface check for xfi;
3. set phy address for xfi so the 10G ports can be registered by mdio;

Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
board/freescale/b4860qds/b4860qds.c
board/freescale/b4860qds/eth_b4860qds.c
drivers/net/fm/b4860.c