]> git.dujemihanovic.xyz Git - u-boot.git/commit
mx35pdk: Fix error handling in board_late_init()
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 20 Sep 2013 19:30:50 +0000 (16:30 -0300)
committerStefano Babic <sbabic@denx.de>
Fri, 27 Sep 2013 11:53:35 +0000 (13:53 +0200)
commita05f4ab6cc84a92c02ff1dbe2eb8a70161de4cbb
tree678af4b6efd8cc3e9f432e4c7bc78522f47d2777
parent17cc2362afe504eda574948d3d653a19a29ceb76
mx35pdk: Fix error handling in board_late_init()

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

While at it, also check the error from cpu_eth_init().

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Stefano Babic <sbabic@denx.de>
board/freescale/mx35pdk/mx35pdk.c