[PATCH] led: Mark LED_STATUS as depending on LED being disabled
Tom Rini
trini at konsulko.com
Fri Sep 26 17:31:34 CEST 2025
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 at konsulko.com>
---
drivers/led/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/led/Kconfig b/drivers/led/Kconfig
index c98cbf92fabe..a37ec633fb6b 100644
--- a/drivers/led/Kconfig
+++ b/drivers/led/Kconfig
@@ -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.
--
2.43.0
More information about the U-Boot
mailing list