diff options
author | Ye Li <ye.li@nxp.com> | 2021-08-16 18:44:29 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2021-10-21 13:59:26 +0200 |
commit | e1260aef3758665120eff1228db157bf284f2f2c (patch) | |
tree | f4a4f0b35308757bb179896067c1608ee6f17d33 /board | |
parent | a65b7fb2a5f5eeb465faf591045ef59d2c7a7150 (diff) | |
download | u-boot-e1260aef3758665120eff1228db157bf284f2f2c.zip u-boot-e1260aef3758665120eff1228db157bf284f2f2c.tar.gz u-boot-e1260aef3758665120eff1228db157bf284f2f2c.tar.bz2 |
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 <ye.li@nxp.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/freescale/imx8mp_evk/imx8mp_evk.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/board/freescale/imx8mp_evk/imx8mp_evk.c b/board/freescale/imx8mp_evk/imx8mp_evk.c index 89cc17c..bc4753c 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; |