]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/karo/tx28/tx28.c
karo: tx28: don't return non-zero return value in board_init() upon CTRL-C detection
[karo-tx-uboot.git] / board / karo / tx28 / tx28.c
index f9cb02df21fb87b98fb53daf73ab4380b10c46a4..ed9846a2df4c4ee3887348570271705d2bc10c95 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