[U-Boot] [PATCH 2/2] mx6cuboxi: Make Ethernet functional
Fabio Estevam
festevam at gmail.com
Tue Jan 5 00:26:20 CET 2016
On Mon, Jan 4, 2016 at 9:11 PM, Troy Kisky
<troy.kisky at 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!
More information about the U-Boot
mailing list