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>
master
Fabio Estevam 11 years ago committed by Stefano Babic
parent cffe815a76
commit c243a832c8
  1. 2
      board/wandboard/wandboard.c

@ -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…
Cancel
Save