]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: led: fix led command usage for the LED_SW_BLINK enabled case
authorMikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
Wed, 14 Aug 2024 10:08:30 +0000 (14:08 +0400)
committerTom Rini <trini@konsulko.com>
Thu, 15 Aug 2024 17:30:41 +0000 (11:30 -0600)
commitc964f331bed6a847b1557703d9af68c2c8d8b2c6
treecb47a8020c8b272219d68b7d852c15c91ff25cd4
parent3d7f19459745262c54472e9c909b9e2f8daacea2
cmd: led: fix led command usage for the LED_SW_BLINK enabled case

CONFIG_LED_BLINK and CONFIG_LED_SW_BLINK can be defined independently.
Led blinking works if any (or both) of them is enabled. Unfortunately
the led command help does not display blinking option if only
CONFIG_LED_SW_BLINK is enabled. This is definitely wrong.

This patch fix an issue.

Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Alexander Dahl <ada@thorsis.com>
cmd/led.c