diff options
author | Michal Simek <michal.simek@xilinx.com> | 2012-10-16 15:37:11 (GMT) |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2015-07-28 09:56:28 (GMT) |
commit | 4c8b7bf49f60c8d1c3b31271d242e4e937c52d7c (patch) | |
tree | e1d8b07dde1a2870e70e5919695b3f0a125f7df1 | |
parent | a0736efbe22fc9cc82efc6deb206fee87dac01c7 (diff) | |
download | u-boot-4c8b7bf49f60c8d1c3b31271d242e4e937c52d7c.tar.xz |
net: gem: Extend timeout value
Extend time for MDIO. (Because of zed board)
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
-rw-r--r-- | drivers/net/zynq_gem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c index 438e4a8..b2006df 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) { |