From 2a08ca7e7a3cc7cac17e5c28bb593ad7e4820ec1 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Tue, 6 Oct 2020 18:05:05 +0200 Subject: ec/google/wilco: Convert to ASL 2.0 syntax MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ie5c88f8acee16ff77f9707d7ed56436bf0d521b1 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/46098 Tested-by: build bot (Jenkins) Reviewed-by: Michael Niewöhner --- src/ec/google/wilco/acpi/dptf.asl | 2 +- src/ec/google/wilco/acpi/ec.asl | 2 +- src/ec/google/wilco/acpi/lid.asl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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) } } -- cgit v1.2.3