summaryrefslogtreecommitdiffstats
path: root/include/configs/km
diff options
context:
space:
mode:
authorHolger Brunck <holger.brunck@keymile.com>2015-11-13 16:15:19 +0100
committerTom Rini <trini@konsulko.com>2015-11-18 15:28:49 -0500
commit7f70460eec5d628dd385fdd8668a8d7a36c83be9 (patch)
tree452ee613cf0a14c2a33042d7c11064368f669162 /include/configs/km
parent30f9ad77c421fe95c52459285fba97f5061e2863 (diff)
downloadblackbird-obmc-uboot-7f70460eec5d628dd385fdd8668a8d7a36c83be9.tar.gz
blackbird-obmc-uboot-7f70460eec5d628dd385fdd8668a8d7a36c83be9.zip
km/common: stop u-boot only if someone press <SPACE>
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 <SPACE> key for this. Signed-off-by: Holger Brunck <holger.brunck@keymile.com> Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com> Reviewed-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'include/configs/km')
-rw-r--r--include/configs/km/keymile-common.h4
1 files changed, 4 insertions, 0 deletions
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 <SPACE> 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
OpenPOWER on IntegriCloud