tree: Replace And(a,b) with ASL 2.0 syntax
Replace `And (a, b)` with `a & b`. Change-Id: Id8bbd1a477e6286bbcb5fa31afd1c7a860b1c7dc Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/70851 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:
@@ -46,7 +46,7 @@
|
||||
{
|
||||
Return (Ones)
|
||||
}
|
||||
If (And(MBOX, 0x4) == 0)
|
||||
If (MBOX & 4 == 0)
|
||||
{
|
||||
Return (Ones)
|
||||
}
|
||||
@@ -74,7 +74,7 @@
|
||||
While (Local0 > 0)
|
||||
{
|
||||
Sleep (1)
|
||||
If (And (ASLC, 0x2) == 0) {
|
||||
If (ASLC & 2 == 0) {
|
||||
/* Request has been processed, check status: */
|
||||
Local1 = (ASLC >> 12) & 3
|
||||
If (Local1 == 0) {
|
||||
|
@@ -13,7 +13,7 @@ Scope (GFX0)
|
||||
ASLS, 32,
|
||||
}
|
||||
|
||||
OperationRegion (GFRG, SystemMemory, And (BAR0, 0xfffffffffffffff0), 0x400000)
|
||||
OperationRegion (GFRG, SystemMemory, BAR0 & 0xfffffffffffffff0, 0x400000)
|
||||
Field (GFRG, DWordAcc, NoLock, Preserve)
|
||||
{
|
||||
Offset (CONFIG_INTEL_GMA_BCLV_OFFSET),
|
||||
|
Reference in New Issue
Block a user