diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2012-08-01 17:49:27 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-08-01 17:49:27 +0200 |
commit | 2935411dea8ed1b76e0e42a8f1988ba127c3dc02 (patch) | |
tree | 3bec81536dd9e88257b061b00a765198dd787c2e /common/Kconfig | |
parent | 88107f6e121a3a1835aa261a39a0a284e06457ce (diff) | |
parent | 15d989e83d84ba13c100fbfe60980d22bf807fea (diff) | |
download | barebox-2935411dea8ed1b76e0e42a8f1988ba127c3dc02.tar.gz barebox-2935411dea8ed1b76e0e42a8f1988ba127c3dc02.tar.xz |
Merge branch 'for-next/reset-source'
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 8eec66175b..7eb5b49a8f 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -559,6 +559,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 " |