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

login
register
mail settings
Submitter Rob Herring
Date May 15, 2013, 7:56 p.m.
Message ID <1368647776-12940-10-git-send-email-robherring2@gmail.com>
Download mbox | patch
Permalink /patch/244168/
State Superseded
Delegated to: Albert ARIBAUD
Headers show

Comments

Rob Herring - May 15, 2013, 7:56 p.m.
From: Rob Herring <rob.herring@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@calxeda.com>
---
 include/configs/highbank.h | 2 ++
 1 file changed, 2 insertions(+)

Patch

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