summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2020-12-28 20:15:10 +0800
committerPriyanka Jain <priyanka.jain@nxp.com>2021-02-08 14:01:15 +0530
commit440b28a8c6045865d7cc6c77ddf21058182e79a6 (patch)
tree9dd627b1939000d1bf3c4dcef64d34b7d1bfc94d /drivers/net
parent905c8e649e58a28a08086375ac3b16cbf32c793b (diff)
downloadu-boot-440b28a8c6045865d7cc6c77ddf21058182e79a6.tar.gz
net: eqos: Reduce the MDIO wait time
Current MDIO wait time is too long, which introduce long delay when PHY negotiation register checking. Reduce it to 10us Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Fugang Duan <Fugang.duan@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/dwc_eth_qos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dwc_eth_qos.c b/drivers/net/dwc_eth_qos.c
index 944412958d..e8242ca4e1 100644
--- a/drivers/net/dwc_eth_qos.c
+++ b/drivers/net/dwc_eth_qos.c
@@ -2127,7 +2127,7 @@ static struct eqos_ops eqos_imx_ops = {
struct eqos_config __maybe_unused eqos_imx_config = {
.reg_access_always_ok = false,
- .mdio_wait = 10000,
+ .mdio_wait = 10,
.swr_wait = 50,
.config_mac = EQOS_MAC_RXQ_CTRL0_RXQ0EN_ENABLED_DCB,
.config_mac_mdio = EQOS_MAC_MDIO_ADDRESS_CR_250_300,