From 1cb997fab225c07da67d3b9d5b756de1fa25ac03 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lothar=20Wa=C3=9Fmann?= Date: Thu, 11 Feb 2016 13:02:04 +0100 Subject: [PATCH] karo: tx28: don't return non-zero return value in board_init() upon CTRL-C detection --- board/karo/tx28/tx28.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/board/karo/tx28/tx28.c b/board/karo/tx28/tx28.c index f9cb02df21..ed9846a2df 100644 --- a/board/karo/tx28/tx28.c +++ b/board/karo/tx28/tx28.c @@ -167,10 +167,8 @@ rtc_err: int board_init(void) { - if (ctrlc()) { + if (ctrlc()) printf("CTRL-C detected; safeboot enabled\n"); - return 1; - } /* Address of boot parameters */ #ifdef CONFIG_OF_LIBFDT -- 2.39.2