projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cffe815
)
wandboard: Return the error when cpu_eth_init() fails
author
Fabio Estevam
<fabio.estevam@freescale.com>
Mon, 4 Nov 2013 00:03:04 +0000
(22:03 -0200)
committer
Stefano Babic
<sbabic@denx.de>
Wed, 13 Nov 2013 09:09:09 +0000
(10:09 +0100)
When cpu_eth_init() fails we should not return success.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
board/wandboard/wandboard.c
patch
|
blob
|
history
diff --git
a/board/wandboard/wandboard.c
b/board/wandboard/wandboard.c
index 99150f9b895e99331df91b0ddc9f193c00e0896c..bf9898c3fe07d312204e46413315d30bcf07dc64 100644
(file)
--- a/
board/wandboard/wandboard.c
+++ b/
board/wandboard/wandboard.c
@@
-265,7
+265,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)