aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/razer/blade_stealth_kbl/acpi/ec.asl
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-10-06 13:38:09 +0200
committerMichael Niewöhner <foss@mniewoehner.de>2021-01-24 21:48:06 +0000
commitb06dea9e903eca99f0ae16cc881f589424b96447 (patch)
tree7f5a648990b74fccb3bfe1eda84c577217afc25b /src/mainboard/razer/blade_stealth_kbl/acpi/ec.asl
parent488f5d85934d396d3f487e8a849d1260ca8e4c9b (diff)
mb/razer: Convert to ASL 2.0 syntax
Generated build/dsdt.dsl are same. Change-Id: I9c7cbc4ee874657a7381b1b220872c4ebecd0821 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46085 Reviewed-by: Michael Niewöhner <foss@mniewoehner.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/razer/blade_stealth_kbl/acpi/ec.asl')
-rw-r--r--src/mainboard/razer/blade_stealth_kbl/acpi/ec.asl10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mainboard/razer/blade_stealth_kbl/acpi/ec.asl b/src/mainboard/razer/blade_stealth_kbl/acpi/ec.asl
index 5698dcbbcf..72eaca4beb 100644
--- a/src/mainboard/razer/blade_stealth_kbl/acpi/ec.asl
+++ b/src/mainboard/razer/blade_stealth_kbl/acpi/ec.asl
@@ -56,24 +56,24 @@ Device (EC)
Method (_REG, 2, NotSerialized)
{
/* Initialize AC power state */
- Store (PWRS - 0x82, ACEX)
+ ACEX = PWRS - 0x82
/* Initialize LID switch state */
- Store (LIDS, \LIDS)
+ \LIDS = LIDS
}
// Close ?
Method (_Q14, 0, NotSerialized)
{
- Store (LIDS, \LIDS)
+ \LIDS = LIDS
Notify (LID0, 0x80)
}
//Open
Method (_Q15, 0, NotSerialized)
{
- Store (LIDS, \LIDS)
+ \LIDS = LIDS
Notify (LID0, 0x80)
}
@@ -81,7 +81,7 @@ Device (EC)
// AC plugged
Method (_Q13, 0, NotSerialized)
{
- Store (PWRS - 0x82, ACEX)
+ ACEX = PWRS - 0x82
Notify (BAT, 0x80) // Status Change
Notify (BAT, 0x81) // Information Change
Notify (AC, 0x80) // Status Change