Attention is currently required from: Tim Wawrzynczak.
Felix Singer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/60682 )
Change subject: ec/google/chromeec/acpi: Replace LGreater(a,b) with ASL 2.0 syntax
......................................................................
ec/google/chromeec/acpi: Replace LGreater(a,b) with ASL 2.0 syntax
Replace `LGreater(a, b)` with `a > b`.
Change-Id: Ie6238ead464d79b3576846f3b5b92b658972eec8
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/82/60682/1
diff --git a/src/ec/google/chromeec/acpi/battery.asl b/src/ec/google/chromeec/acpi/battery.asl
index 7a9a538..253ab8e 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) && Local1 < Local2 + Local3)
+ If (Local1 > Local2 - Local3 && Local1 < Local2 + Local3)
{
Store (Local2, Local1)
}
--
To view, visit https://review.coreboot.org/c/coreboot/+/60682
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie6238ead464d79b3576846f3b5b92b658972eec8
Gerrit-Change-Number: 60682
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: Patrick Rudolph.
Felix Singer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/60681 )
Change subject: drivers/intel/gma/acpi: Replace LGreater(a,b) with ASL 2.0 syntax
......................................................................
drivers/intel/gma/acpi: Replace LGreater(a,b) with ASL 2.0 syntax
Replace `LGreater(a, b)` with `a > b`.
Change-Id: I56479726f91f33e1d3062a31f1efb82c0814316c
Signed-off-by: Felix Singer <felixsinger(a)posteo.net>
---
M src/drivers/intel/gma/acpi/configure_brightness_levels.asl
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/81/60681/1
diff --git a/src/drivers/intel/gma/acpi/configure_brightness_levels.asl b/src/drivers/intel/gma/acpi/configure_brightness_levels.asl
index a24434f..c1f1104 100644
--- a/src/drivers/intel/gma/acpi/configure_brightness_levels.asl
+++ b/src/drivers/intel/gma/acpi/configure_brightness_levels.asl
@@ -54,7 +54,7 @@
/* Always keep BCLP up to date, even if driver is not ready.
It requires a full 8-bit brightness value. 255 = 100% */
Store (Arg0 * 255 / 100, Local1)
- If (LGreater(Local1, 255)) {
+ If (Local1 > 255) {
Store (255, Local1)
}
/* also set valid bit */
@@ -71,7 +71,7 @@
Store (0x1, ASLE)
Store (0x20, Local0)
- While (LGreater(Local0, Zero))
+ While (Local0 > 0)
{
Sleep (1)
If (And (ASLC, 0x2) == 0) {
--
To view, visit https://review.coreboot.org/c/coreboot/+/60681
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I56479726f91f33e1d3062a31f1efb82c0814316c
Gerrit-Change-Number: 60681
Gerrit-PatchSet: 1
Gerrit-Owner: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Attention: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-MessageType: newchange