u-boot/drivers/power/acpi_pmc/Kconfig
Tom Rini b340199f82 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>
2022-07-07 09:29:08 -04:00

36 lines
1.3 KiB
Text

config ACPI_PMC
bool "Power Manager (x86 PMC) support"
help
Enable support for an x86-style power-management controller which
provides features including checking whether the system started from
resume, powering off the system and enabling/disabling the reset
mechanism.
config SPL_ACPI_PMC
bool "Power Manager (x86 PMC) support in SPL"
depends on SPL
default y if ACPI_PMC
help
Enable support for an x86-style power-management controller which
provides features including checking whether the system started from
resume, powering off the system and enabling/disabling the reset
mechanism.
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
provides features including checking whether the system started from
resume, powering off the system and enabling/disabling the reset
mechanism.
config ACPI_PMC_SANDBOX
bool "Test power manager (PMC) for sandbox"
depends on ACPI_PMC && SANDBOX
help
This driver emulates a PMC (Power-Management Controller) so that
the uclass logic can be tested. You can use the 'pmc' command to
access information from the driver. It uses I/O access to read
from the PMC.