2015-07-25 17:46:26 +00:00
|
|
|
menu "LED Support"
|
|
|
|
|
2015-06-23 21:38:45 +00:00
|
|
|
config LED
|
|
|
|
bool "Enable LED support"
|
|
|
|
depends on DM
|
|
|
|
help
|
|
|
|
Many boards have LEDs which can be used to signal status or alerts.
|
|
|
|
U-Boot provides a uclass API to implement this feature. LED drivers
|
|
|
|
can provide access to board-specific LEDs. Use of the device tree
|
|
|
|
for configuration is encouraged.
|
|
|
|
|
2015-08-11 22:31:50 +00:00
|
|
|
config SPL_LED
|
2015-06-23 21:38:45 +00:00
|
|
|
bool "Enable LED support in SPL"
|
2015-08-30 22:55:14 +00:00
|
|
|
depends on SPL && SPL_DM
|
2015-06-23 21:38:45 +00:00
|
|
|
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,
|
|
|
|
enable this option. You will need to enable device tree in SPL
|
|
|
|
for this to work.
|
2015-06-23 21:38:46 +00:00
|
|
|
|
|
|
|
config LED_GPIO
|
|
|
|
bool "LED support for GPIO-connected LEDs"
|
|
|
|
depends on LED && DM_GPIO
|
|
|
|
help
|
|
|
|
Enable support for LEDs which are connected to GPIO lines. These
|
|
|
|
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.
|
2015-07-25 17:46:26 +00:00
|
|
|
|
2015-08-30 22:55:14 +00:00
|
|
|
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.
|
|
|
|
|
2015-07-25 17:46:26 +00:00
|
|
|
endmenu
|