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:
parent
e7e39180ad
commit
c918022532
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue