Kconfig 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. menu "LED Support"
  2. config LED
  3. bool "Enable LED support"
  4. depends on DM
  5. help
  6. Many boards have LEDs which can be used to signal status or alerts.
  7. U-Boot provides a uclass API to implement this feature. LED drivers
  8. can provide access to board-specific LEDs. Use of the device tree
  9. for configuration is encouraged.
  10. config SPL_LED
  11. bool "Enable LED support in SPL"
  12. depends on SPL && SPL_DM
  13. help
  14. The LED subsystem adds a small amount of overhead to the image.
  15. If this is acceptable and you have a need to use LEDs in SPL,
  16. enable this option. You will need to enable device tree in SPL
  17. for this to work.
  18. config LED_GPIO
  19. bool "LED support for GPIO-connected LEDs"
  20. depends on LED && DM_GPIO
  21. help
  22. Enable support for LEDs which are connected to GPIO lines. These
  23. GPIOs may be on the SoC or some other device which provides GPIOs.
  24. The GPIO driver must used driver model. LEDs are configured using
  25. the device tree.
  26. config SPL_LED_GPIO
  27. bool "LED support for GPIO-connected LEDs in SPL"
  28. depends on SPL_LED && DM_GPIO
  29. help
  30. This option is an SPL-variant of the LED_GPIO option.
  31. See the help of LED_GPIO for details.
  32. endmenu