[U-Boot] [PATCH] mpc5xxx_fec/motionpro: disable PHY initialization on motionpro board

Ilya Yanok yanok at emcraft.com
Thu Aug 12 01:29:50 CEST 2010


Hello All,

On 12.08.2010 02:34, Ilya Yanok wrote:
> Historically PHY intialization was disabled on motionpro board. Then
> at some point PHY init was enabled and only comment message was left.
>    

After looking once more at the history I've found that this problem was 
actually fixed by

commit c00125e07c1ebc125bab40e1e18bceed8be0c162
Author: Bartlomiej Sieka <tur at semihalf.com>
Date:   Sun May 27 16:58:45 2007 +0200

     MPC5XXX, Motion-PRO: Fix PHY initialization problem.

which uses RESET_PHY_R feature to fix PHY initialization late in the 
boot process.
But with drivers that initialize PHYs not during boot process but on the 
first access (I believe mpc5xxx_fec is not the only example) this 
RESET_PHY_R feature is completely broken. What would be the correct way 
to fix this? Should we add reset_phy() call in every driver that uses 
'lazy' PHY initialization?

Regards, Ilya.




More information about the U-Boot mailing list