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

index 6a689ee3c5a15dd279e5419a6f7d96935432fea9..0cab671908d8ec8b6a6cad7d81c66b4c30860184 100644 (file)
@@ -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))