]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers: net: fsl_enetc_mdio: return with time-out if HW is stuck
authorAlex Marginean <alexandru.marginean@nxp.com>
Thu, 14 Nov 2019 16:58:47 +0000 (18:58 +0200)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 9 Dec 2019 15:47:43 +0000 (09:47 -0600)
commit6c9644685940e1d98c2d38fb205e8da14f3690b5
treefd22f4430aaa465a60c47acba79cec074911a297
parenta931f78307300070e3a6cb95958f7dcc5fce3bb6
drivers: net: fsl_enetc_mdio: return with time-out if HW is stuck

On some boards MDIO may get stuck if it detects echo on the line.  This is
a know hardware issue, there is a board fix for it.  In case we're running
on a board that doesn't have the fix, we don't want to loop here forever
and freeze U-Boot.

Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/fsl_enetc_mdio.c