Skip to content
Snippets Groups Projects
Commit e12408cc authored by Fabio Estevam's avatar Fabio Estevam Committed by Stefano Babic
Browse files

mx6qsabreauto: Return error if cpu_eth_init() fails


Currently board_eth_init() always return 0, but we should propagate the error
when cpu_eth_init() fails.

Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
parent cb427fe1
Branches
Tags
No related merge requests found
......@@ -200,7 +200,7 @@ int board_eth_init(bd_t *bis)
if (ret)
printf("FEC MXC: %s:failed\n", __func__);
return 0;
return ret;
}
#define BOARD_REV_B 0x200
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment