B4860QDS: Enable SFP or AMC on basis of hwconfig string
authorSuresh Gupta <suresh.gupta@freescale.com>
Thu, 13 Nov 2014 03:27:32 +0000 (11:27 +0800)
committerYork Sun <yorksun@freescale.com>
Fri, 5 Dec 2014 16:06:13 +0000 (08:06 -0800)
commitcd79e5f41402f1e717b988d3368c033660ead821
tree3b2df588858be5178409cb301e9a799ff8892433
parent90e80dc6b6c802dffde9161492a92b94b15e223e
B4860QDS: Enable SFP or AMC on basis of hwconfig string

SerDes2 lanes EFGH either go to SFP or AMC riser card slot2.
By default AMC will be configured even if no hwconfig is specified.

To enable XFI via SFP use the below hwconfig:
fsl_b4860_serdes2:sfp_amc=sfp

Signed-off-by: Suresh Gupta <suresh.gupta@freescale.com>
Signed-off-by: Poonam Aggrwal <poonam.aggrwal@ffeescale.com>
Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
board/freescale/b4860qds/b4860qds.c