projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4ed314
)
mx6sabresd: Return error if cpu_eth_init() fails
author
Fabio Estevam
<fabio.estevam@freescale.com>
Fri, 13 Sep 2013 01:03:22 +0000
(22:03 -0300)
committer
Stefano Babic
<sbabic@denx.de>
Fri, 20 Sep 2013 15:55:36 +0000
(17:55 +0200)
Currently board_eth_init() always return 0, but we should propagate the error
when cpu_eth_init() fails.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
board/freescale/mx6sabresd/mx6sabresd.c
patch
|
blob
|
history
diff --git
a/board/freescale/mx6sabresd/mx6sabresd.c
b/board/freescale/mx6sabresd/mx6sabresd.c
index 61fe67c71cd9391279599d169e1c4fabafeea8d1..9dbe605cf4a5a8ba16c674f14b894ccb59bece9f 100644
(file)
--- a/
board/freescale/mx6sabresd/mx6sabresd.c
+++ b/
board/freescale/mx6sabresd/mx6sabresd.c
@@
-422,7
+422,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)