Home
last modified time | relevance | path

Searched hist:cbb8f9676c17e7c1c0aa71552cf0e5700055c146 (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/board/bachmann/ot1200/
H A Dot1200.ccbb8f9676c17e7c1c0aa71552cf0e5700055c146 Fri Sep 11 03:53:52 UTC 2015 Fabio Estevam <fabio.estevam@freescale.com> ot1200: Fix the error handling in board_eth_init()

We should not return 0 on failure, so return a negative error code
instead.

Also centralize the error path so that is easier to follow.

Cc: Christian Gmeiner <christian.gmeiner@gmail.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>