]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
net: enetc: remove support for "xgmii" phy-mode
authorVladimir Oltean <vladimir.oltean@nxp.com>
Sat, 18 Sep 2021 12:32:36 +0000 (15:32 +0300)
committerRamon Fried <rfried.dev@gmail.com>
Tue, 28 Sep 2021 15:50:56 +0000 (18:50 +0300)
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 <vladimir.oltean@nxp.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
drivers/net/fsl_enetc.c

index 045527dcf7d99268eafe3ade591e01806a90bd30..f56f9e7a129b240dad6c8b2b30e1e8c9d998d6c6 100644 (file)
@@ -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);