From: Lothar Waßmann Date: Thu, 11 Feb 2016 12:02:04 +0000 (+0100) Subject: karo: tx28: don't return non-zero return value in board_init() upon CTRL-C detection X-Git-Tag: KARO-TX6-2016-03-10~1^2~3 X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=commitdiff_plain;h=1cb997fab225c07da67d3b9d5b756de1fa25ac03 karo: tx28: don't return non-zero return value in board_init() upon CTRL-C detection --- 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