summaryrefslogtreecommitdiffstats
path: root/common/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'common/Kconfig')
-rw-r--r--common/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index b776031..59bd301 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -548,6 +548,14 @@ config BAREBOXENV_TARGET
config POLLER
bool "generic polling infrastructure"
+config RESET_SOURCE
+ bool "detect Reset cause"
+ depends on GLOBALVAR
+ help
+ Provide a global variable at runtine which reflects the possible cause
+ of the reset and why the bootloader is currently running. It can be
+ useful for any kind of system recovery or repair.
+
endmenu
menu "Debugging "