On Mon, Jan 4, 2016 at 9:11 PM, Troy Kisky
<troy.ki...@boundarydevices.com> wrote:

> Try adding a delay after releasing reset
>
>         mdelay(2);
>         gpio_set_value(ETH_PHY_RESET, 1);
>         udelay(100);
>
> Perhaps the first time it didn't read 4dd072

That works :-)

Here is a minimal fix:

--- a/board/solidrun/mx6cuboxi/mx6cuboxi.c
+++ b/board/solidrun/mx6cuboxi/mx6cuboxi.c
@@ -143,8 +143,9 @@ static void setup_iomux_enet(void)
     SETUP_IOMUX_PADS(enet_pads);

     gpio_direction_output(ETH_PHY_RESET, 0);
-    mdelay(2);
+    mdelay(10);
     gpio_set_value(ETH_PHY_RESET, 1);
+    udelay(100);
 }

Will send a formal patch shortly.

Thanks for your help, Troy!
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to