karo: tx28: don't return non-zero return value in board_init() upon CTRL-C detection
authorLothar Waßmann <LW@KARO-electronics.de>
Thu, 11 Feb 2016 12:02:04 +0000 (13:02 +0100)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 11 Feb 2016 12:02:04 +0000 (13:02 +0100)
board/karo/tx28/tx28.c

index f9cb02d..ed9846a 100644 (file)
@@ -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