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

Signed-off-by: Valentin Longchamp <[email protected]>
Signed-off-by: Holger Brunck <[email protected]>
CC: Priyanka Jain <[email protected]>
---
 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

Reply via email to