diff options
author | Markus Niebel <Markus.Niebel@tq-group.com> | 2017-02-03 16:25:01 +0100 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2017-03-17 09:27:08 +0100 |
commit | d5fa17e6fa15fccbe4d3345690297f5cecbd7002 (patch) | |
tree | 2876dc6d78c9c492bcb74c2c8412d9c673761fd6 /board/tqc | |
parent | e8548f820e9c806286d33cb1fa561d585fe6ace8 (diff) |
imx6: tqma6: adjust ethernet phy reset delay
fix the reset delay which was to short
Signed-off-by: Markus Niebel <Markus.Niebel@tq-group.com>
Diffstat (limited to 'board/tqc')
-rw-r--r-- | board/tqc/tqma6/tqma6_mba6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/tqc/tqma6/tqma6_mba6.c b/board/tqc/tqma6/tqma6_mba6.c index 02705bef69..6d63953014 100644 --- a/board/tqc/tqma6/tqma6_mba6.c +++ b/board/tqc/tqma6/tqma6_mba6.c @@ -125,7 +125,7 @@ static void mba6_setup_iomuxc_enet(void) /* Reset PHY */ gpio_direction_output(ENET_PHY_RESET_GPIO , 0); /* Need delay 10ms after power on according to KSZ9031 spec */ - udelay(1000 * 10); + mdelay(10); gpio_set_value(ENET_PHY_RESET_GPIO, 1); /* * KSZ9031 manual: 100 usec wait time after reset before communication @@ -133,7 +133,7 @@ static void mba6_setup_iomuxc_enet(void) * BUGBUG: hardware has an RC const that needs > 10 msec from 0->1 on * reset before the phy sees a high level */ - udelay(200); + mdelay(15); } static iomux_v3_cfg_t const mba6_uart2_pads[] = { |