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/skylake/acpi | |
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/skylake/acpi')
-rw-r--r-- | src/soc/intel/skylake/acpi/systemagent.asl | 4 | ||||
-rw-r--r-- | src/soc/intel/skylake/acpi/xhci.asl | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/soc/intel/skylake/acpi/systemagent.asl b/src/soc/intel/skylake/acpi/systemagent.asl index f9b8f2d7c3..5a15ac5562 100644 --- a/src/soc/intel/skylake/acpi/systemagent.asl +++ b/src/soc/intel/skylake/acpi/systemagent.asl @@ -5,8 +5,8 @@ Name (_HID, EisaId ("PNP0A08") /* PCI Express Bus */) // _HID: Hardware ID Name (_CID, EisaId ("PNP0A03") /* PCI Bus */) // _CID: Compatible ID -Name (_SEG, Zero) // _SEG: PCI Segment -Name (_UID, Zero) // _UID: Unique ID +Name (_SEG, 0) // _SEG: PCI Segment +Name (_UID, 0) // _UID: Unique ID Device (MCHC) { diff --git a/src/soc/intel/skylake/acpi/xhci.asl b/src/soc/intel/skylake/acpi/xhci.asl index 812bbed4ba..e8c5ebf27e 100644 --- a/src/soc/intel/skylake/acpi/xhci.asl +++ b/src/soc/intel/skylake/acpi/xhci.asl @@ -46,7 +46,7 @@ Method (UWES, 3, Serialized) While (1) { FindSetRightBit (Local0, Local1) - If (Local1 == Zero) { + If (Local1 == 0) { Break } UPWE (Local1, Arg1, Arg2) @@ -209,7 +209,7 @@ Device (XHCI) /* Root Hub for Skylake-LP PCH */ Device (RHUB) { - Name (_ADR, Zero) + Name (_ADR, 0) // GPLD: Generate Port Location Data (PLD) Method (GPLD, 1, Serialized) @@ -221,7 +221,7 @@ Device (XHCI) }) // REV: Revision 0x02 for ACPI 5.0 - CreateField (DerefOf (PCKG[0]), Zero, 0x07, REV) + CreateField (DerefOf (PCKG[0]), 0, 0x07, REV) REV = 0x02 // VISI: Port visibility to user per port |