mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-06-09 23:36:03 +09:00
board: stm32mp1: Keep error led ON in case of low power detection
Since commit commit dd2810851e
("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>
This commit is contained in:
parent
eaec1f9e90
commit
cadd1bfd2d
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user