]> git.dujemihanovic.xyz Git - u-boot.git/commit
common: board_r: rework BOOT LED handling
authorChristian Marangi <ansuelsmth@gmail.com>
Tue, 1 Oct 2024 12:24:37 +0000 (14:24 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 10 Oct 2024 22:02:20 +0000 (16:02 -0600)
commitfc55ae03fdda244b74756c9dedb16143dbe002bd
tree558a5f238595c23203d62f97fcec367daa27c2f9
parent914fd75a5d2f4cfa7828b48abed50a146063d1bd
common: board_r: rework BOOT LED handling

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@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/board_r.c
include/status_led.h