From: Vladimir Oltean Date: Sat, 18 Sep 2021 12:32:36 +0000 (+0300) Subject: net: enetc: remove support for "xgmii" phy-mode X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=f8ca46e561d40414775d5ff52d39bd7f5515d6bf;p=u-boot.git net: enetc: remove support for "xgmii" phy-mode The enetc 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/fsl_enetc.c b/drivers/net/fsl_enetc.c index 045527dcf7..f56f9e7a12 100644 --- a/drivers/net/fsl_enetc.c +++ b/drivers/net/fsl_enetc.c @@ -226,7 +226,6 @@ static void enetc_setup_mac_iface(struct udevice *dev, case PHY_INTERFACE_MODE_RGMII_TXID: enetc_init_rgmii(dev, phydev); break; - case PHY_INTERFACE_MODE_XGMII: case PHY_INTERFACE_MODE_USXGMII: case PHY_INTERFACE_MODE_10GBASER: /* set ifmode to (US)XGMII */ @@ -294,7 +293,6 @@ static void enetc_start_pcs(struct udevice *dev) case PHY_INTERFACE_MODE_2500BASEX: enetc_init_sgmii(dev); break; - case PHY_INTERFACE_MODE_XGMII: case PHY_INTERFACE_MODE_USXGMII: case PHY_INTERFACE_MODE_10GBASER: enetc_init_sxgmii(dev);