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

Rob Herring robherring2 at gmail.com
Wed May 15 21:56:16 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>
---
 include/configs/highbank.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/configs/highbank.h b/include/configs/highbank.h
index 06c13f2..a47ef3c 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