summaryrefslogtreecommitdiffstats
path: root/common/Kconfig
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2013-08-04 12:46:01 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2013-08-05 12:14:03 +0200
commite3399d713f4a853e860d5671bdbd0c51b1066b91 (patch)
tree47d013ffb12197eeafda2a133c879b912c5a85e1 /common/Kconfig
parente49d260ba7074f18bad86e38bc19e207e13e2387 (diff)
downloadbarebox-e3399d713f4a853e860d5671bdbd0c51b1066b91.tar.gz
barebox-e3399d713f4a853e860d5671bdbd0c51b1066b91.tar.xz
resurrect CONFIG_PANIC_HANG option
The CONFIG_PANIC_HANG a part of the U-Boot heritage. It is used in the barebox code, but there is no mention of this option in Kconfig files. Sometimes this option is very helpful, so let's resurrect it. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/Kconfig')
-rw-r--r--common/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 39481f31d8..ef27a0ccc7 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -256,6 +256,17 @@ config RELOCATABLE
allowing it to relocate to the end of the available RAM. This
way you have the whole memory in a single piece.
+config PANIC_HANG
+ bool "hang the system in case of a fatal error"
+ help
+ This option enables stop of the system in case of a
+ fatal error, so that you have to reset it manually.
+ This is probably NOT a good idea for an embedded
+ system where you want the system to reboot
+ automatically as fast as possible, but it may be
+ useful during development since you can try to debug
+ the conditions that lead to the situation.
+
config PROMPT
string
prompt "barebox command prompt"