From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Mon, 16 Nov 2015 12:08:28 +0100 Subject: [U-Boot] [PATCH 1/4] km/common: stop u-boot only if someone press In-Reply-To: <1447427722-24450-2-git-send-email-valentin.longchamp@keymile.com> References: <1447427722-24450-1-git-send-email-valentin.longchamp@keymile.com> <1447427722-24450-2-git-send-email-valentin.longchamp@keymile.com> Message-ID: <5649B92C.1080504@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Valentin, Am 13.11.2015 um 16:15 schrieb Valentin Longchamp: > From: Holger Brunck > > To prevent u-boot to stop accidently e.g. due to line noise on the > serial line, we now use the option CONFIG_AUTOBOOT_KEYED. We choose the > key for this. > > Signed-off-by: Holger Brunck > Signed-off-by: Valentin Longchamp > --- > > include/configs/km/keymile-common.h | 4 ++++ > 1 file changed, 4 insertions(+) Reviewed-by: Heiko Schocher bye, Heiko > > diff --git a/include/configs/km/keymile-common.h b/include/configs/km/keymile-common.h > index f3248bc..2fc1ea8 100644 > --- a/include/configs/km/keymile-common.h > +++ b/include/configs/km/keymile-common.h > @@ -56,6 +56,10 @@ > #define CONFIG_LOADS_ECHO > #define CONFIG_SYS_LOADS_BAUD_CHANGE > > +#define CONFIG_AUTOBOOT_KEYED > +#define CONFIG_AUTOBOOT_PROMPT "Hit key to stop autoboot in %2ds\n" > +#define CONFIG_AUTOBOOT_STOP_STR " " > + > /* Support the IVM EEprom */ > #define CONFIG_SYS_IVM_EEPROM_ADR 0x50 > #define CONFIG_SYS_IVM_EEPROM_MAX_LEN 0x400 > -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany