summaryrefslogtreecommitdiff
path: root/board/boundary
diff options
context:
space:
mode:
authorTroy Kisky <troy.kisky@boundarydevices.com>2014-10-02 12:16:29 -0700
committerStefano Babic <sbabic@denx.de>2014-10-06 17:57:21 +0200
commitadc4a2bd03ad6ab4cc7f73609d60ab740c8126e6 (patch)
treefef6bf52b0dc1bbe5eea96a63d87ad656a334942 /board/boundary
parent9fc425278b333f481d1bbf1efd98813dcd4d57d4 (diff)
downloadu-boot-imx-adc4a2bd03ad6ab4cc7f73609d60ab740c8126e6.zip
u-boot-imx-adc4a2bd03ad6ab4cc7f73609d60ab740c8126e6.tar.gz
u-boot-imx-adc4a2bd03ad6ab4cc7f73609d60ab740c8126e6.tar.bz2
nitrogen6x: phy: add 100 us delay after phy reset
Testing shows that the Micrel PHY may not be completely out of reset if accessed immediately. Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com> Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Diffstat (limited to 'board/boundary')
-rw-r--r--board/boundary/nitrogen6x/nitrogen6x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/boundary/nitrogen6x/nitrogen6x.c b/board/boundary/nitrogen6x/nitrogen6x.c
index e795492..a89a15c 100644
--- a/board/boundary/nitrogen6x/nitrogen6x.c
+++ b/board/boundary/nitrogen6x/nitrogen6x.c
@@ -246,6 +246,7 @@ static void setup_iomux_enet(void)
gpio_set_value(IMX_GPIO_NR(1, 27), 1); /* Nitrogen6X PHY reset */
imx_iomux_v3_setup_multiple_pads(enet_pads2, ARRAY_SIZE(enet_pads2));
+ udelay(100); /* Wait 100 us before using mii interface */
}
static iomux_v3_cfg_t const usb_pads[] = {