summaryrefslogtreecommitdiff
path: root/src/soc/amd/genoa/acpi/globalnvs.asl
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/genoa/acpi/globalnvs.asl')
-rw-r--r--src/soc/amd/genoa/acpi/globalnvs.asl13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/soc/amd/genoa/acpi/globalnvs.asl b/src/soc/amd/genoa/acpi/globalnvs.asl
new file mode 100644
index 0000000000..23c53ee854
--- /dev/null
+++ b/src/soc/amd/genoa/acpi/globalnvs.asl
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+/*
+ * NOTE: The layout of the GNVS structure below must match the layout in
+ * soc/amd/genoa/include/soc/nvs.h !!!
+ */
+
+Field (GNVS, ByteAcc, NoLock, Preserve)
+{
+ /* Miscellaneous */
+ PM1I, 64, // 0x00 - 0x07 - System Wake Source - PM1 Index
+ GPEI, 64, // 0x08 - 0x0f - GPE Wake Source
+}