From: Michal Simek Date: Tue, 16 Oct 2012 15:37:11 +0000 (+0200) Subject: net: gem: Extend timeout value X-Git-Tag: v2015.10-rc1~28^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c8b7bf49f60c8d1c3b31271d242e4e937c52d7c;p=pandora-u-boot.git net: gem: Extend timeout value Extend time for MDIO. (Because of zed board) Signed-off-by: Michal Simek --- diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c index 438e4a82e90..b2006dfa077 100644 --- a/drivers/net/zynq_gem.c +++ b/drivers/net/zynq_gem.c @@ -163,7 +163,7 @@ struct zynq_gem_priv { static inline int mdio_wait(struct eth_device *dev) { struct zynq_gem_regs *regs = (struct zynq_gem_regs *)dev->iobase; - u32 timeout = 200; + u32 timeout = 20000; /* Wait till MDIO interface is ready to accept a new transaction. */ while (--timeout) {