[PATCH 12/16] fec_imx: restart aneg at open and not at init
eric at eukrea.com
Thu May 17 15:32:57 EDT 2012
Le Thu, 17 May 2012 19:36:19 +0200,
Sascha Hauer <s.hauer at pengutronix.de> a écrit :
> On Thu, May 17, 2012 at 05:46:14PM +0200, Eric Bénard wrote:
> > else we can get a 1 second timeout at each boot since
> > "6cbecc4 net: miidev: properly check for MII reset"
> I had this issue aswell on the babbage board. It turned out that this
> was really an issue in the initialization order. On the babbage the fec
> was registered before power was applied to the phy. Looking at the
> eukrea mx51 code it seems that you reset the phy after you have
> registered the fec. I suggest that you change the order instead of
> applying this patch.
in fact I met the problem on cpuimx25 & cpuimx35 (because a wrong PHY
address was set in the board configuration) so I don't have the problem
But I think launching the autonegotiation during the boot is not
necessary and can be a source of time loss.
More information about the barebox