wandboard: Return the error when cpu_eth_init() fails
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 4 Nov 2013 00:03:04 +0000 (22:03 -0200)
committerStefano Babic <sbabic@denx.de>
Wed, 13 Nov 2013 09:09:09 +0000 (10:09 +0100)
commitc243a832c85d832151f647b1f83e6d6120527f34
treea66ce2aaa265326e93d60a7d1b365a1730885148
parentcffe815a7656420884e816bb9110ad052889405a
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>
board/wandboard/wandboard.c