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>
This commit is contained in:
parent
a65b7fb2a5
commit
e1260aef37
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user