From 2352352d49f8d10276f257f49efdb055a4480b64 Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Tue, 11 Jun 2019 11:43:15 +0200 Subject: 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 Signed-off-by: Sascha Hauer --- common/reset_source.c | 1 + 1 file changed, 1 insertion(+) (limited to 'common') 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; -- cgit v1.2.3