[PATCH 1/3] kmp204x: do not make FPGA config error fail board_early_init_r

Holger Brunck holger.brunck at ch.abb.com
Fri Jan 10 12:47:41 CET 2020


This prevents the board from booting which is not the expected behavior.

Signed-off-by: Valentin Longchamp <valentin.longchamp at ch.abb.com>
Signed-off-by: Holger Brunck <holger.brunck at ch.abb.com>
CC: Priyanka Jain <priyanka.jain at nxp.com>
---
 board/keymile/kmp204x/kmp204x.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/keymile/kmp204x/kmp204x.c b/board/keymile/kmp204x/kmp204x.c
index 88914c80e8..c974a9a5a5 100644
--- a/board/keymile/kmp204x/kmp204x.c
+++ b/board/keymile/kmp204x/kmp204x.c
@@ -137,7 +137,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)
-- 
2.24.0.rc1



More information about the U-Boot mailing list