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:
@@ -252,7 +252,7 @@ Method (_OSC, 4)
|
||||
|
||||
/* Else Return Unrecognized UUID */
|
||||
CreateDWordField (Arg3, 0, CDW1)
|
||||
Or (CDW1, 4, CDW1)
|
||||
CDW1 |= 4
|
||||
Return (Arg3)
|
||||
|
||||
}
|
||||
|
@@ -173,7 +173,7 @@ Method (_OSC, 4)
|
||||
{
|
||||
/* Unrecognized UUID */
|
||||
CreateDWordField (Arg3, 0, CDW1)
|
||||
Or (CDW1, 4, CDW1)
|
||||
CDW1 |= 4
|
||||
Return (Arg3)
|
||||
}
|
||||
}
|
||||
|
@@ -175,7 +175,7 @@ Method (_OSC, 4)
|
||||
{
|
||||
/* Unrecognized UUID */
|
||||
CreateDWordField (Arg3, 0, CDW1)
|
||||
Or (CDW1, 4, CDW1)
|
||||
CDW1 |= 4
|
||||
Return (Arg3)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user