summaryrefslogtreecommitdiff
path: root/src/ec
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-10-06 18:05:05 +0200
committerMichael Niewöhner <foss@mniewoehner.de>2021-01-24 21:51:39 +0000
commit2a08ca7e7a3cc7cac17e5c28bb593ad7e4820ec1 (patch)
tree60cb8d8ff3399a488cf1b4f40370d0bad7a50af9 /src/ec
parent5b880a1333442f9a44027a872115684397b8e699 (diff)
ec/google/wilco: Convert to ASL 2.0 syntax
Change-Id: Ie5c88f8acee16ff77f9707d7ed56436bf0d521b1 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46098 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'src/ec')
-rw-r--r--src/ec/google/wilco/acpi/dptf.asl2
-rw-r--r--src/ec/google/wilco/acpi/ec.asl2
-rw-r--r--src/ec/google/wilco/acpi/lid.asl2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/ec/google/wilco/acpi/dptf.asl b/src/ec/google/wilco/acpi/dptf.asl
index 705988af24..6de72e817d 100644
--- a/src/ec/google/wilco/acpi/dptf.asl
+++ b/src/ec/google/wilco/acpi/dptf.asl
@@ -96,7 +96,7 @@ Method (PATX, 0, Serialized)
Printf ("Sensor trip mask: %o", Local0)
- If (LNot (Acquire (^PATM, 1000))) {
+ If (!Acquire (^PATM, 1000)) {
/* Handle bits that are set */
While (FindSetRightBit (Local1, Local2))
diff --git a/src/ec/google/wilco/acpi/ec.asl b/src/ec/google/wilco/acpi/ec.asl
index 7531dbf8a5..d552604406 100644
--- a/src/ec/google/wilco/acpi/ec.asl
+++ b/src/ec/google/wilco/acpi/ec.asl
@@ -50,7 +50,7 @@ Device (EC0)
^UCSI.INIT ()
// Initialize LID switch state
- Store (R (P1LC), \LIDS)
+ \LIDS = R (P1LC)
}
/*
diff --git a/src/ec/google/wilco/acpi/lid.asl b/src/ec/google/wilco/acpi/lid.asl
index 3fae71f5a5..c381499c67 100644
--- a/src/ec/google/wilco/acpi/lid.asl
+++ b/src/ec/google/wilco/acpi/lid.asl
@@ -8,7 +8,7 @@ Device (LID0)
Method (_LID, 0, NotSerialized)
{
- Store (R (P1LC), \LIDS)
+ \LIDS = R (P1LC)
Return (\LIDS)
}
}