summaryrefslogtreecommitdiff
path: root/board/st
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@st.com>2020-04-22 15:29:11 +0300
committerPatrick Delaunay <patrick.delaunay@st.com>2020-05-14 10:02:12 +0300
commitcadd1bfd2d92d1aa20dda21b787683977399eac1 (patch)
tree7ab1a37b8ca20121df43d7f380720a888124a5ef /board/st
parenteaec1f9e90241e9fde5540f6da28063df730102f (diff)
downloadu-boot-cadd1bfd2d92d1aa20dda21b787683977399eac1.tar.xz
board: stm32mp1: Keep error led ON in case of low power detection
Since commit commit dd2810851eb1 ("stm32mp1: board: support of error led on ed1/ev1 board") the attended behavior was no more respected in case of low power source detection on DK2. The expected behavior is either the error LED keeps blinking for ever, or blinks 2 or 3 times and must stay ON. Reviewed-by: Patrice Chotard <patrice.chotard@st.com> Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'board/st')
-rw-r--r--board/st/stm32mp1/stm32mp1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/st/stm32mp1/stm32mp1.c b/board/st/stm32mp1/stm32mp1.c
index fe54947c1c..d83081d9e2 100644
--- a/board/st/stm32mp1/stm32mp1.c
+++ b/board/st/stm32mp1/stm32mp1.c
@@ -311,6 +311,7 @@ static void __maybe_unused led_error_blink(u32 nb_blink)
mdelay(125);
WATCHDOG_RESET();
}
+ led_set_state(led, LEDST_ON);
}
#endif