summaryrefslogtreecommitdiff
path: root/board/ge
diff options
context:
space:
mode:
authorYung-Ching LIN <yungching0725@gmail.com>2017-02-21 01:56:55 (GMT)
committerJoe Hershberger <joe.hershberger@ni.com>2017-03-26 14:58:08 (GMT)
commitd42db168e68c6d7b87da673321ac25c657fb4a3a (patch)
treeb5f186a34d23d9adce854007fd02995ca3ba29e9 /board/ge
parent625cf507ff79412bb5fd2ded9a22365480d2c3bf (diff)
downloadu-boot-d42db168e68c6d7b87da673321ac25c657fb4a3a.tar.xz
board: ge: bx50v3: fix AR8033 reset timing issue
Add the delay (10ms) to ensure the clock is stable and to meet the clock-to-reset(1ms) requirement recommended in the AR8033 datasheet Signed-off-by: Ken Lin <yungching0725@gmail.com> Reviewed-by: Stefano Babic <sbabic@denx.de> Acked-by: Ian Ray <ian.ray@ge.com>
Diffstat (limited to 'board/ge')
-rw-r--r--board/ge/bx50v3/bx50v3.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/ge/bx50v3/bx50v3.c b/board/ge/bx50v3/bx50v3.c
index 2fc1144..80b4ba1 100644
--- a/board/ge/bx50v3/bx50v3.c
+++ b/board/ge/bx50v3/bx50v3.c
@@ -103,8 +103,9 @@ static void setup_iomux_enet(void)
/* Reset AR8033 PHY */
gpio_direction_output(IMX_GPIO_NR(1, 28), 0);
- udelay(500);
+ mdelay(10);
gpio_set_value(IMX_GPIO_NR(1, 28), 1);
+ mdelay(1);
}
static iomux_v3_cfg_t const usdhc2_pads[] = {