Attention is currently required from: Tim Wawrzynczak.
Felix Singer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/60699 )
Change subject: ec/google/chromeec/acpi: Replace LNotEqual(a,b) with ASL 2.0 syntax
......................................................................
ec/google/chromeec/acpi: Replace LNotEqual(a,b) with ASL 2.0 syntax
Replace `LNotEqual(a, b)` with `a != b`.
Change-Id: I2e0c5961fcc90c97666f49837a71f6c0bdc429b3
Signed-off-by: Felix Singer <felixsinger(a)posteo.net>
---
M src/ec/google/chromeec/acpi/battery.asl
M src/ec/google/chromeec/acpi/ec.asl
2 files changed, 4 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/99/60699/1
diff --git a/src/ec/google/chromeec/acpi/battery.asl b/src/ec/google/chromeec/acpi/battery.asl
index 4cc5ac4..702fbb1 100644
--- a/src/ec/google/chromeec/acpi/battery.asl
+++ b/src/ec/google/chromeec/acpi/battery.asl
@@ -19,7 +19,7 @@
}
Store (Arg0, \_SB.PCI0.LPCB.EC0.BTID)
Store (5, Local0) // Timeout 5 msec
- While (LNotEqual (BTIX, Arg0))
+ While (BTIX != Arg0)
{
Sleep (1)
Local0--
@@ -29,7 +29,7 @@
}
}
#else
- If (LNotEqual (0, Arg0)) {
+ If (Arg0 != 0) {
Return (One)
}
#endif
@@ -180,7 +180,7 @@
Store (Local1, Arg1[0])
// Notify if battery state has changed since last time
- If (LNotEqual (Local1, DeRefOf (Arg2))) {
+ If (Local1 != DeRefOf (Arg2)) {
Store (Local1, Arg2)
If (Arg0 == 0) {
Notify (BAT0, 0x80)
diff --git a/src/ec/google/chromeec/acpi/ec.asl b/src/ec/google/chromeec/acpi/ec.asl
index 35e0e00..e28fa1a 100644
--- a/src/ec/google/chromeec/acpi/ec.asl
+++ b/src/ec/google/chromeec/acpi/ec.asl
@@ -494,7 +494,7 @@
Store (^PATI, Local0)
/* When sensor ID returns 0xFF then no more events */
- While (LNotEqual (Local0, EC_TEMP_SENSOR_NOT_PRESENT))
+ While (Local0 != EC_TEMP_SENSOR_NOT_PRESENT)
{
#ifdef HAVE_THERM_EVENT_HANDLER
\_SB.DPTF.TEVT (Local0)
--
To view, visit https://review.coreboot.org/c/coreboot/+/60699
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I2e0c5961fcc90c97666f49837a71f6c0bdc429b3
Gerrit-Change-Number: 60699
Gerrit-PatchSet: 1
Gerrit-Owner: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Attention: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-MessageType: newchange
Attention is currently required from: Felix Held.
Felix Singer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/60697 )
Change subject: sio/winbond/w83627hf/acpi: Replace LNotEqual(a,b) with ASL 2.0 syntax
......................................................................
sio/winbond/w83627hf/acpi: Replace LNotEqual(a,b) with ASL 2.0 syntax
Replace `LNotEqual(a, b)` with `a != b`.
Change-Id: I24cf4fd70e887c14006975f494be63c34f8a75e6
Signed-off-by: Felix Singer <felixsinger(a)posteo.net>
---
M src/superio/winbond/w83627hf/acpi/superio.asl
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/97/60697/1
diff --git a/src/superio/winbond/w83627hf/acpi/superio.asl b/src/superio/winbond/w83627hf/acpi/superio.asl
index 1e387e2..075cd11 100644
--- a/src/superio/winbond/w83627hf/acpi/superio.asl
+++ b/src/superio/winbond/w83627hf/acpi/superio.asl
@@ -422,7 +422,7 @@
ENTER_CONFIG_MODE (1)
And(OPT1, 0x3, Local1)
If (ACTR) {
- If (LNotEqual(Local1, 2)) {
+ If (Local1 != 2) {
Store (0x0D, Local0)
} Else {
Store (0x0D, Local0)
--
To view, visit https://review.coreboot.org/c/coreboot/+/60697
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I24cf4fd70e887c14006975f494be63c34f8a75e6
Gerrit-Change-Number: 60697
Gerrit-PatchSet: 1
Gerrit-Owner: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Attention: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-MessageType: newchange