Patchwork [U-Boot,3/4] wandboard: Use '0' as bootdelay but interruptable

login
register
mail settings
Submitter Otavio Salvador
Date Oct. 21, 2013, 11:34 p.m.
Message ID <1382398500-9649-4-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/285299/
State Changes Requested
Delegated to: Stefano Babic
Headers show

Comments

Otavio Salvador - Oct. 21, 2013, 11:34 p.m.
The '0' as bootdelay reduces a lot the boot time while we still allow
the boot to be interruptable if need.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 include/configs/wandboard.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch

diff --git a/include/configs/wandboard.h b/include/configs/wandboard.h
index dff515e..bffac9a 100644
--- a/include/configs/wandboard.h
+++ b/include/configs/wandboard.h
@@ -48,7 +48,8 @@ 
 #define CONFIG_CMD_BMODE
 #define CONFIG_CMD_SETEXPR
 
-#define CONFIG_BOOTDELAY		5
+#define CONFIG_BOOTDELAY		0
+#define CONFIG_ZERO_BOOTDELAY_CHECK
 
 #define CONFIG_SYS_MEMTEST_START	0x10000000
 #define CONFIG_SYS_MEMTEST_END		(CONFIG_SYS_MEMTEST_START + 500 * SZ_1M)