summaryrefslogtreecommitdiff
path: root/drivers/led/Kconfig
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-09-03 18:57:09 (GMT)
committerTom Rini <trini@konsulko.com>2015-09-03 18:57:09 (GMT)
commitc9feb427aba860ebc79f9851a1bb49cc456a2d48 (patch)
tree6a80def1806386e2854d57f740264c6744d96e1d /drivers/led/Kconfig
parentda9d8580ff9ce17452ef931072e5799a9df8807f (diff)
parentf2acc55e3d28e96a6fcc060a7081eb4e2ad96350 (diff)
downloadu-boot-fsl-qoriq-c9feb427aba860ebc79f9851a1bb49cc456a2d48.tar.xz
Merge git://git.denx.de/u-boot-rockchip
Diffstat (limited to 'drivers/led/Kconfig')
-rw-r--r--drivers/led/Kconfig9
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/led/Kconfig b/drivers/led/Kconfig
index 2987337..fe74403 100644
--- a/drivers/led/Kconfig
+++ b/drivers/led/Kconfig
@@ -11,7 +11,7 @@ config LED
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,
@@ -27,4 +27,11 @@ config LED_GPIO
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