summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPrabhakar Kushwaha <prabhakar at freescale.com>2015-05-28 14:53:57 +0530
committerYork Sun <yorksun@freescale.com>2015-07-20 11:44:33 -0700
commit94540c56044893343b9d84dff88ecab3e6e3182b (patch)
tree16fbde48e68faf603fdc80d6f80bc9830ebb246e
parent6581440c1d5c49a7a80a40a827a83d98888ada11 (diff)
downloadtalos-obmc-uboot-94540c56044893343b9d84dff88ecab3e6e3182b.tar.gz
talos-obmc-uboot-94540c56044893343b9d84dff88ecab3e6e3182b.zip
armv8/ls2085aqds: Add support of SerDes protocol 0x49
SerDes Protocol 0x49 enables 4 SGMII, PEX4, SATA1 and SATA2. Add support of 0x49 SerDes protocol to enable 4SGMII on slot4 of ls2085aqds platform. Signed-off-by: Prabhakar Kushwaha <prabhakar at freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
-rw-r--r--board/freescale/ls2085aqds/eth.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/freescale/ls2085aqds/eth.c b/board/freescale/ls2085aqds/eth.c
index 5ba4770ebc..f32ace2a71 100644
--- a/board/freescale/ls2085aqds/eth.c
+++ b/board/freescale/ls2085aqds/eth.c
@@ -210,6 +210,7 @@ static void initialize_dpmac_to_slot(void)
switch (serdes2_prtcl) {
case 0x07:
case 0x08:
+ case 0x49:
printf("qds: WRIOP: Supported SerDes Protocol 0x%02x\n",
serdes2_prtcl);
lane_to_slot_fsm2[0] = EMI1_SLOT4;
@@ -247,6 +248,7 @@ void ls2085a_handle_phy_interface_sgmii(int dpmac_id)
switch (serdes2_prtcl) {
case 0x07:
case 0x08:
+ case 0x49:
lane = serdes_get_first_lane(FSL_SRDS_2, SGMII9 +
(dpmac_id - 9));
slot = lane_to_slot_fsm2[lane];
OpenPOWER on IntegriCloud