kmp204x: do not make FPGA config error fail board_early_init_r
authorHolger Brunck <holger.brunck@ch.abb.com>
Fri, 10 Jan 2020 11:47:41 +0000 (12:47 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 23 Jan 2020 12:29:58 +0000 (07:29 -0500)
This prevents the board from booting which is not the expected behavior.

Signed-off-by: Valentin Longchamp <valentin.longchamp@ch.abb.com>
Signed-off-by: Holger Brunck <holger.brunck@ch.abb.com>
CC: Priyanka Jain <priyanka.jain@nxp.com>
board/keymile/kmp204x/kmp204x.c

index cfb23a53f7458275f5cc829bc90a0c3d809d8063..c93fa3c62e067204897977445c4e85c0ffa71cc3 100644 (file)
@@ -138,7 +138,7 @@ int board_early_init_r(void)
        /* enable Application Buffer */
        qrio_enable_app_buffer();
 
-       return ret;
+       return 0;
 }
 
 unsigned long get_board_sys_clk(unsigned long dummy)