summaryrefslogtreecommitdiff
path: root/lib/Kconfig
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-12-04 12:37:00 +0900
committerTom Rini <trini@konsulko.com>2017-12-26 13:10:24 -0500
commit7e3caa81e0e9cc5e2beed4a3a1c334e2119f4498 (patch)
treee7e58e4c50524b234a5f4eb5639a994b669d1c01 /lib/Kconfig
parent48a346061d1f0a7eff566f6a7cc7eeeba7efb1e2 (diff)
Move CONFIG_PANIC_HANG to Kconfig
Freescale (NXP) boards have lots of defconfig files per board. I used "imply PANIC_HANG" for them. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'lib/Kconfig')
-rw-r--r--lib/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index f447c53bde..00ac650e74 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -45,6 +45,16 @@ config USE_TINY_PRINTF
The supported format specifiers are %c, %s, %u/%d and %x.
+config PANIC_HANG
+ bool "Do not reset the system on fatal error"
+ help
+ Define this option to stop 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 REGEX
bool "Enable regular expression support"
default y if NET