diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2016-02-01 16:15:10 +0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2016-02-02 23:18:44 +0300 |
commit | 529a6712795a50d68967cbd071edfe232a245d5d (patch) | |
tree | fc4054db236a6c3cbdfbee62de724db0405c0fe5 | |
parent | cf94a3427abf2fdf3355f251aacce82305136fac (diff) | |
download | u-boot-529a6712795a50d68967cbd071edfe232a245d5d.tar.xz |
mx6slevk: Fix the reset delay for the the LAN8720 PHY
Since commit 59370f3fcd1350 ("net: phy: delay only if reset handler is
registered") Ethernet is no longer functional.
This commit does not have an issue in itself, but it revelead a problem
with the Ethernet initialization.
According to the LAN8720 datasheet tpurstd (time that reset line should
stay asserted) is 25ms.
So do as suggested in order to have Ethernet working again.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
-rw-r--r-- | board/freescale/mx6slevk/mx6slevk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/mx6slevk/mx6slevk.c b/board/freescale/mx6slevk/mx6slevk.c index 5eab4b54a8..721ec21723 100644 --- a/board/freescale/mx6slevk/mx6slevk.c +++ b/board/freescale/mx6slevk/mx6slevk.c @@ -156,7 +156,7 @@ static void setup_iomux_fec(void) /* Reset LAN8720 PHY */ gpio_direction_output(ETH_PHY_RESET , 0); - udelay(1000); + udelay(25000); gpio_set_value(ETH_PHY_RESET, 1); } |