summaryrefslogtreecommitdiff
path: root/src/soc/intel
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-12-26 09:43:07 +0100
committerFelix Singer <felixsinger@posteo.net>2022-12-27 09:06:47 +0000
commit9df60d36b2637c500030e7c9cef620002f7f47bf (patch)
treeee8b6e961747141ca37db831680fb3f371e4782a /src/soc/intel
parent42efd7f593c9d270ff330d1282d9c569d1ec709a (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')
-rw-r--r--src/soc/intel/alderlake/acpi/tcss_xhci.asl2
-rw-r--r--src/soc/intel/alderlake/acpi/xhci.asl4
-rw-r--r--src/soc/intel/apollolake/acpi/xhci.asl2
-rw-r--r--src/soc/intel/baytrail/acpi/dptf/charger.asl2
-rw-r--r--src/soc/intel/baytrail/acpi/irqlinks.asl16
-rw-r--r--src/soc/intel/baytrail/acpi/southcluster.asl8
-rw-r--r--src/soc/intel/baytrail/acpi/xhci.asl2
-rw-r--r--src/soc/intel/braswell/acpi/dptf/charger.asl2
-rw-r--r--src/soc/intel/braswell/acpi/irqlinks.asl16
-rw-r--r--src/soc/intel/braswell/acpi/scc.asl2
-rw-r--r--src/soc/intel/braswell/acpi/southcluster.asl8
-rw-r--r--src/soc/intel/cannonlake/acpi/xhci.asl4
-rw-r--r--src/soc/intel/common/acpi/wifi.asl2
-rw-r--r--src/soc/intel/common/block/acpi/acpi/northbridge.asl4
-rw-r--r--src/soc/intel/elkhartlake/acpi/pch_hda.asl4
-rw-r--r--src/soc/intel/elkhartlake/acpi/xhci.asl2
-rw-r--r--src/soc/intel/icelake/acpi/pch_hda.asl4
-rw-r--r--src/soc/intel/icelake/acpi/xhci.asl2
-rw-r--r--src/soc/intel/jasperlake/acpi/pch_hda.asl4
-rw-r--r--src/soc/intel/jasperlake/acpi/xhci.asl2
-rw-r--r--src/soc/intel/meteorlake/acpi/tcss_xhci.asl2
-rw-r--r--src/soc/intel/meteorlake/acpi/xhci.asl2
-rw-r--r--src/soc/intel/skylake/acpi/systemagent.asl4
-rw-r--r--src/soc/intel/skylake/acpi/xhci.asl6
-rw-r--r--src/soc/intel/tigerlake/acpi/tcss_xhci.asl2
-rw-r--r--src/soc/intel/tigerlake/acpi/xhci.asl4
26 files changed, 56 insertions, 56 deletions
diff --git a/src/soc/intel/alderlake/acpi/tcss_xhci.asl b/src/soc/intel/alderlake/acpi/tcss_xhci.asl
index b3fe653d26..0b7aa093e1 100644
--- a/src/soc/intel/alderlake/acpi/tcss_xhci.asl
+++ b/src/soc/intel/alderlake/acpi/tcss_xhci.asl
@@ -109,7 +109,7 @@ Method (_DSW, 3)
*/
Device (RHUB)
{
- Name (_ADR, Zero)
+ Name (_ADR, 0)
/* High Speed Ports */
Device (HS01)
diff --git a/src/soc/intel/alderlake/acpi/xhci.asl b/src/soc/intel/alderlake/acpi/xhci.asl
index b44bc671f7..3ccc22eb91 100644
--- a/src/soc/intel/alderlake/acpi/xhci.asl
+++ b/src/soc/intel/alderlake/acpi/xhci.asl
@@ -27,7 +27,7 @@ Device (XHCI)
/* Root Hub for Alder Lake-P PCH */
Device (RHUB)
{
- Name (_ADR, Zero)
+ Name (_ADR, 0)
/* USB2 */
Device (HS01) { Name (_ADR, 1) }
@@ -60,7 +60,7 @@ Device (XHCI)
/* Root Hub for Alder Lake-P PCH */
Device (RHUB)
{
- Name (_ADR, Zero)
+ Name (_ADR, 0)
/* USB2 */
Device (HS01) { Name (_ADR, 1) }
diff --git a/src/soc/intel/apollolake/acpi/xhci.asl b/src/soc/intel/apollolake/acpi/xhci.asl
index 1e506225a5..1f38e4cd02 100644
--- a/src/soc/intel/apollolake/acpi/xhci.asl
+++ b/src/soc/intel/apollolake/acpi/xhci.asl
@@ -19,7 +19,7 @@ Device (XHCI) {
Device (RHUB)
{
/* Root Hub */
- Name (_ADR, Zero)
+ Name (_ADR, 0)
#if CONFIG(SOC_INTEL_GEMINILAKE)
#include "xhci_glk_ports.asl"
diff --git a/src/soc/intel/baytrail/acpi/dptf/charger.asl b/src/soc/intel/baytrail/acpi/dptf/charger.asl
index d4a92f1af7..44e40646b7 100644
--- a/src/soc/intel/baytrail/acpi/dptf/charger.asl
+++ b/src/soc/intel/baytrail/acpi/dptf/charger.asl
@@ -30,7 +30,7 @@ Device (TCHG)
Local0--
/* Check if charging is disabled (AC removed) */
- If (\PWRS == Zero) {
+ If (\PWRS == 0) {
/* Return last power state */
Return (Local0)
} Else {
diff --git a/src/soc/intel/baytrail/acpi/irqlinks.asl b/src/soc/intel/baytrail/acpi/irqlinks.asl
index 1586ec59e5..af89c33091 100644
--- a/src/soc/intel/baytrail/acpi/irqlinks.asl
+++ b/src/soc/intel/baytrail/acpi/irqlinks.asl
@@ -28,7 +28,7 @@ Device (LNKA)
CreateWordField(RTLA, 1, IRQ0)
/* Clear the WordField */
- IRQ0 = Zero
+ IRQ0 = 0
/* Set the bit from PRTA */
IRQ0 = 1 << (PRTA & 0x0f)
@@ -87,7 +87,7 @@ Device (LNKB)
CreateWordField(RTLB, 1, IRQ0)
/* Clear the WordField */
- IRQ0 = Zero
+ IRQ0 = 0
/* Set the bit from PRTB */
IRQ0 = 1 << (PRTB & 0x0f)
@@ -146,7 +146,7 @@ Device (LNKC)
CreateWordField(RTLC, 1, IRQ0)
/* Clear the WordField */
- IRQ0 = Zero
+ IRQ0 = 0
/* Set the bit from PRTC */
IRQ0 = 1 << (PRTC & 0x0f)
@@ -205,7 +205,7 @@ Device (LNKD)
CreateWordField(RTLD, 1, IRQ0)
/* Clear the WordField */
- IRQ0 = Zero
+ IRQ0 = 0
/* Set the bit from PRTD */
IRQ0 = 1 << (PRTD & 0x0f)
@@ -264,7 +264,7 @@ Device (LNKE)
CreateWordField(RTLE, 1, IRQ0)
/* Clear the WordField */
- IRQ0 = Zero
+ IRQ0 = 0
/* Set the bit from PRTE */
IRQ0 = 1 << (PRTE & 0x0f)
@@ -323,7 +323,7 @@ Device (LNKF)
CreateWordField(RTLF, 1, IRQ0)
/* Clear the WordField */
- IRQ0 = Zero
+ IRQ0 = 0
/* Set the bit from PRTF */
IRQ0 = 1 << (PRTF & 0x0f)
@@ -382,7 +382,7 @@ Device (LNKG)
CreateWordField(RTLG, 1, IRQ0)
/* Clear the WordField */
- IRQ0 = Zero
+ IRQ0 = 0
/* Set the bit from PRTG */
IRQ0 = 1 << (PRTG & 0x0f)
@@ -441,7 +441,7 @@ Device (LNKH)
CreateWordField(RTLH, 1, IRQ0)
/* Clear the WordField */
- IRQ0 = Zero
+ IRQ0 = 0
/* Set the bit from PRTH */
IRQ0 = 1 << (PRTH & 0x0f)
diff --git a/src/soc/intel/baytrail/acpi/southcluster.asl b/src/soc/intel/baytrail/acpi/southcluster.asl
index 53f181eaad..dacdd29e06 100644
--- a/src/soc/intel/baytrail/acpi/southcluster.asl
+++ b/src/soc/intel/baytrail/acpi/southcluster.asl
@@ -155,7 +155,7 @@ Method (_CRS, 0, Serialized)
CreateDWordField (MCRS, ^LMEM._MIN, LMIN)
CreateDWordField (MCRS, ^LMEM._MAX, LMAX)
CreateDWordField (MCRS, ^LMEM._LEN, LLEN)
- If (LPFW != Zero && LPEN == 1)
+ If (LPFW != 0 && LPEN == 1)
{
LMIN = LPFW
LLEN = 0x00100000
@@ -163,9 +163,9 @@ Method (_CRS, 0, Serialized)
}
Else
{
- LMIN = Zero
- LMAX = Zero
- LLEN = Zero
+ LMIN = 0
+ LMAX = 0
+ LLEN = 0
}
/* Update PCI resource area */
diff --git a/src/soc/intel/baytrail/acpi/xhci.asl b/src/soc/intel/baytrail/acpi/xhci.asl
index 86b6ae9bf0..368f34faad 100644
--- a/src/soc/intel/baytrail/acpi/xhci.asl
+++ b/src/soc/intel/baytrail/acpi/xhci.asl
@@ -17,7 +17,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
diff --git a/src/soc/intel/braswell/acpi/dptf/charger.asl b/src/soc/intel/braswell/acpi/dptf/charger.asl
index 76209c9a46..0c9b3f51d2 100644
--- a/src/soc/intel/braswell/acpi/dptf/charger.asl
+++ b/src/soc/intel/braswell/acpi/dptf/charger.asl
@@ -30,7 +30,7 @@ Device (TCHG)
Local0--
/* Check if charging is disabled (AC removed) */
- If (\_SB.PCI0.LPCB.EC0.ACEX == Zero) {
+ If (\_SB.PCI0.LPCB.EC0.ACEX == 0) {
/* Return last power state */
Return (Local0)
} Else {
diff --git a/src/soc/intel/braswell/acpi/irqlinks.asl b/src/soc/intel/braswell/acpi/irqlinks.asl
index e3df22de7b..b1d9d6acb5 100644
--- a/src/soc/intel/braswell/acpi/irqlinks.asl
+++ b/src/soc/intel/braswell/acpi/irqlinks.asl
@@ -28,7 +28,7 @@ Device (LNKA)
CreateWordField(RTLA, 1, IRQ0)
/* Clear the WordField */
- IRQ0 = Zero
+ IRQ0 = 0
/* Set the bit from PRTA */
IRQ0 = 1 << (PRTA & 0x0f)
@@ -87,7 +87,7 @@ Device (LNKB)
CreateWordField(RTLB, 1, IRQ0)
/* Clear the WordField */
- IRQ0 = Zero
+ IRQ0 = 0
/* Set the bit from PRTB */
IRQ0 = 1 << (PRTB & 0x0f)
@@ -146,7 +146,7 @@ Device (LNKC)
CreateWordField(RTLC, 1, IRQ0)
/* Clear the WordField */
- IRQ0 = Zero
+ IRQ0 = 0
/* Set the bit from PRTC */
IRQ0 = 1 << (PRTC & 0x0f)
@@ -205,7 +205,7 @@ Device (LNKD)
CreateWordField(RTLD, 1, IRQ0)
/* Clear the WordField */
- IRQ0 = Zero
+ IRQ0 = 0
/* Set the bit from PRTD */
IRQ0 = 1 << (PRTD & 0x0f)
@@ -264,7 +264,7 @@ Device (LNKE)
CreateWordField(RTLE, 1, IRQ0)
/* Clear the WordField */
- IRQ0 = Zero
+ IRQ0 = 0
/* Set the bit from PRTE */
IRQ0 = 1 << (PRTE & 0x0f)
@@ -323,7 +323,7 @@ Device (LNKF)
CreateWordField(RTLF, 1, IRQ0)
/* Clear the WordField */
- IRQ0 = Zero
+ IRQ0 = 0
/* Set the bit from PRTF */
IRQ0 = 1 << (PRTF & 0x0f)
@@ -382,7 +382,7 @@ Device (LNKG)
CreateWordField(RTLG, 1, IRQ0)
/* Clear the WordField */
- IRQ0 = Zero
+ IRQ0 = 0
/* Set the bit from PRTG */
IRQ0 = 1 << (PRTG & 0x0f)
@@ -441,7 +441,7 @@ Device (LNKH)
CreateWordField(RTLH, 1, IRQ0)
/* Clear the WordField */
- IRQ0 = Zero
+ IRQ0 = 0
/* Set the bit from PRTH */
IRQ0 = 1 << (PRTH & 0x0f)
diff --git a/src/soc/intel/braswell/acpi/scc.asl b/src/soc/intel/braswell/acpi/scc.asl
index 91c5d278f1..a071e0861d 100644
--- a/src/soc/intel/braswell/acpi/scc.asl
+++ b/src/soc/intel/braswell/acpi/scc.asl
@@ -96,7 +96,7 @@ Device (PEMC)
Name (_ADR, 0x08)
Method (_RMV, 0, NotSerialized)
{
- Return (Zero)
+ Return (0)
}
}
}
diff --git a/src/soc/intel/braswell/acpi/southcluster.asl b/src/soc/intel/braswell/acpi/southcluster.asl
index 39aa076caf..3dcc6c1951 100644
--- a/src/soc/intel/braswell/acpi/southcluster.asl
+++ b/src/soc/intel/braswell/acpi/southcluster.asl
@@ -154,7 +154,7 @@ Method (_CRS, 0, Serialized)
CreateDWordField (MCRS, LMEM._MIN, LMIN)
CreateDWordField (MCRS, LMEM._MAX, LMAX)
CreateDWordField (MCRS, LMEM._LEN, LLEN)
- If (LPFW != Zero && LPEN == 1)
+ If (LPFW != 0 && LPEN == 1)
{
LMIN = LPFW
LMAX = LMIN + 0x001FFFFF
@@ -162,9 +162,9 @@ Method (_CRS, 0, Serialized)
}
Else
{
- LMIN = Zero
- LMAX = Zero
- LLEN = Zero
+ LMIN = 0
+ LMAX = 0
+ LLEN = 0
}
/* Update PCI resource area */
diff --git a/src/soc/intel/cannonlake/acpi/xhci.asl b/src/soc/intel/cannonlake/acpi/xhci.asl
index 20a56debf9..fbe811e952 100644
--- a/src/soc/intel/cannonlake/acpi/xhci.asl
+++ b/src/soc/intel/cannonlake/acpi/xhci.asl
@@ -48,7 +48,7 @@ Method (UWES, 3, Serialized)
While (1) {
FindSetRightBit (Local0, Local1)
- If (Local1 == Zero) {
+ If (Local1 == 0) {
Break
}
UPWE (Local1, Arg1, Arg2)
@@ -102,7 +102,7 @@ Device (XHCI)
/* Root Hub for Cannonlake-LP PCH */
Device (RHUB)
{
- Name (_ADR, Zero)
+ Name (_ADR, 0)
/* USB2 */
Device (HS01) { Name (_ADR, 1) }
diff --git a/src/soc/intel/common/acpi/wifi.asl b/src/soc/intel/common/acpi/wifi.asl
index 23923a5c18..56c84550c3 100644
--- a/src/soc/intel/common/acpi/wifi.asl
+++ b/src/soc/intel/common/acpi/wifi.asl
@@ -2,7 +2,7 @@
Device (WIFI)
{
- Name (_ADR, Zero)
+ Name (_ADR, 0)
OperationRegion(WIXX, PCI_Config, 0x00, 0x10)
Name (WRDX, Package()
{
diff --git a/src/soc/intel/common/block/acpi/acpi/northbridge.asl b/src/soc/intel/common/block/acpi/acpi/northbridge.asl
index 28d38edc0d..4ef151fc98 100644
--- a/src/soc/intel/common/block/acpi/acpi/northbridge.asl
+++ b/src/soc/intel/common/block/acpi/acpi/northbridge.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/elkhartlake/acpi/pch_hda.asl b/src/soc/intel/elkhartlake/acpi/pch_hda.asl
index dd031bff2c..e4ab7fb634 100644
--- a/src/soc/intel/elkhartlake/acpi/pch_hda.asl
+++ b/src/soc/intel/elkhartlake/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/elkhartlake/acpi/xhci.asl b/src/soc/intel/elkhartlake/acpi/xhci.asl
index fb57065b87..89eaea35d8 100644
--- a/src/soc/intel/elkhartlake/acpi/xhci.asl
+++ b/src/soc/intel/elkhartlake/acpi/xhci.asl
@@ -27,7 +27,7 @@ Device (XHCI)
/* Root Hub for Elkhartlake PCH */
Device (RHUB)
{
- Name (_ADR, Zero)
+ Name (_ADR, 0)
/* USB2 */
Device (HS01) { Name (_ADR, 1) }
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 })
diff --git a/src/soc/intel/icelake/acpi/xhci.asl b/src/soc/intel/icelake/acpi/xhci.asl
index bde7045357..73f7906d17 100644
--- a/src/soc/intel/icelake/acpi/xhci.asl
+++ b/src/soc/intel/icelake/acpi/xhci.asl
@@ -27,7 +27,7 @@ Device (XHCI)
/* Root Hub for Icelake-LP PCH */
Device (RHUB)
{
- Name (_ADR, Zero)
+ Name (_ADR, 0)
/* USB2 */
Device (HS01) { Name (_ADR, 1) }
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) }
diff --git a/src/soc/intel/meteorlake/acpi/tcss_xhci.asl b/src/soc/intel/meteorlake/acpi/tcss_xhci.asl
index acbeb30c13..422e6f7f45 100644
--- a/src/soc/intel/meteorlake/acpi/tcss_xhci.asl
+++ b/src/soc/intel/meteorlake/acpi/tcss_xhci.asl
@@ -103,7 +103,7 @@ Method (_DSW, 3)
*/
Device (RHUB)
{
- Name (_ADR, Zero)
+ Name (_ADR, 0)
/* High Speed Ports */
Device (HS01)
diff --git a/src/soc/intel/meteorlake/acpi/xhci.asl b/src/soc/intel/meteorlake/acpi/xhci.asl
index 34b96f35d7..a2ddebd9ed 100644
--- a/src/soc/intel/meteorlake/acpi/xhci.asl
+++ b/src/soc/intel/meteorlake/acpi/xhci.asl
@@ -27,7 +27,7 @@ Device (XHCI)
/* Root Hub for Meteorlake */
Device (RHUB)
{
- Name (_ADR, Zero)
+ Name (_ADR, 0)
/* USB2 */
Device (HS01) { Name (_ADR, 1) }
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
diff --git a/src/soc/intel/tigerlake/acpi/tcss_xhci.asl b/src/soc/intel/tigerlake/acpi/tcss_xhci.asl
index 32aa2f28bd..1ca4117697 100644
--- a/src/soc/intel/tigerlake/acpi/tcss_xhci.asl
+++ b/src/soc/intel/tigerlake/acpi/tcss_xhci.asl
@@ -109,7 +109,7 @@ Method (_DSW, 3)
*/
Device (RHUB)
{
- Name (_ADR, Zero)
+ Name (_ADR, 0)
/* High Speed Ports */
Device (HS01)
diff --git a/src/soc/intel/tigerlake/acpi/xhci.asl b/src/soc/intel/tigerlake/acpi/xhci.asl
index 4215185eb3..d321be7c89 100644
--- a/src/soc/intel/tigerlake/acpi/xhci.asl
+++ b/src/soc/intel/tigerlake/acpi/xhci.asl
@@ -28,7 +28,7 @@ Device (XHCI)
/* Root Hub for Tigerlake-H PCH */
Device (RHUB)
{
- Name (_ADR, Zero)
+ Name (_ADR, 0)
/* USB2 */
Device (HS01) { Name (_ADR, 1) }
@@ -62,7 +62,7 @@ Device (XHCI)
/* Root Hub for Tigerlake-LP PCH */
Device (RHUB)
{
- Name (_ADR, Zero)
+ Name (_ADR, 0)
/* USB2 */
Device (HS01) { Name (_ADR, 1) }