]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/wandboard/wandboard.c
wandboard: Return the error when cpu_eth_init() fails
[karo-tx-uboot.git] / board / wandboard / wandboard.c
index 99150f9b895e99331df91b0ddc9f193c00e0896c..bf9898c3fe07d312204e46413315d30bcf07dc64 100644 (file)
@@ -265,7 +265,7 @@ int board_eth_init(bd_t *bis)
        if (ret)
                printf("FEC MXC: %s:failed\n", __func__);
 
-       return 0;
+       return ret;
 }
 
 int board_early_init_f(void)