commit | 95f32ac9299e3751a0d4193e80b1cf297c0e0498 | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@freescale.com> | Sun Nov 03 22:03:04 2013 -0200 |
committer | Stefano Babic <sbabic@denx.de> | Wed Nov 13 10:09:09 2013 +0100 |
tree | a66ce2aaa265326e93d60a7d1b365a1730885148 | |
parent | 7be45ce1e2cc73d832af40bab1ad0408589dfa82 [diff] |
wandboard: 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>
diff --git a/board/wandboard/wandboard.c b/board/wandboard/wandboard.c index 99150f9..bf9898c 100644 --- a/board/wandboard/wandboard.c +++ b/board/wandboard/wandboard.c
@@ -265,7 +265,7 @@ if (ret) printf("FEC MXC: %s:failed\n", __func__); - return 0; + return ret; } int board_early_init_f(void)