diff options
author | Felix Singer <felixsinger@posteo.net> | 2022-12-26 09:32:47 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-12-27 09:05:56 +0000 |
commit | fa06bcba06c5842faae797629e9f72ec28d511c0 (patch) | |
tree | 8fba8940a2bf47e403ee5009a623960cf344c975 /src/mainboard/google/rambi | |
parent | 7b8ac0030c611ad84d9ba84b3e90c36233a32c11 (diff) |
mainboard/acpi: Replace constant "Zero" with actual number
Change-Id: I4f2f02623b060ef0ebefc5aceb713c77a8b1e9a6
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/71523
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'src/mainboard/google/rambi')
-rw-r--r-- | src/mainboard/google/rambi/variants/candy/include/variant/acpi/usb.asl | 40 | ||||
-rw-r--r-- | src/mainboard/google/rambi/variants/squawks/include/variant/acpi/usb.asl | 28 |
2 files changed, 34 insertions, 34 deletions
diff --git a/src/mainboard/google/rambi/variants/candy/include/variant/acpi/usb.asl b/src/mainboard/google/rambi/variants/candy/include/variant/acpi/usb.asl index 5a9e1efa50..e40d435699 100644 --- a/src/mainboard/google/rambi/variants/candy/include/variant/acpi/usb.asl +++ b/src/mainboard/google/rambi/variants/candy/include/variant/acpi/usb.asl @@ -6,9 +6,9 @@ Scope (\_SB.PCI0.XHCI.RHUB.PRT1) 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 @@ -24,14 +24,14 @@ Scope (\_SB.PCI0.XHCI.RHUB.PRT2) { 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)) } Device (USB1) @@ -42,9 +42,9 @@ Scope (\_SB.PCI0.XHCI.RHUB.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 @@ -63,14 +63,14 @@ Scope (\_SB.PCI0.XHCI.RHUB.PRT2) { 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)) } } } @@ -81,14 +81,14 @@ Scope (\_SB.PCI0.XHCI.RHUB.PRT3) { 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.RHUB.PRT4) @@ -98,14 +98,14 @@ Scope (\_SB.PCI0.XHCI.RHUB.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.RHUB.SSP1) @@ -115,7 +115,7 @@ Scope (\_SB.PCI0.XHCI.RHUB.SSP1) { 0xFF, // Connectable 0x03, // USB 3.0 Port - Zero, // Reserved - Zero // Reserved + 0, // Reserved + 0 // Reserved }) } diff --git a/src/mainboard/google/rambi/variants/squawks/include/variant/acpi/usb.asl b/src/mainboard/google/rambi/variants/squawks/include/variant/acpi/usb.asl index 888ca5b841..fd4236753c 100644 --- a/src/mainboard/google/rambi/variants/squawks/include/variant/acpi/usb.asl +++ b/src/mainboard/google/rambi/variants/squawks/include/variant/acpi/usb.asl @@ -6,9 +6,9 @@ Scope (\_SB.PCI0.XHCI.RHUB.PRT1) 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.RHUB.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 @@ -41,14 +41,14 @@ Scope (\_SB.PCI0.XHCI.RHUB.PRT3) { 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.RHUB.PRT4) @@ -58,14 +58,14 @@ Scope (\_SB.PCI0.XHCI.RHUB.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.RHUB.SSP1) @@ -75,7 +75,7 @@ Scope (\_SB.PCI0.XHCI.RHUB.SSP1) { 0xFF, // Connectable 0x03, // USB 3.0 Port - Zero, // Reserved - Zero // Reserved + 0, // Reserved + 0 // Reserved }) } |