diff options
| author | Masahiro Yamada <[email protected]> | 2017-12-04 12:37:00 +0900 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2017-12-26 13:10:24 -0500 |
| commit | 7e3caa81e0e9cc5e2beed4a3a1c334e2119f4498 (patch) | |
| tree | e7e58e4c50524b234a5f4eb5639a994b669d1c01 /lib | |
| parent | 48a346061d1f0a7eff566f6a7cc7eeeba7efb1e2 (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 <[email protected]>
Reviewed-by: York Sun <[email protected]>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index f447c53bdef..00ac650e741 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 |
