summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/reset_source.c1
-rw-r--r--include/reset_source.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/common/reset_source.c b/common/reset_source.c
index 0147b5c..80002a9 100644
--- a/common/reset_source.c
+++ b/common/reset_source.c
@@ -26,6 +26,7 @@ static const char * const reset_src_names[] = {
[RESET_WKE] = "WKE",
[RESET_JTAG] = "JTAG",
[RESET_THERM] = "THERM",
+ [RESET_EXT] = "EXT",
};
static enum reset_src_type reset_source;
diff --git a/include/reset_source.h b/include/reset_source.h
index 6620228..367f93b 100644
--- a/include/reset_source.h
+++ b/include/reset_source.h
@@ -21,6 +21,7 @@ enum reset_src_type {
RESET_WKE, /* wake-up (some SoCs can handle this) */
RESET_JTAG, /* JTAG reset */
RESET_THERM, /* SoC shut down because of overtemperature */
+ RESET_EXT, /* External reset through device pin */
};
#ifdef CONFIG_RESET_SOURCE