titanium: 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>
Acked-by: Stefan Roese <sr@denx.de>
This commit is contained in:
Fabio Estevam 2013-11-03 22:12:56 -02:00 committed by Stefano Babic
parent c243a832c8
commit 90fb985863

View File

@ -272,7 +272,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)