]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
net: gem: Extend timeout value
authorMichal Simek <monstr@monstr.eu>
Tue, 16 Oct 2012 15:37:11 +0000 (17:37 +0200)
committerMichal Simek <monstr@monstr.eu>
Wed, 17 Oct 2012 08:35:49 +0000 (10:35 +0200)
Extend time for MDIO. (Because of zed board)

Signed-off-by: Michal Simek <monstr@monstr.eu>
drivers/net/zynq_gem.c

index cd30498289abc86b81c7fe6aea5ad328a35eaa52..a9e8bc001bb5d81c354ff2e47528f57633cb1f77 100644 (file)
@@ -149,7 +149,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) {