blob: 2987337219d75d1dd19843d139528fb65aa3f0ec [file] [log] [blame]
Masahiro Yamada0b11dbf2015-07-26 02:46:26 +09001menu "LED Support"
2
Simon Glass59171122015-06-23 15:38:45 -06003config LED
4 bool "Enable LED support"
5 depends on DM
6 help
7 Many boards have LEDs which can be used to signal status or alerts.
8 U-Boot provides a uclass API to implement this feature. LED drivers
9 can provide access to board-specific LEDs. Use of the device tree
10 for configuration is encouraged.
11
Masahiro Yamadaf0cd2452015-08-12 07:31:50 +090012config SPL_LED
Simon Glass59171122015-06-23 15:38:45 -060013 bool "Enable LED support in SPL"
14 depends on LED
15 help
16 The LED subsystem adds a small amount of overhead to the image.
17 If this is acceptable and you have a need to use LEDs in SPL,
18 enable this option. You will need to enable device tree in SPL
19 for this to work.
Simon Glass5ac76ba2015-06-23 15:38:46 -060020
21config LED_GPIO
22 bool "LED support for GPIO-connected LEDs"
23 depends on LED && DM_GPIO
24 help
25 Enable support for LEDs which are connected to GPIO lines. These
26 GPIOs may be on the SoC or some other device which provides GPIOs.
27 The GPIO driver must used driver model. LEDs are configured using
28 the device tree.
Masahiro Yamada0b11dbf2015-07-26 02:46:26 +090029
30endmenu