From: Alex Marginean Date: Thu, 14 Nov 2019 16:28:38 +0000 (+0200) Subject: drivers: net: fsl_enetc: use XFI, USXGMII interface type macros X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=e22e3aff923937add30f7f800197c9f5713ea611;p=u-boot.git drivers: net: fsl_enetc: use XFI, USXGMII interface type macros Apply 10G PCS init for USXGMII, XFI interface types. Signed-off-by: Alex Marginean Acked-by: Joe Hershberger --- diff --git a/drivers/net/fsl_enetc.c b/drivers/net/fsl_enetc.c index 0ca7e838a8..a7740deb6f 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; };