summaryrefslogtreecommitdiff
path: root/src/acpi
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2016-07-13 23:13:25 -0500
committerAaron Durbin <adurbin@chromium.org>2016-07-15 08:31:21 +0200
commit20a588b3de9671f8166be4c94271e79966fc559b (patch)
tree0e02a3d12f5f27658c07e76e2de8967707ccd597 /src/acpi
parent932e09d168ba180ee0a17319c1e9cd73009a7adb (diff)
downloadcoreboot-20a588b3de9671f8166be4c94271e79966fc559b.tar.xz
arch/x86: provide common Intel ACPI hardware definitions
In the ACPI specification the PM1 register locations are well defined, but the sleep type values are hardware specific. That said, the Intel chipsets have been consistent with the values they use. Therefore, provide those hardware definitions as well a helper function for translating the hardware values to the more high level ACPI sleep values. BUG=chrome-os-partner:54977 Change-Id: Iaeda082e362de5d440256d05e6885b3388ffbe43 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/15666 Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/acpi')
-rw-r--r--src/acpi/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/acpi/Kconfig b/src/acpi/Kconfig
index e025f99d2a..447927b08f 100644
--- a/src/acpi/Kconfig
+++ b/src/acpi/Kconfig
@@ -4,3 +4,9 @@ config ACPI_SATA_GENERATOR
default n
help
Use acpi sata port generator.
+
+config ACPI_INTEL_HARDWARE_SLEEP_VALUES
+ def_bool n
+ help
+ Provide common definitions for Intel hardware PM1_CNT regiser sleep
+ values.