diff options
Diffstat (limited to 'common/Kconfig')
-rw-r--r-- | common/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig index b776031bad..59bd301858 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 " |