build/patch/u-boot/u-boot-pine64-default/stop-autoboot-double-esc.patch
2017-08-19 17:09:34 +03:00

14 lines
569 B
Diff

diff --git a/include/configs/sun50iw1p1.h b/include/configs/sun50iw1p1.h
index f2eebc0..cd8b0fd 100644
--- a/include/configs/sun50iw1p1.h
+++ b/include/configs/sun50iw1p1.h
@@ -419,7 +419,8 @@
#define CONFIG_AUTOBOOT_KEYED
#define CONFIG_AUTOBOOT_STOP_STR "s"
-#define CONFIG_AUTOBOOT_PROMPT "autoboot in %d seconds, Press s to abort\n",bootdelay
+#define CONFIG_AUTOBOOT_STOP_STR2 "\x1b\x1b"
+#define CONFIG_AUTOBOOT_PROMPT "autoboot in %d seconds, Press s or <Esc><Esc> to abort\n",bootdelay
// Make it actually useful.
#define CONFIG_SYS_BOOTMAPSZ 0x4000000