diff options
author | Felix Singer <felixsinger@posteo.net> | 2022-12-11 23:55:57 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-12-12 22:09:00 +0000 |
commit | 8f75d79e749fc1fd0edf180fd68df30f0f30f811 (patch) | |
tree | 1efe151004908082c6712aad7bfb89e362537f7c /src/soc/intel/icelake/acpi | |
parent | 49384da933d46d6aa2514d44bac03c335d283607 (diff) |
soc/intel/acpi: Replace LNotEqual(a,b) with ASL 2.0 syntax
Replace `LNotEqual (a, b)` with `a != b`.
Change-Id: Ia1bd22a62ec2868324a88400e27ed52c9f169751
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70619
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/icelake/acpi')
-rw-r--r-- | src/soc/intel/icelake/acpi/pch_hda.asl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/soc/intel/icelake/acpi/pch_hda.asl b/src/soc/intel/icelake/acpi/pch_hda.asl index d0f966a0dc..b5b5416f1c 100644 --- a/src/soc/intel/icelake/acpi/pch_hda.asl +++ b/src/soc/intel/icelake/acpi/pch_hda.asl @@ -37,8 +37,7 @@ Device (HDAS) * if NHLT address and length are set in NVS. */ If (LAnd (Arg1 == One, - LAnd (LNotEqual (NHLA, Zero), - LNotEqual (NHLL, Zero)))) { + LAnd (NHLA != Zero, NHLL != Zero))) { Return (Buffer (One) { 0x03 }) } Else { Return (Buffer (One) { 0x01 }) |