summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/acpi/sleepstates.asl
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2017-10-18 18:21:00 -0700
committerBin Meng <bmeng.cn@gmail.com>2017-10-27 15:13:47 +0800
commit411898dc87c09d0cd103a4243c8cb4a72b115c51 (patch)
tree679a1f1f0bd420e2b3fec815b9ef8e2f43136492 /arch/x86/include/asm/acpi/sleepstates.asl
parentdc80d3b2309b7c6f94daa2a2bd843b8febfa0369 (diff)
x86: acpi: Put sleepstates.asl to the common place
The supported sleep states are generic on Intel processors. Move the ASL definition to the common place. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/include/asm/acpi/sleepstates.asl')
-rw-r--r--arch/x86/include/asm/acpi/sleepstates.asl15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/x86/include/asm/acpi/sleepstates.asl b/arch/x86/include/asm/acpi/sleepstates.asl
new file mode 100644
index 00000000000..56007230843
--- /dev/null
+++ b/arch/x86/include/asm/acpi/sleepstates.asl
@@ -0,0 +1,15 @@
+/*
+ * Copyright (C) 2007-2009 coresystems GmbH
+ * Copyright (C) 2016 Bin Meng <bmeng.cn@gmail.com>
+ *
+ * Modified from coreboot src/soc/intel/baytrail/acpi/sleepstates.asl
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+Name(\_S0, Package() {0x0, 0x0, 0x0, 0x0})
+#ifdef CONFIG_HAVE_ACPI_RESUME
+Name(\_S3, Package() {0x5, 0x0, 0x0, 0x0})
+#endif
+Name(\_S4, Package() {0x6, 0x0, 0x0, 0x0})
+Name(\_S5, Package() {0x7, 0x0, 0x0, 0x0})