diff options
author | Tom Rini | 2022-06-10 23:03:09 -0400 |
---|---|---|
committer | Tom Rini | 2022-07-07 09:29:08 -0400 |
commit | b340199f828e7d57945785b698ff97469972d1ca (patch) | |
tree | 117ba774591d068ff037e4a2e6b1bca39d9fc037 /drivers/power/Kconfig | |
parent | abba59f1155aa45daf37c59e248164387482a3c4 (diff) |
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/power/Kconfig')
-rw-r--r-- | drivers/power/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig index 2c20dc7c831..0af53a6c67f 100644 --- a/drivers/power/Kconfig +++ b/drivers/power/Kconfig @@ -29,6 +29,7 @@ config POWER_LEGACY config SPL_POWER_LEGACY bool "Legacy power support in SPL" + depends on SPL && !SPL_DM_PMIC default y if POWER_LEGACY help Note: This is a legacy option. Use SPL_DM_PMIC instead. |