mb/aopen/dxplplusu/acpi: Replace LAnd() with ASL 2.0 syntax
Replace `LAnd (a, b)` with `a && b`. Change-Id: Ifbd7b282061b27cda9d5d4c17e2ade9459e72c24 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60574 Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
db4cf7f93a
commit
0a137cb91b
|
@ -113,7 +113,7 @@ Device (ICH0)
|
|||
CreateByteField (MSBF, \_SB_.PCI0.ICH0.PMIO._LEN, IOAL)
|
||||
|
||||
Store (PBAR, Local0)
|
||||
If ( Land(Local0, 0x01) )
|
||||
If (Local0 && 1)
|
||||
{
|
||||
And (Local0, 0xFFFE, Local0)
|
||||
Store (Local0, IOA1)
|
||||
|
@ -128,7 +128,7 @@ Device (ICH0)
|
|||
CreateByteField (MSBF, \_SB_.PCI0.ICH0.GPIO._LEN, IOSL)
|
||||
|
||||
Store (GBAR, Local0)
|
||||
If ( Land(Local0, 0x01) ) {
|
||||
If (Local0 && 1) {
|
||||
And (Local0, 0xFFFE, Local0)
|
||||
Store (Local0, IOS1)
|
||||
Store (Local0, IOS2)
|
||||
|
|
Loading…
Reference in New Issue