summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/arch-baytrail
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/arch-baytrail
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/arch-baytrail')
-rw-r--r--arch/x86/include/asm/arch-baytrail/acpi/platform.asl2
-rw-r--r--arch/x86/include/asm/arch-baytrail/acpi/sleepstates.asl15
2 files changed, 1 insertions, 16 deletions
diff --git a/arch/x86/include/asm/arch-baytrail/acpi/platform.asl b/arch/x86/include/asm/arch-baytrail/acpi/platform.asl
index a80d2c0e51..cf3de7cde4 100644
--- a/arch/x86/include/asm/arch-baytrail/acpi/platform.asl
+++ b/arch/x86/include/asm/arch-baytrail/acpi/platform.asl
@@ -36,4 +36,4 @@ Scope (\_SB)
}
/* Chipset specific sleep states */
-#include "sleepstates.asl"
+#include <asm/acpi/sleepstates.asl>
diff --git a/arch/x86/include/asm/arch-baytrail/acpi/sleepstates.asl b/arch/x86/include/asm/arch-baytrail/acpi/sleepstates.asl
deleted file mode 100644
index 5600723084..0000000000
--- a/arch/x86/include/asm/arch-baytrail/acpi/sleepstates.asl
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * 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})