From: Holger Brunck Date: Fri, 13 Nov 2015 15:15:19 +0000 (+0100) Subject: km/common: stop u-boot only if someone press X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7f70460eec5d628dd385fdd8668a8d7a36c83be9;p=project%2Fbcm63xx%2Fu-boot.git km/common: stop u-boot only if someone press 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 Reviewed-by: Heiko Schocher --- diff --git a/include/configs/km/keymile-common.h b/include/configs/km/keymile-common.h index f3248bc1d5..2fc1ea8328 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