[PATCH v4 04/11] common: board_r: rework BOOT LED handling

Simon Glass sjg at chromium.org
Thu Sep 26 23:33:21 CEST 2024


On Sat, 21 Sept 2024 at 00:51, Christian Marangi <ansuelsmth at gmail.com> wrote:
>
> Rework BOOT LED handling. There is currently one legacy implementation
> for BOOT LED from Status Led API.
>
> This work on ancient implementation used by BOOTP by setting the LED
> to Blink on boot and to turn it OFF when the firmware was correctly
> received by network.
>
> Now that we new LED implementation have support for LED boot, rework
> this by also set the new BOOT LED to blink and also set it to ON before
> entering main loop to confirm successful boot.
>
> Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
> ---
>  common/board_r.c     | 28 ++++++++++++++++++++--------
>  include/status_led.h | 13 +++++++++++++
>  2 files changed, 33 insertions(+), 8 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list