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

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

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
board/freescale/mx28evk/mx28evk.c