Drop support for CONFIG_AUTOBOOT_STOP_CHAR
authorPiotr Dymacz <pepe2k@gmail.com>
Thu, 6 Apr 2017 10:32:50 +0000 (12:32 +0200)
committerPiotr Dymacz <pepe2k@gmail.com>
Thu, 6 Apr 2017 10:32:50 +0000 (12:32 +0200)
u-boot/common/main.c

index 9ca775de5196751d76c087c0a9645cd92f397b27..a8d708c3cf139479139c6e150c1f7d7887a33cb9 100644 (file)
@@ -76,11 +76,7 @@ static __inline__ int abortboot(int bootdelay)
                                /* we got a key press */
                                if (tstc()) {
                                        stopc = getc();
-#if defined(CONFIG_AUTOBOOT_STOP_CHAR)
-                                       if (stopc == CONFIG_AUTOBOOT_STOP_CHAR) {
-#else
                                        if (stopc != 0) {
-#endif
                                                abort = 1;
                                                bootdelay = 0;
                                                break;