2
0
Fork 0
mirror of https://github.com/AsahiLinux/u-boot synced 2024-12-12 14:23:00 +00:00
u-boot/drivers/power/acpi_pmc/Kconfig
Simon Glass 3b65ee34b9 x86: sandbox: Add a PMC emulator and test
Add a simple PMC for sandbox to permit tests to run.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2019-12-15 11:44:11 +08:00

34 lines
1.2 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"
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"
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.