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 /common | |
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 'common')
-rw-r--r-- | common/reset_source.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/reset_source.c b/common/reset_source.c index 338d7b9acb..1955d3f87e 100644 --- a/common/reset_source.c +++ b/common/reset_source.c @@ -28,6 +28,7 @@ static const char * const reset_src_names[] = { [RESET_JTAG] = "JTAG", [RESET_THERM] = "THERM", [RESET_EXT] = "EXT", + [RESET_BROWNOUT] = "BROWNOUT", }; static enum reset_src_type reset_source; |