wandboard: Return the error when cpu_eth_init() fails
When cpu_eth_init() fails we should not return success. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
This commit is contained in:
parent
cffe815a76
commit
c243a832c8
@ -265,7 +265,7 @@ int board_eth_init(bd_t *bis)
|
||||
if (ret)
|
||||
printf("FEC MXC: %s:failed\n", __func__);
|
||||
|
||||
return 0;
|
||||
return ret;
|
||||
}
|
||||
|
||||
int board_early_init_f(void)
|
||||
|
Loading…
Reference in New Issue
Block a user