]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
led: Mark LED_STATUS as depending on LED being disabled
authorTom Rini <trini@konsulko.com>
Fri, 26 Sep 2025 15:31:34 +0000 (09:31 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 8 Oct 2025 22:13:00 +0000 (16:13 -0600)
The LED_STATUS functionality is part of the legacy LED framework. This
cannot be enabled at the same time as the new LED API is. Make the text
prompt be clear this is legacy and add a dependency on LED being
disabled.

Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/led/Kconfig

index c98cbf92fabeda23745081611bb844e132885167..a37ec633fb6b949ef6b78a5035d245baf14f1d9d 100644 (file)
@@ -137,7 +137,8 @@ config SPL_LED_GPIO
          See the help of LED_GPIO for details.
 
 config LED_STATUS
-       bool "Enable status LED API"
+       bool "Enable legacy status LED API"
+       depends on !LED
        help
          Allows common u-boot commands to use a board's leds to
          provide status for activities like booting and downloading files.