]> git.sur5r.net Git - u-boot/commitdiff
armv8/ls1046a: RGMII PHY requires internal delay on Tx
authorMadalin Bucur <madalin.bucur@nxp.com>
Mon, 3 Apr 2017 14:43:56 +0000 (17:43 +0300)
committerJoe Hershberger <joe.hershberger@ni.com>
Fri, 2 Jun 2017 19:44:18 +0000 (14:44 -0500)
Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/fm/ls1046.c

index bf555548b7b4a9944251edb8ab8e0bc05a306f13..6c91fb97f4a56c95e167da28d969d75ff907fa6a 100644 (file)
@@ -72,12 +72,12 @@ phy_interface_t fman_port_enet_if(enum fm_port port)
        if (port == FM1_DTSEC3)
                if ((rcwsr13 & FSL_CHASSIS2_RCWSR13_EC1) ==
                                FSL_CHASSIS2_RCWSR13_EC1_DTSEC3_RGMII)
-                       return PHY_INTERFACE_MODE_RGMII;
+                       return PHY_INTERFACE_MODE_RGMII_TXID;
 
        if (port == FM1_DTSEC4)
                if ((rcwsr13 & FSL_CHASSIS2_RCWSR13_EC2) ==
                                FSL_CHASSIS2_RCWSR13_EC2_DTSEC4_RGMII)
-                       return PHY_INTERFACE_MODE_RGMII;
+                       return PHY_INTERFACE_MODE_RGMII_TXID;
 
        /* handle SGMII, only MAC 2/5/6/9/10 available */
        switch (port) {