aboutsummaryrefslogtreecommitdiff
path: root/board/CZ.NIC/turris_mox/turris_mox.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-04-29 08:21:55 -0400
committerTom Rini <trini@konsulko.com>2021-04-29 08:21:55 -0400
commita26522e77477531fc1025b27cebb45de9fc5a3db (patch)
treefc87c8b76aba917ecd3ce0b31786cbd56c519352 /board/CZ.NIC/turris_mox/turris_mox.c
parentc306b24948acb23798e2fd80f56ae09363a6f9f7 (diff)
parenteccbd4ad8e4e182638eafbfb87ac139c04f24a01 (diff)
Merge https://source.denx.de/u-boot/custodians/u-boot-marvell
- Add base support for Marvell OcteonTX2 CN9130 CRB (mostly done by Kostya) - Sync Armada 3k/7k/8k SERDES code with Marvell version (misc Marvell authors) - pci-aardvark: Fix processing PIO transfers (Pali)
Diffstat (limited to 'board/CZ.NIC/turris_mox/turris_mox.c')
-rw-r--r--board/CZ.NIC/turris_mox/turris_mox.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/board/CZ.NIC/turris_mox/turris_mox.c b/board/CZ.NIC/turris_mox/turris_mox.c
index 486680a49e..15cbf92550 100644
--- a/board/CZ.NIC/turris_mox/turris_mox.c
+++ b/board/CZ.NIC/turris_mox/turris_mox.c
@@ -216,13 +216,13 @@ int comphy_update_map(struct comphy_map *serdes_map, int count)
if (sfpindex >= 0 && swindex >= 0) {
if (sfpindex < swindex)
- serdes_map[0].speed = PHY_SPEED_1_25G;
+ serdes_map[0].speed = COMPHY_SPEED_1_25G;
else
- serdes_map[0].speed = PHY_SPEED_3_125G;
+ serdes_map[0].speed = COMPHY_SPEED_3_125G;
} else if (sfpindex >= 0) {
- serdes_map[0].speed = PHY_SPEED_1_25G;
+ serdes_map[0].speed = COMPHY_SPEED_1_25G;
} else if (swindex >= 0) {
- serdes_map[0].speed = PHY_SPEED_3_125G;
+ serdes_map[0].speed = COMPHY_SPEED_3_125G;
}
return 0;