summaryrefslogtreecommitdiff
path: root/board/freescale
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2016-02-01 11:15:10 -0200
committerStefano Babic <sbabic@denx.de>2016-02-02 21:18:44 +0100
commit529a6712795a50d68967cbd071edfe232a245d5d (patch)
treefc4054db236a6c3cbdfbee62de724db0405c0fe5 /board/freescale
parentcf94a3427abf2fdf3355f251aacce82305136fac (diff)
downloadu-boot-imx-529a6712795a50d68967cbd071edfe232a245d5d.zip
u-boot-imx-529a6712795a50d68967cbd071edfe232a245d5d.tar.gz
u-boot-imx-529a6712795a50d68967cbd071edfe232a245d5d.tar.bz2
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>
Diffstat (limited to 'board/freescale')
-rw-r--r--board/freescale/mx6slevk/mx6slevk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/mx6slevk/mx6slevk.c b/board/freescale/mx6slevk/mx6slevk.c
index 5eab4b5..721ec21 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);
}