Commit c243a832 authored by Fabio Estevam's avatar Fabio Estevam Committed by Stefano Babic

wandboard: Return the error when cpu_eth_init() fails

When cpu_eth_init() fails we should not return success.
Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
parent cffe815a
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment