summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-12-16 04:27:21 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-12-19 16:20:23 +0000
commit274fa64e3df65a3afaa811ffa757d483f7c6d3cf (patch)
treeaef00e6082e9c64e9ff0cc67ee8c3be8ef489cdd /src/drivers
parent251d86bad1f3fb78eaa0fd93798644c5f8bb295c (diff)
tree: Replace Or(a,b) with ASL 2.0 syntax
Replace `Or (a, b)` with `a | b`. Change-Id: I73842cd4843ebb0b48440059ae9dcf6c82235a76 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/70845 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/intel/gma/acpi/configure_brightness_levels.asl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/intel/gma/acpi/configure_brightness_levels.asl b/src/drivers/intel/gma/acpi/configure_brightness_levels.asl
index 852c96e898..5adb1a2a32 100644
--- a/src/drivers/intel/gma/acpi/configure_brightness_levels.asl
+++ b/src/drivers/intel/gma/acpi/configure_brightness_levels.asl
@@ -58,7 +58,7 @@
Local1 = 255
}
/* also set valid bit */
- BCLP = Or (Local1, 0x80000000)
+ BCLP = Local1 | 0x80000000
If (ARDY == 0)
{