diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2019-09-19 11:16:41 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-11-03 17:36:06 +0300 |
commit | da6a728ea4169ea602614bbe171921901f47d871 (patch) | |
tree | 9978cd18552b1fea0f49840c3ed172bc9fe7805f /drivers | |
parent | a3c867a217b021e92f5e3afd2bb1415ffd28d0d7 (diff) | |
download | u-boot-da6a728ea4169ea602614bbe171921901f47d871.tar.xz |
net: ti: am65x-cpsw: fix mac tx internal delay for rgmii-rxid mode
Now AM65x CPSW2G driver will disable MAC TX internal delay for PHY
interface mode "rgmii-rxid" which is incorrect. Hence, fix it by keeping
default value (enabled) for MAC TX internal delay when "rgmii-rxid"
interface mode is selected.
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ti/am65-cpsw-nuss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ti/am65-cpsw-nuss.c b/drivers/net/ti/am65-cpsw-nuss.c index e11fbdeed3..06b0663950 100644 --- a/drivers/net/ti/am65-cpsw-nuss.c +++ b/drivers/net/ti/am65-cpsw-nuss.c @@ -234,11 +234,11 @@ static void am65_cpsw_gmii_sel_k3(struct am65_cpsw_priv *priv, break; case PHY_INTERFACE_MODE_RGMII: + case PHY_INTERFACE_MODE_RGMII_RXID: mode = AM65_GMII_SEL_MODE_RGMII; break; case PHY_INTERFACE_MODE_RGMII_ID: - case PHY_INTERFACE_MODE_RGMII_RXID: case PHY_INTERFACE_MODE_RGMII_TXID: mode = AM65_GMII_SEL_MODE_RGMII; rgmii_id = true; |