summaryrefslogtreecommitdiff
path: root/drivers/led
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-06-10 23:03:09 -0400
committerTom Rini <trini@konsulko.com>2022-07-07 09:29:08 -0400
commitb340199f828e7d57945785b698ff97469972d1ca (patch)
tree117ba774591d068ff037e4a2e6b1bca39d9fc037 /drivers/led
parentabba59f1155aa45daf37c59e248164387482a3c4 (diff)
downloadu-boot-socfpga-b340199f828e7d57945785b698ff97469972d1ca.tar.gz
spl: Ensure all SPL symbols in Kconfig have some SPL dependency
Tighten up symbol dependencies in a number of places. Ensure that a SPL specific option has at least a direct dependency on SPL. In places where it's clear that we depend on something more specific, use that dependency instead. This means in a very small number of places we can drop redundant dependencies. Reported-by: Pali Rohár <pali@kernel.org> Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/led')
-rw-r--r--drivers/led/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/led/Kconfig b/drivers/led/Kconfig
index 418ed215c5..ccdd7d7395 100644
--- a/drivers/led/Kconfig
+++ b/drivers/led/Kconfig
@@ -67,7 +67,7 @@ config LED_BLINK
config SPL_LED
bool "Enable LED support in SPL"
- depends on SPL && SPL_DM
+ depends on 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,
@@ -85,7 +85,7 @@ config LED_GPIO
config SPL_LED_GPIO
bool "LED support for GPIO-connected LEDs in SPL"
- depends on SPL_LED && DM_GPIO
+ depends on SPL_LED && SPL_DM_GPIO
help
This option is an SPL-variant of the LED_GPIO option.
See the help of LED_GPIO for details.