[U-Boot] [PATCH v2 10/10] highbank: enable keyed autoboot stop

Rob Herring robherring2 at gmail.com
Thu Jun 13 05:24:54 CEST 2013


From: Rob Herring <rob.herring at calxeda.com>

Restrict autoboot interruption to "s" or "d" keys. This will prevent some
unwanted stopping and also allow disabling the reset on command timeout.

Signed-off-by: Rob Herring <rob.herring at calxeda.com>
---
v2: no change, resend

 include/configs/highbank.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/configs/highbank.h b/include/configs/highbank.h
index e01d4bb..5710be5 100644
--- a/include/configs/highbank.h
+++ b/include/configs/highbank.h
@@ -88,6 +88,8 @@
 #define CONFIG_BOOTDELAY		2
 #define CONFIG_BOOT_RETRY_TIME		-1
 #define CONFIG_RESET_TO_RETRY
+#define CONFIG_AUTOBOOT_KEYED
+#define CONFIG_AUTOBOOT_PROMPT "Autobooting in %d seconds...\nPress <s> to stop or <d> to delay\n", bootdelay
 
 /*
  * Miscellaneous configurable options
-- 
1.8.1.2



More information about the U-Boot mailing list