mx28evk: Propagate the error if cpu_eth_init() fails
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 20 Sep 2013 19:30:49 +0000 (16:30 -0300)
committerStefano Babic <sbabic@denx.de>
Fri, 27 Sep 2013 11:53:35 +0000 (13:53 +0200)
commit17cc2362afe504eda574948d3d653a19a29ceb76
treeee8de93a4b18c163485d9ecc2e5d5b233bcd94e4
parent2cba60ac84deda66fc139e7db00b05cc26f309ea
mx28evk: Propagate the error if cpu_eth_init() fails

If cpu_eth_init() fails we should return the error immediately.

Cc: Marek Vasut <marex@denx.de>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Marek Vasut <marex@denx.de>
board/denx/m28evk/m28evk.c