[U-Boot] [PATCH] net: Use 0.5 sec timeout in miiphy_reset() instead of counting loop

Ladislav Michl Ladislav.Michl at seznam.cz
Tue Feb 2 15:14:44 CET 2010


On Tue, Feb 02, 2010 at 01:43:48PM +0100, Stefan Roese wrote:
> This patch fixes a problem I've notived on a buggy PPC4xx system. This
> system has problems with the PHY MDIO communication and seemed to be
> stuck/crashed in miiphy_reset(). But degugging revealed, that the CPU
> didn't crash, but "only" hung in this counting loop for about 2 minutes.
> 
> This patch now uses a real timeout of 0.5 seconds (as mentioned in the
> comment in miiphy_reset).

Well, so this also seems to fix watchdog reseting issue on few boards I see
there (udelay triggers watchdog). Thanks for fixing that!

	ladis


More information about the U-Boot mailing list