summaryrefslogtreecommitdiff
path: root/board/freescale/titanium/titanium.c
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2013-11-03 22:12:56 -0200
committerStefano Babic <sbabic@denx.de>2013-11-13 10:09:10 +0100
commit90fb985863670afd70b7a534df12fd451476a964 (patch)
tree52f2755420a33914d2eab05f0a124ce4df953c59 /board/freescale/titanium/titanium.c
parentc243a832c85d832151f647b1f83e6d6120527f34 (diff)
downloadu-boot-imx-90fb985863670afd70b7a534df12fd451476a964.zip
u-boot-imx-90fb985863670afd70b7a534df12fd451476a964.tar.gz
u-boot-imx-90fb985863670afd70b7a534df12fd451476a964.tar.bz2
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/freescale/titanium/titanium.c')
-rw-r--r--board/freescale/titanium/titanium.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/titanium/titanium.c b/board/freescale/titanium/titanium.c
index 6025eb7..9a317bc 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)