diff options
author | Felix Singer <felixsinger@posteo.net> | 2022-12-26 09:43:07 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-12-27 09:06:47 +0000 |
commit | 9df60d36b2637c500030e7c9cef620002f7f47bf (patch) | |
tree | ee8b6e961747141ca37db831680fb3f371e4782a /src/soc/intel/jasperlake | |
parent | 42efd7f593c9d270ff330d1282d9c569d1ec709a (diff) |
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>
Diffstat (limited to 'src/soc/intel/jasperlake')
-rw-r--r-- | src/soc/intel/jasperlake/acpi/pch_hda.asl | 4 | ||||
-rw-r--r-- | src/soc/intel/jasperlake/acpi/xhci.asl | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/intel/jasperlake/acpi/pch_hda.asl b/src/soc/intel/jasperlake/acpi/pch_hda.asl index dd031bff2c..e4ab7fb634 100644 --- a/src/soc/intel/jasperlake/acpi/pch_hda.asl +++ b/src/soc/intel/jasperlake/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 }) diff --git a/src/soc/intel/jasperlake/acpi/xhci.asl b/src/soc/intel/jasperlake/acpi/xhci.asl index 85ce862450..8ecbe4723d 100644 --- a/src/soc/intel/jasperlake/acpi/xhci.asl +++ b/src/soc/intel/jasperlake/acpi/xhci.asl @@ -27,7 +27,7 @@ Device (XHCI) /* Root Hub for Jasperlake PCH */ Device (RHUB) { - Name (_ADR, Zero) + Name (_ADR, 0) /* USB2 */ Device (HS01) { Name (_ADR, 1) } |