]> git.ipfire.org Git - thirdparty/u-boot.git/commit
led: remove support for red LED in legacy API
authorQuentin Schulz <quentin.schulz@cherry.de>
Wed, 19 Nov 2025 17:01:15 +0000 (18:01 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 5 Dec 2025 19:38:09 +0000 (13:38 -0600)
commitc4594242aafc3452948a6b57dfbaacdfb4ed0860
tree93df78019fee580bc6a1691ac585eb86f5bc83a5
parentb06e52f2ea937077b3ff8296e4a67648138ac897
led: remove support for red LED in legacy API

To the exception of red_led_on in the arm-specific assembly code, all
code interacting with the red status LED was guarded by the
CONFIG_LED_STATUS_RED symbol, which is enabled in none of the upstream
defconfigs.

Since the last board which overrode the weak red_led_on function got
migrated to the new LED mechanism, there's also no user of the
arm-specific assembly code anymore, therefore it can be removed along
the other unreachable code sections.

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Heiko Schocher <hs@nabladev.com>
arch/arm/lib/crt0.S
cmd/legacy_led.c
common/board_f.c
doc/api/led.rst
drivers/led/Kconfig
drivers/misc/gpio_led.c
include/status_led.h