• Ye Li's avatar
    MLK-16535 net: fec: Fix issue in DM probe function · e1ac367e
    Ye Li authored
    
    
    Met a problem that mii command fails to work after u-boot booting up.
    The root cause is the fec_probe function initializes ethernet PHY first,
    then reset the FEC controller. This causes the mii_speed register reset
    to 0 and lead mdio can't work.
    Change the flow to reset FEC controller prior than setup PHY.
    Signed-off-by: default avatarYe Li <ye.li@nxp.com>
    e1ac367e
fec_mxc.c 34.5 KB