]> git.sur5r.net Git - u-boot/blobdiff - drivers/led/Kconfig
arc: Use the generic bitops headers
[u-boot] / drivers / led / Kconfig
index b21bc9474837f0917b6a3b1e8a84b1b612fa7cd8..fe74403460a94c95914fc5107fc79c667bd736ed 100644 (file)
@@ -9,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,
@@ -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