tree/acpi: Replace constant "Zero" with actual number
Change-Id: I5a3e3506415f424bf0fdd48fc449520a76622af5
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/71525
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
diff --git a/src/soc/intel/icelake/acpi/pch_hda.asl b/src/soc/intel/icelake/acpi/pch_hda.asl
index 01f957c..4941f6a 100644
--- a/src/soc/intel/icelake/acpi/pch_hda.asl
+++ b/src/soc/intel/icelake/acpi/pch_hda.asl
@@ -31,12 +31,12 @@
* 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 })