From fa06bcba06c5842faae797629e9f72ec28d511c0 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Mon, 26 Dec 2022 09:32:47 +0100 Subject: mainboard/acpi: Replace constant "Zero" with actual number Change-Id: I4f2f02623b060ef0ebefc5aceb713c77a8b1e9a6 Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/71523 Reviewed-by: Elyes Haouas Tested-by: build bot (Jenkins) Reviewed-by: Eric Lai --- src/mainboard/google/slippy/dsdt.asl | 2 +- .../variants/peppy/include/variant/acpi/usb.asl | 40 +++++++++++----------- .../variants/wolf/include/variant/acpi/usb.asl | 38 ++++++++++---------- 3 files changed, 40 insertions(+), 40 deletions(-) (limited to 'src/mainboard/google/slippy') diff --git a/src/mainboard/google/slippy/dsdt.asl b/src/mainboard/google/slippy/dsdt.asl index 37e854a354..aaf67bf522 100644 --- a/src/mainboard/google/slippy/dsdt.asl +++ b/src/mainboard/google/slippy/dsdt.asl @@ -36,7 +36,7 @@ DefinitionBlock( { Device (WLAN) { - Name (_ADR, Zero) + Name (_ADR, 0) } } diff --git a/src/mainboard/google/slippy/variants/peppy/include/variant/acpi/usb.asl b/src/mainboard/google/slippy/variants/peppy/include/variant/acpi/usb.asl index 15a13286db..4f312fa3ca 100644 --- a/src/mainboard/google/slippy/variants/peppy/include/variant/acpi/usb.asl +++ b/src/mainboard/google/slippy/variants/peppy/include/variant/acpi/usb.asl @@ -7,14 +7,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT1) { 0xFF, // Connectable 0xFF, // OEM Connector - Zero, // Reserved - Zero // Reserved + 0, // Reserved + 0 // Reserved }) // Not Visible Method (_PLD, 0, NotSerialized) { - Return (GPLD (Zero)) + Return (GPLD (0)) } } Scope (\_SB.PCI0.XHCI.HUB7.PRT2) @@ -23,9 +23,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT2) Name (_UPC, Package (0x04) { 0xFF, // Connectable - Zero, // USB Port - Zero, // Reserved - Zero // Reserved + 0, // USB Port + 0, // Reserved + 0 // Reserved }) // Visible @@ -41,14 +41,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT3) { 0xFF, // Connectable 0xFF, // OEM Connector - Zero, // Reserved - Zero // Reserved + 0, // Reserved + 0 // Reserved }) // Not Visible Method (_PLD, 0, NotSerialized) { - Return (GPLD (Zero)) + Return (GPLD (0)) } } Scope (\_SB.PCI0.XHCI.HUB7.PRT4) @@ -58,14 +58,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT4) { 0xFF, // Connectable 0xFF, // OEM Connector - Zero, // Reserved - Zero // Reserved + 0, // Reserved + 0 // Reserved }) // Not Visible Method (_PLD, 0, NotSerialized) { - Return (GPLD (Zero)) + Return (GPLD (0)) } } Scope (\_SB.PCI0.XHCI.HUB7.PRT5) @@ -74,9 +74,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT5) Name (_UPC, Package (0x04) { 0xFF, // Connectable - Zero, // USB Port - Zero, // Reserved - Zero // Reserved + 0, // USB Port + 0, // Reserved + 0 // Reserved }) // Visible @@ -92,14 +92,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT7) { 0xFF, // Connectable 0xFF, // OEM Connector - Zero, // Reserved - Zero // Reserved + 0, // Reserved + 0 // Reserved }) // Not Visible Method (_PLD, 0, NotSerialized) { - Return (GPLD (Zero)) + Return (GPLD (0)) } } Scope (\_SB.PCI0.XHCI.HUB7.SSP1) @@ -109,7 +109,7 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP1) { 0xFF, // Connectable 0x03, // USB 3.0 Port - Zero, // Reserved - Zero // Reserved + 0, // Reserved + 0 // Reserved }) } diff --git a/src/mainboard/google/slippy/variants/wolf/include/variant/acpi/usb.asl b/src/mainboard/google/slippy/variants/wolf/include/variant/acpi/usb.asl index 7dff13a3e3..bc2b5bf3b3 100644 --- a/src/mainboard/google/slippy/variants/wolf/include/variant/acpi/usb.asl +++ b/src/mainboard/google/slippy/variants/wolf/include/variant/acpi/usb.asl @@ -6,9 +6,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT1) Name (_UPC, Package (0x04) { 0xFF, // Connectable - Zero, // USB Port - Zero, // Reserved - Zero // Reserved + 0, // USB Port + 0, // Reserved + 0 // Reserved }) // Visible @@ -23,9 +23,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT2) Name (_UPC, Package (0x04) { 0xFF, // Connectable - Zero, // USB Port - Zero, // Reserved - Zero // Reserved + 0, // USB Port + 0, // Reserved + 0 // Reserved }) // Visible @@ -41,14 +41,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT3) { 0xFF, // Connectable 0xFF, // OEM Connector - Zero, // Reserved - Zero // Reserved + 0, // Reserved + 0 // Reserved }) // Not Visible Method (_PLD, 0, NotSerialized) { - Return (GPLD (Zero)) + Return (GPLD (0)) } } Scope (\_SB.PCI0.XHCI.HUB7.PRT4) @@ -58,14 +58,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT4) { 0xFF, // Connectable 0xFF, // OEM Connector - Zero, // Reserved - Zero // Reserved + 0, // Reserved + 0 // Reserved }) // Not Visible Method (_PLD, 0, NotSerialized) { - Return (GPLD (Zero)) + Return (GPLD (0)) } } Scope (\_SB.PCI0.XHCI.HUB7.PRT7) @@ -75,14 +75,14 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT7) { 0xFF, // Connectable 0xFF, // OEM Connector - Zero, // Reserved - Zero // Reserved + 0, // Reserved + 0 // Reserved }) // Not Visible Method (_PLD, 0, NotSerialized) { - Return (GPLD (Zero)) + Return (GPLD (0)) } } Scope (\_SB.PCI0.XHCI.HUB7.SSP1) @@ -92,8 +92,8 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP1) { 0xFF, // Connectable 0x03, // USB 3.0 Port - Zero, // Reserved - Zero // Reserved + 0, // Reserved + 0 // Reserved }) } Scope (\_SB.PCI0.XHCI.HUB7.SSP2) @@ -103,7 +103,7 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP2) { 0xFF, // Connectable 0x03, // USB 3.0 Port - Zero, // Reserved - Zero // Reserved + 0, // Reserved + 0 // Reserved }) } -- cgit v1.2.3