]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
drivers: net: fsl_enetc: use XFI, USXGMII interface type macros
authorAlex Marginean <alexandru.marginean@nxp.com>
Thu, 14 Nov 2019 16:28:38 +0000 (18:28 +0200)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 9 Dec 2019 15:47:43 +0000 (09:47 -0600)
Apply 10G PCS init for USXGMII, XFI interface types.

Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/fsl_enetc.c

index 0ca7e838a817749adf2bee9b48910cc23d7db9a5..a7740deb6face082621fa8d9d42c01a80acf785e 100644 (file)
@@ -197,6 +197,8 @@ static void enetc_start_pcs(struct udevice *dev)
                enetc_init_rgmii(dev);
                break;
        case PHY_INTERFACE_MODE_XGMII:
+       case PHY_INTERFACE_MODE_USXGMII:
+       case PHY_INTERFACE_MODE_XFI:
                enetc_init_sxgmii(dev);
                break;
        };