mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-16 23:07:00 +00:00
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:
parent
c243a832c8
commit
90fb985863
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue