From 9df60d36b2637c500030e7c9cef620002f7f47bf Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Mon, 26 Dec 2022 09:43:07 +0100 Subject: tree/acpi: Replace constant "Zero" with actual number Change-Id: I5a3e3506415f424bf0fdd48fc449520a76622af5 Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/71525 Reviewed-by: Subrata Banik Reviewed-by: Elyes Haouas Tested-by: build bot (Jenkins) --- src/soc/intel/icelake/acpi/pch_hda.asl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/soc/intel/icelake/acpi/pch_hda.asl') diff --git a/src/soc/intel/icelake/acpi/pch_hda.asl b/src/soc/intel/icelake/acpi/pch_hda.asl index 01f957c0a7..4941f6a137 100644 --- a/src/soc/intel/icelake/acpi/pch_hda.asl +++ b/src/soc/intel/icelake/acpi/pch_hda.asl @@ -31,12 +31,12 @@ Device (HDAS) * Function 0: Function Support Query * Returns a bitmask of functions supported. */ - If (Arg2 == Zero) { + If (Arg2 == 0) { /* * NHLT Query only supported for revision 1 and * if NHLT address and length are set in NVS. */ - If (Arg1 == 1 && NHLA != Zero && NHLL != Zero) { + If (Arg1 == 1 && NHLA != 0 && NHLL != 0) { Return (Buffer (1) { 0x03 }) } Else { Return (Buffer (1) { 0x01 }) -- cgit v1.2.3