From: Vladimir Oltean Date: Sat, 18 Sep 2021 12:32:37 +0000 (+0300) Subject: net: dsa: felix: remove "xgmii" phy-mode X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=9bf2b962ff3585d570f3a46457f3d598c3ef301f;p=u-boot.git net: dsa: felix: remove "xgmii" phy-mode The felix driver runs only on NXP LS1028A, which most definitely does not support the parallel 10G interface, just USXGMII, and that only up to 2.5Gbps (toned down from 10 Gbps via symbol replication). Signed-off-by: Vladimir Oltean Reviewed-by: Ramon Fried --- diff --git a/drivers/net/mscc_eswitch/felix_switch.c b/drivers/net/mscc_eswitch/felix_switch.c index 6a689ee3c5..0cab671908 100644 --- a/drivers/net/mscc_eswitch/felix_switch.c +++ b/drivers/net/mscc_eswitch/felix_switch.c @@ -222,7 +222,6 @@ static void felix_start_pcs(struct udevice *dev, int port, case PHY_INTERFACE_MODE_QSGMII: felix_init_sgmii(imdio, port, autoneg); break; - case PHY_INTERFACE_MODE_XGMII: case PHY_INTERFACE_MODE_10GBASER: case PHY_INTERFACE_MODE_USXGMII: if (felix_init_sxgmii(imdio, port))