diff mbox series

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

Message ID 20200110114743.3660-1-holger.brunck@ch.abb.com
State Accepted
Commit ac32e7d109112f848b3f0dc68cff48021e348e86
Headers show
Series [1/3] kmp204x: do not make FPGA config error fail board_early_init_r | expand

Commit Message

Holger Brunck Jan. 10, 2020, 11:47 a.m. UTC
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(-)

Comments

Tom Rini Jan. 23, 2020, 10 p.m. UTC | #1
On Fri, Jan 10, 2020 at 12:47:41PM +0100, Holger Brunck wrote:

> 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>

Applied to u-boot/master, thanks!
diff mbox series

Patch

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)