Skip to content

net: fec_mxc: do not run fecmxc_set_ref_clk for imx93

The FEC interface (Eth0) does not work in U-Boot out of box due to incorrect initialization of clocks.

This MR cherry-picks commit 4e175f663cddb4dc8abacb5dfc870f5cbccb7179 from NXP U-Boot, which fixes the problem with FEC clocks:

Author: Ye Li <ye.li@nxp.com>
Date:   Wed Apr 10 14:55:12 2024 +0800

    LFU-648-17 net: fec_mxc: Fix clk_ref rate on iMX93
    
    Becuase iMX93 has a internal 1/2 divider before clock input to
    network controller, so have to set twice frequency rate
    
    Signed-off-by: Ye Li <ye.li@nxp.com>
Edited by Mikhail Vaniulin

Merge request reports