summaryrefslogtreecommitdiffstats
path: root/include/reset_source.h
diff options
context:
space:
mode:
authorLucas Stach <dev@lynxeye.de>2014-10-20 20:15:29 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-11-04 12:16:20 +0100
commitf63a42a9991164fd938ec2f37f0ed1d1caf9ef32 (patch)
treeea11f1bfb792fa285b32c9196c5cb1cc85c70cf6 /include/reset_source.h
parent8355659fcd733793515a8b963c845402566b2645 (diff)
downloadbarebox-f63a42a9991164fd938ec2f37f0ed1d1caf9ef32.tar.gz
barebox-f63a42a9991164fd938ec2f37f0ed1d1caf9ef32.tar.xz
reset_source: add thermal reset
Some SoCs are able to detect if they got reset in response to an overtemperature event. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/reset_source.h')
-rw-r--r--include/reset_source.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/reset_source.h b/include/reset_source.h
index bff7f97850..6620228722 100644
--- a/include/reset_source.h
+++ b/include/reset_source.h
@@ -20,6 +20,7 @@ enum reset_src_type {
RESET_WDG, /* watchdog */
RESET_WKE, /* wake-up (some SoCs can handle this) */
RESET_JTAG, /* JTAG reset */
+ RESET_THERM, /* SoC shut down because of overtemperature */
};
#ifdef CONFIG_RESET_SOURCE