X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=drivers%2Fled%2FKconfig;h=fe74403460a94c95914fc5107fc79c667bd736ed;hb=1f807a9f32aaa4e4917336912fd867671954d18c;hp=de5feea8dd3df15cb5418b844ae9979b4aecaccb;hpb=7a1af7a79bd79ded6a78d0c1afdbc3353669e313;p=u-boot diff --git a/drivers/led/Kconfig b/drivers/led/Kconfig index de5feea8dd..fe74403460 100644 --- a/drivers/led/Kconfig +++ b/drivers/led/Kconfig @@ -1,3 +1,5 @@ +menu "LED Support" + config LED bool "Enable LED support" depends on DM @@ -7,9 +9,9 @@ config LED can provide access to board-specific LEDs. Use of the device tree for configuration is encouraged. -config SPL_LED_SUPPORT +config SPL_LED bool "Enable LED support in SPL" - depends on LED + depends on SPL && SPL_DM help The LED subsystem adds a small amount of overhead to the image. If this is acceptable and you have a need to use LEDs in SPL, @@ -24,3 +26,12 @@ config LED_GPIO GPIOs may be on the SoC or some other device which provides GPIOs. The GPIO driver must used driver model. LEDs are configured using the device tree. + +config SPL_LED_GPIO + bool "LED support for GPIO-connected LEDs in SPL" + depends on SPL_LED && DM_GPIO + help + This option is an SPL-variant of the LED_GPIO option. + See the help of LED_GPIO for details. + +endmenu