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/beltino/acpi/thermal.asl | 10 +++--- src/mainboard/google/beltino/acpi/usb.asl | 46 +++++++++++++-------------- 2 files changed, 28 insertions(+), 28 deletions(-) (limited to 'src/mainboard/google/beltino') diff --git a/src/mainboard/google/beltino/acpi/thermal.asl b/src/mainboard/google/beltino/acpi/thermal.asl index ef93848b26..3463028bbd 100644 --- a/src/mainboard/google/beltino/acpi/thermal.asl +++ b/src/mainboard/google/beltino/acpi/thermal.asl @@ -160,7 +160,7 @@ Scope (\_TZ) If (\FLVL <= 0) { Return (1) } Else { - Return (Zero) + Return (0) } } Method (_ON) { @@ -185,7 +185,7 @@ Scope (\_TZ) If (\FLVL <= 1) { Return (1) } Else { - Return (Zero) + Return (0) } } Method (_ON) { @@ -210,7 +210,7 @@ Scope (\_TZ) If (\FLVL <= 2) { Return (1) } Else { - Return (Zero) + Return (0) } } Method (_ON) { @@ -235,7 +235,7 @@ Scope (\_TZ) If (\FLVL <= 3) { Return (1) } Else { - Return (Zero) + Return (0) } } Method (_ON) { @@ -260,7 +260,7 @@ Scope (\_TZ) If (\FLVL <= 4) { Return (1) } Else { - Return (Zero) + Return (0) } } Method (_ON) { diff --git a/src/mainboard/google/beltino/acpi/usb.asl b/src/mainboard/google/beltino/acpi/usb.asl index 7cee5acbb3..95d105805e 100644 --- a/src/mainboard/google/beltino/acpi/usb.asl +++ b/src/mainboard/google/beltino/acpi/usb.asl @@ -6,9 +6,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT2) Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities { 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.PRT3) Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities { 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.PRT4) { 0xFF, // Connectable 0xFF, // OEM Connector - Zero, // Reserved - Zero // Reserved + 0, // Reserved + 0 // Reserved }) // Not Visible Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device { - Return (GPLD (Zero)) + Return (GPLD (0)) } } Scope (\_SB.PCI0.XHCI.HUB7.PRT5) @@ -57,9 +57,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT5) Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities { 0xFF, // Connectable - Zero, // USB Port - Zero, // Reserved - Zero // Reserved + 0, // USB Port + 0, // Reserved + 0 // Reserved }) // Visible @@ -74,9 +74,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT6) Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities { 0xFF, // Connectable - Zero, // USB Port - Zero, // Reserved - Zero // Reserved + 0, // USB Port + 0, // Reserved + 0 // Reserved }) // Visible @@ -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,8 +103,8 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP2) { 0xFF, // Connectable 0x03, // USB 3.0 Port - Zero, // Reserved - Zero // Reserved + 0, // Reserved + 0 // Reserved }) } Scope (\_SB.PCI0.XHCI.HUB7.SSP3) @@ -114,8 +114,8 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP3) { 0xFF, // Connectable 0x03, // USB 3.0 Port - Zero, // Reserved - Zero // Reserved + 0, // Reserved + 0 // Reserved }) } Scope (\_SB.PCI0.XHCI.HUB7.SSP4) @@ -125,7 +125,7 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP4) { 0xFF, // Connectable 0x03, // USB 3.0 Port - Zero, // Reserved - Zero // Reserved + 0, // Reserved + 0 // Reserved }) } -- cgit v1.2.3