summaryrefslogtreecommitdiff
path: root/src/ec/google/chromeec/acpi/ec.asl
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/google/chromeec/acpi/ec.asl')
-rw-r--r--src/ec/google/chromeec/acpi/ec.asl9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ec/google/chromeec/acpi/ec.asl b/src/ec/google/chromeec/acpi/ec.asl
index 32009028d3..e4637b3d36 100644
--- a/src/ec/google/chromeec/acpi/ec.asl
+++ b/src/ec/google/chromeec/acpi/ec.asl
@@ -12,6 +12,8 @@
#define EC_OEM_VARIABLE_DATA_MASK 0x7
#define INT3400_ODVP_CHANGED 0x88
+#define ACPI_NOTIFY_CROS_EC_PANIC 0xB0
+
// Mainboard specific throttle handler
#ifdef DPTF_ENABLE_CHARGER
External (\_SB.DPTF.TCHG, DeviceObj)
@@ -409,6 +411,13 @@ Device (EC0)
\PNOT ()
}
+ // EC Panic
+ Method (_Q18, 0, NotSerialized)
+ {
+ Printf ("EC: PANIC")
+ Notify (CREC, ACPI_NOTIFY_CROS_EC_PANIC)
+ }
+
// MKBP interrupt.
Method (_Q1B, 0, NotSerialized)
{