mx6sabresd: Return error if cpu_eth_init() fails
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 13 Sep 2013 01:03:22 +0000 (22:03 -0300)
committerStefano Babic <sbabic@denx.de>
Fri, 20 Sep 2013 15:55:36 +0000 (17:55 +0200)
commitcb427fe1c4366fc6d2a21fbf9f8df52adaf19e80
tree0ca89e4bacf08a552030c4e06d9a0db2866b961f
parentc4ed3142ea3e01e0ba685bc212e4ca937c396b80
mx6sabresd: 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/mx6sabresd/mx6sabresd.c