diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-11-03 22:12:56 -0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2013-11-13 10:09:10 +0100 |
commit | 90fb985863670afd70b7a534df12fd451476a964 (patch) | |
tree | 52f2755420a33914d2eab05f0a124ce4df953c59 /board | |
parent | c243a832c85d832151f647b1f83e6d6120527f34 (diff) |
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>
Diffstat (limited to 'board')
-rw-r--r-- | board/freescale/titanium/titanium.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/titanium/titanium.c b/board/freescale/titanium/titanium.c index 6025eb7315..9a317bc137 100644 --- a/board/freescale/titanium/titanium.c +++ b/board/freescale/titanium/titanium.c @@ -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) |