From 57eb22a6cf6f23b95c14cb772c58a32a887c6f6f Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 13 Jun 2012 08:16:49 +0200 Subject: [PATCH] boot: Enable the option to interrupt the boot with phrase The serial console might be connected to other equipment, do not let it interrupt the auto-boot. --- include/configs/davinci_sysmobts_v1.h | 5 ++++- include/configs/davinci_sysmobts_v2.h | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/include/configs/davinci_sysmobts_v1.h b/include/configs/davinci_sysmobts_v1.h index 869e54badb..321664b9f1 100644 --- a/include/configs/davinci_sysmobts_v1.h +++ b/include/configs/davinci_sysmobts_v1.h @@ -122,8 +122,11 @@ /*==============================*/ #undef CONFIG_USE_IRQ /* No IRQ/FIQ in U-Boot */ #define CONFIG_MISC_INIT_R -#define CONFIG_BOOTDELAY 2 +#define CONFIG_BOOTDELAY 8 #define CONFIG_BOOTFILE "uImage" /* Boot file name */ +#define CONFIG_AUTOBOOT_KEYED +#define CONFIG_AUTOBOOT_DELAY_STR "bts-delay" +#define CONFIG_AUTOBOOT_STOP_STR "bts-stop" #define CONFIG_SYS_PROMPT "U-Boot > " /* Monitor Command Prompt */ #define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */ #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE+sizeof(CONFIG_SYS_PROMPT)+16) /* Print buffer sz */ diff --git a/include/configs/davinci_sysmobts_v2.h b/include/configs/davinci_sysmobts_v2.h index cf5c373be6..5f5a8e6f0f 100644 --- a/include/configs/davinci_sysmobts_v2.h +++ b/include/configs/davinci_sysmobts_v2.h @@ -115,8 +115,11 @@ /*==============================*/ #undef CONFIG_USE_IRQ /* No IRQ/FIQ in U-Boot */ #define CONFIG_MISC_INIT_R -#define CONFIG_BOOTDELAY 2 +#define CONFIG_BOOTDELAY 8 #define CONFIG_BOOTFILE "uImage" /* Boot file name */ +#define CONFIG_AUTOBOOT_KEYED +#define CONFIG_AUTOBOOT_DELAY_STR "bts-delay" +#define CONFIG_AUTOBOOT_STOP_STR "bts-stop" #define CONFIG_SYS_AUTOLOAD "n" /* No autoload */ #define CONFIG_SYS_PROMPT "sysmoBTSv2 > " /* Monitor Command Prompt */ #define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */