mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-19 21:51:31 +00:00
net: gem: Extend timeout value
Extend time for MDIO. (Because of zed board) Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
a0736efbe2
commit
4c8b7bf49f
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ struct zynq_gem_priv {
|
||||||
static inline int mdio_wait(struct eth_device *dev)
|
static inline int mdio_wait(struct eth_device *dev)
|
||||||
{
|
{
|
||||||
struct zynq_gem_regs *regs = (struct zynq_gem_regs *)dev->iobase;
|
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. */
|
/* Wait till MDIO interface is ready to accept a new transaction. */
|
||||||
while (--timeout) {
|
while (--timeout) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue