aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Marginean2019-11-14 18:28:38 +0200
committerJoe Hershberger2019-12-09 09:47:43 -0600
commite22e3aff923937add30f7f800197c9f5713ea611 (patch)
tree7345b01b30b1e7f51d4c70573146af18850a4ad1
parentee278acdf1d5ed7ac670e2ccf5184417da6ca264 (diff)
drivers: net: fsl_enetc: use XFI, USXGMII interface type macros
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>
-rw-r--r--drivers/net/fsl_enetc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/fsl_enetc.c b/drivers/net/fsl_enetc.c
index 0ca7e838a81..a7740deb6fa 100644
--- a/drivers/net/fsl_enetc.c
+++ b/drivers/net/fsl_enetc.c
@@ -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;
};