[PATCH v6 1/3] led: enable LEDST_BLINK state unconditionally

Simon Glass sjg at chromium.org
Sat Jul 20 14:36:06 CEST 2024


On Fri, 19 Jul 2024 at 10:12, Mikhail Kshevetskiy
<mikhail.kshevetskiy at iopsys.eu> wrote:
>
> Changes:
>  * enable LEDST_BLINK state unconditionally
>  * function led_set_period() becomes available when CONFIG_LED_BLINK
>    is disabled. This makes led code simpler.
>  * fix cmd/led.c to work properly when LEDST_BLINK present, but
>    CONFIG_LED_BLINK is disabled
>
> Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy at iopsys.eu>
> ---
>  cmd/led.c                |  8 --------
>  drivers/led/led-uclass.c | 10 +++++-----
>  include/led.h            |  2 --
>  3 files changed, 5 insertions(+), 15 deletions(-)
>

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


More information about the U-Boot mailing list