summaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-06-08 08:24:39 -0400
committerTom Rini <trini@konsulko.com>2022-06-28 17:03:31 -0400
commit8bea4bf7d31d2ab8a4a0162755b79a4a59a90dcd (patch)
treed3ddc8b2d8cd63829a42f17f16017dd701c9936d /drivers/power
parent5858b90f506e1d3b03afd9dc5f6a5835c2d81675 (diff)
downloadu-boot-8bea4bf7d31d2ab8a4a0162755b79a4a59a90dcd.tar.gz
u-boot-8bea4bf7d31d2ab8a4a0162755b79a4a59a90dcd.tar.bz2
u-boot-8bea4bf7d31d2ab8a4a0162755b79a4a59a90dcd.zip
tpl: Ensure all TPL symbols in Kconfig have some TPL dependency
Tighten up symbol dependencies in a number of places. Ensure that a TPL specific option has at least a direct dependency on TPL. In places where it's clear that we depend on something more specific, use that dependency instead. Reported-by: Pali Rohár <pali@kernel.org> Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/acpi_pmc/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/acpi_pmc/Kconfig b/drivers/power/acpi_pmc/Kconfig
index fcd50e36ca..355d1618c6 100644
--- a/drivers/power/acpi_pmc/Kconfig
+++ b/drivers/power/acpi_pmc/Kconfig
@@ -17,6 +17,7 @@ config SPL_ACPI_PMC
config TPL_ACPI_PMC
bool "Power Manager (x86 PMC) support in TPL"
+ depends on TPL
default y if ACPI_PMC
help
Enable support for an x86-style power-management controller which