]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
armv8: ls1043/ls1046aqds: add support for all RGMII modes
authorMadalin Bucur <madalin.bucur@oss.nxp.com>
Wed, 4 Nov 2020 13:09:16 +0000 (15:09 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Thu, 10 Dec 2020 08:26:39 +0000 (13:56 +0530)
Make sure all RGMII internal delay modes are covered.

Signed-off-by: Madalin Bucur <madalin.bucur@oss.nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
board/freescale/ls1043aqds/eth.c
board/freescale/ls1046aqds/eth.c

index 95412df1d7bdc93373326b8187e37afdd9459107..c3efe8a0be649cd2f1b84ce51da1cf6898508d72 100644 (file)
@@ -479,6 +479,8 @@ int board_eth_init(struct bd_info *bis)
                        break;
                case PHY_INTERFACE_MODE_RGMII:
                case PHY_INTERFACE_MODE_RGMII_TXID:
+               case PHY_INTERFACE_MODE_RGMII_RXID:
+               case PHY_INTERFACE_MODE_RGMII_ID:
                        if (i == FM1_DTSEC3)
                                mdio_mux[i] = EMI1_RGMII1;
                        else if (i == FM1_DTSEC4)
index 8f5f95e3968daa815439d9980775bcaa5c895a41..33db552adb8a32e5dd6cb8a5610aa3d03cf43118 100644 (file)
@@ -409,6 +409,8 @@ int board_eth_init(struct bd_info *bis)
                        break;
                case PHY_INTERFACE_MODE_RGMII:
                case PHY_INTERFACE_MODE_RGMII_TXID:
+               case PHY_INTERFACE_MODE_RGMII_RXID:
+               case PHY_INTERFACE_MODE_RGMII_ID:
                        if (i == FM1_DTSEC3)
                                mdio_mux[i] = EMI1_RGMII1;
                        else if (i == FM1_DTSEC4)