9
0
Fork 0

reset_source: Add external reset

Some SoCs have special device pins for external reset signals.

Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Wadim Egorov 2015-02-12 10:30:54 +01:00 committed by Sascha Hauer
parent e7e39180ad
commit c918022532
2 changed files with 2 additions and 0 deletions

View File

@ -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;

View File

@ -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