Attention is currently required from: Tim Wawrzynczak.
Felix Singer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/60508 )
Change subject: ec/google/chromeec/acpi: Replace Add(a,b) with ASL 2.0 syntax
......................................................................
ec/google/chromeec/acpi: Replace Add(a,b) with ASL 2.0 syntax
Replace `Add (a, b)` with `a + b`.
Change-Id: I7a0f9685130cdb124cf5e3ee517328e949a023e3
Signed-off-by: Felix Singer <felixsinger(a)posteo.net>
---
M src/ec/google/chromeec/acpi/battery.asl
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/08/60508/1
diff --git a/src/ec/google/chromeec/acpi/battery.asl b/src/ec/google/chromeec/acpi/battery.asl
index 0672885..663cc25 100644
--- a/src/ec/google/chromeec/acpi/battery.asl
+++ b/src/ec/google/chromeec/acpi/battery.asl
@@ -210,7 +210,7 @@
// See if within ~6% of full
ShiftRight (Local2, 4, Local3)
- If (LGreater (Local1, Local2 - Local3) && LLess (Local1, Add (Local2, Local3)))
+ If (LGreater (Local1, Local2 - Local3) && LLess (Local1, Local2 + Local3))
{
Store (Local2, Local1)
}
--
To view, visit https://review.coreboot.org/c/coreboot/+/60508
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I7a0f9685130cdb124cf5e3ee517328e949a023e3
Gerrit-Change-Number: 60508
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