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

login
register
mail settings
Submitter Rob Herring
Date June 13, 2013, 3:24 a.m.
Message ID <1371093894-16424-10-git-send-email-robherring2@gmail.com>
Download mbox | patch
Permalink /patch/250968/
State Accepted
Delegated to: Albert ARIBAUD
Headers show

Comments

Rob Herring - June 13, 2013, 3:24 a.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>
---
v2: no change, resend

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

Patch

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