From: Ye Li Date: Mon, 16 Aug 2021 10:44:29 +0000 (+0800) Subject: imx8mp_evk: Fix incorrect cascade for FEC and EQOS setup X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=e1260aef3758665120eff1228db157bf284f2f2c;p=u-boot.git imx8mp_evk: Fix incorrect cascade for FEC and EQOS setup The setup functions should be independent for two ethernet controllers Signed-off-by: Ye Li --- diff --git a/board/freescale/imx8mp_evk/imx8mp_evk.c b/board/freescale/imx8mp_evk/imx8mp_evk.c index 89cc17cbea..bc4753c6cc 100644 --- a/board/freescale/imx8mp_evk/imx8mp_evk.c +++ b/board/freescale/imx8mp_evk/imx8mp_evk.c @@ -101,9 +101,10 @@ int board_init(void) if (CONFIG_IS_ENABLED(FEC_MXC)) { setup_fec(); + } - if (CONFIG_IS_ENABLED(DWC_ETH_QOS)) - ret = setup_eqos(); + if (CONFIG_IS_ENABLED(DWC_ETH_QOS)) { + ret = setup_eqos(); } return ret;