[U-Boot] [PATCH v2 11/11] drivers: net: fsl_enetc: use XFI, USXGMII interface type macros

Alex Marginean alexandru.marginean at nxp.com
Mon Aug 12 13:26:45 UTC 2019


Apply 10G PCS init for USXGMII, XFI interface types.

Signed-off-by: Alex Marginean <alexm.osslist at gmail.com>
---
 drivers/net/fsl_enetc.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/fsl_enetc.c b/drivers/net/fsl_enetc.c
index 928d071815..ec0ac8b606 100644
--- a/drivers/net/fsl_enetc.c
+++ b/drivers/net/fsl_enetc.c
@@ -194,6 +194,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;
 	};
-- 
2.17.1



More information about the U-Boot mailing list