]> git.dujemihanovic.xyz Git - u-boot.git/commit
mx6qsabreauto: Return error if cpu_eth_init() fails
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 13 Sep 2013 01:03:23 +0000 (22:03 -0300)
committerStefano Babic <sbabic@denx.de>
Fri, 20 Sep 2013 15:55:36 +0000 (17:55 +0200)
commite12408cc95896b5b3da0d63947770a6f7f5f03fc
tree64d93e129c68192378028db84b745e8078606edb
parentcb427fe1c4366fc6d2a21fbf9f8df52adaf19e80
mx6qsabreauto: Return error if cpu_eth_init() fails

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/mx6qsabreauto/mx6qsabreauto.c