tree: Replace Or(a,b,c) with ASL 2.0 syntax

Replace `Or (a, b, c)` with `c = a | b`, respectively `c |= b` where
possible.

Change-Id: Icf194b248075f290de90fb4bc4e9a0cd9d76ec61
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70846
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Felix Singer
2022-12-16 04:40:39 +01:00
parent 372573eaff
commit 86bc2e708d
25 changed files with 138 additions and 138 deletions

View File

@@ -175,7 +175,7 @@ Method (BBST, 4, Serialized)
// Check for critical battery level
If (BFCR) {
Or (Local1, 0x04, Local1)
Local1 |= 4
}
Arg1[0] = Local1

View File

@@ -621,7 +621,7 @@ Device (EC0)
*/
Method (UPPS, 1, Serialized)
{
Or (USPP, 1 << Arg0, USPP)
USPP |= 1 << Arg0
}
/*