diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2019-06-11 11:43:15 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-06-13 08:22:47 +0200 |
commit | 2352352d49f8d10276f257f49efdb055a4480b64 (patch) | |
tree | 48e714aba45b9a26c1a46ffbabca9859ca9ab4dd /include | |
parent | 09c9203cac8728926db8457ddaa88856afe014d9 (diff) | |
download | barebox-2352352d49f8d10276f257f49efdb055a4480b64.tar.gz barebox-2352352d49f8d10276f257f49efdb055a4480b64.tar.xz |
reset_source: add new Brownout reset (BOR) source
The STM32MP1 can report brown out as reason for a reset,
which doesn't fit into existing reasons. Thus add a new
one to the enumeration.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/reset_source.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/reset_source.h b/include/reset_source.h index 86e415abcf..13bc3bcfde 100644 --- a/include/reset_source.h +++ b/include/reset_source.h @@ -22,6 +22,7 @@ enum reset_src_type { RESET_JTAG, /* JTAG reset */ RESET_THERM, /* SoC shut down because of overtemperature */ RESET_EXT, /* External reset through device pin */ + RESET_BROWNOUT, /* Brownout Reset */ }; #ifdef CONFIG_RESET_SOURCE |