fix: satr: a38x: disable 'sgmiispeed' for A385-AMC
A385-AMC is using SGMII ports with a PHY (no SFP transceiver),
hence there is no support for any other speed than 1G:
- disabled 'sgmiispeed' field in SatR for A385-AMC board
Change-Id: Idbb766f56a84079820ea79cf4a8902dee7e8e143
Signed-off-by: Bassel Saba <basselsa@marvell.com>
Reviewed-on: http://vgitil04.il.marvell.com:8080/19891
Reviewed-by: Omri Itach <omrii@marvell.com>
Tested-by: Omri Itach <omrii@marvell.com>
diff --git a/board/mv_ebu/a38x/armada_38x_family/boardEnv/mvBoardEnvLib38x.h b/board/mv_ebu/a38x/armada_38x_family/boardEnv/mvBoardEnvLib38x.h
index 2ec815e..50b3929 100644
--- a/board/mv_ebu/a38x/armada_38x_family/boardEnv/mvBoardEnvLib38x.h
+++ b/board/mv_ebu/a38x/armada_38x_family/boardEnv/mvBoardEnvLib38x.h
@@ -148,7 +148,7 @@
{"ddrbuswidth", MV_SATR_DDR_BUS_WIDTH, 0x08, 3, 0, 0, {1, 1, 1, 1, 1, 0, 1}, 0},\
{"ddreccenable", MV_SATR_DDR_ECC_ENABLE, 0x10, 4, 0, 0, {1, 1, 1, 1, 1, 1, 1}, 0},\
{"ddreccpupselect", MV_SATR_DDR_ECC_PUP_SEL, 0x20, 5, 0, 0, {0, 1, 0, 0, 0, 0, 1}, 0},\
-{"sgmiispeed", MV_SATR_SGMII_SPEED, 0x40, 6, 0, 0, {1, 1, 1, 1, 1, 1, 1}, 0},\
+{"sgmiispeed", MV_SATR_SGMII_SPEED, 0x40, 6, 0, 0, {1, 1, 1, 1, 1, 1, 0}, 0},\
{"bootsrc", MV_SATR_BOOT_DEVICE, 0x3, 0, 3, 0, {0, 1, 0, 0, 0, 1, 0}, SATR_SWAP_BIT},\
{"boarsrc2", MV_SATR_BOOT2_DEVICE, 0x1E, 1, 2, 0, {0, 1, 0, 0, 0, 1, 0}, SATR_SWAP_BIT},\
{"boardid", MV_SATR_BOARD_ID, 0x7, 0, 0, 0, {1, 1, 1, 1, 1, 1, 1}, 0},\
diff --git a/tools/marvell/bin_hdr/src_phy/a38x/mvHighSpeedTopologySpec-38x.c b/tools/marvell/bin_hdr/src_phy/a38x/mvHighSpeedTopologySpec-38x.c
index 8d2fae8..fbf036b 100755
--- a/tools/marvell/bin_hdr/src_phy/a38x/mvHighSpeedTopologySpec-38x.c
+++ b/tools/marvell/bin_hdr/src_phy/a38x/mvHighSpeedTopologySpec-38x.c
@@ -1076,8 +1076,6 @@
serdesMapArray[laneNum].swapTx = topologyConfigPtr[laneNum].swapTx;
}
- updateTopologySgmiiSpeed(serdesMapArray);
-
return MV_OK;
}