aboutsummaryrefslogtreecommitdiff
path: root/include/acpi
diff options
context:
space:
mode:
authorSimon Glass2020-09-22 12:45:19 -0600
committerBin Meng2020-09-25 11:27:19 +0800
commitda2c1b8fd9db6ffa6a8de6d11380a90feea725b4 (patch)
treedbc34ab90000f3588d806f0cb5d9e75a4d56d890 /include/acpi
parent022256b95b134dc62317d4aba11510add00a0c28 (diff)
x86: apl: Generate required ACPI tables
Add support for generating various ACPI tables for Apollo Lake. Add a few S3 definitions that are needed. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/acpi')
-rw-r--r--include/acpi/acpi_s3.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/acpi/acpi_s3.h b/include/acpi/acpi_s3.h
index baa848dcd15..847139baa0c 100644
--- a/include/acpi/acpi_s3.h
+++ b/include/acpi/acpi_s3.h
@@ -28,6 +28,10 @@
#define SLP_TYP_S4 6
#define SLP_TYP_S5 7
+/* PM1_STS register */
+#define RTC_EN BIT(10)
+#define PWRBTN_EN BIT(8)
+
/* Memory size reserved for S3 resume */
#define S3_RESERVE_SIZE 0x1000