Files
u-boot/drivers
Ioana Ciornei 64a0fb4cc3 net: memac_phy: add a timeout to MDIO operations
We have encountered circumstances when a board design does not include
pull-up resistors on the external MDIO buses which are not used. This
leads to the MDIO data line not being pulled-up, thus the MDIO controller
will always see the line as busy.

Without a timeout in the MDIO bus driver, the execution is stuck in an
infinite loop when any access is initiated on that external bus.

Add a timeout in the driver so that we are protected in this
circumstance. This is similar to what is being done in the Linux
xgmac_mdio driver.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Reviewed-by: Madalin Bucur <madalin.bucur@oss.nxp.com>
[Rebased]
Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
2021-02-08 14:01:14 +05:30
..
2021-01-31 23:55:56 +00:00
2021-01-30 14:25:41 -07:00
2021-01-31 14:08:56 +01:00
2021-01-30 14:25:41 -07:00
2021-01-30 14:25:41 -07:00
2021-01-05 16:20:26 -05:00
2021-01-25 21:52:01 +00:00
2021-01-18 15:23:06 -05:00
2021-02-03 03:38:41 -07:00
2020-12-18 20:32:21 -07:00
2021-01-23 11:30:31 +01:00
2020-11-06 10:18:20 +08:00