summaryrefslogtreecommitdiffstats
path: root/board/synopsys
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2015-09-11 13:32:50 -0300
committerStefano Babic <sbabic@denx.de>2015-09-13 11:06:08 +0200
commit84c311f28e39d7b5b13069ae29a55bdf6c7c0890 (patch)
tree76e8e50907fccc9e6c6aea7dbfb7ffea79496dca /board/synopsys
parent36f5a7f64d0ec0de9db467495005e97ff956a721 (diff)
downloadtalos-obmc-uboot-84c311f28e39d7b5b13069ae29a55bdf6c7c0890.tar.gz
talos-obmc-uboot-84c311f28e39d7b5b13069ae29a55bdf6c7c0890.zip
udoo: 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. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'board/synopsys')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud