summaryrefslogtreecommitdiff
path: root/src/mainboard/google/jecht/variants/rikku
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-12-26 09:32:47 +0100
committerFelix Singer <felixsinger@posteo.net>2022-12-27 09:05:56 +0000
commitfa06bcba06c5842faae797629e9f72ec28d511c0 (patch)
tree8fba8940a2bf47e403ee5009a623960cf344c975 /src/mainboard/google/jecht/variants/rikku
parent7b8ac0030c611ad84d9ba84b3e90c36233a32c11 (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/jecht/variants/rikku')
-rw-r--r--src/mainboard/google/jecht/variants/rikku/include/variant/acpi/thermal.asl10
-rw-r--r--src/mainboard/google/jecht/variants/rikku/include/variant/acpi/usb.asl52
2 files changed, 31 insertions, 31 deletions
diff --git a/src/mainboard/google/jecht/variants/rikku/include/variant/acpi/thermal.asl b/src/mainboard/google/jecht/variants/rikku/include/variant/acpi/thermal.asl
index 2f6fd90ec9..d4957f44a4 100644
--- a/src/mainboard/google/jecht/variants/rikku/include/variant/acpi/thermal.asl
+++ b/src/mainboard/google/jecht/variants/rikku/include/variant/acpi/thermal.asl
@@ -161,7 +161,7 @@ Scope (\_TZ)
If (\FLVL <= 0) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -186,7 +186,7 @@ Scope (\_TZ)
If (\FLVL <= 1) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -211,7 +211,7 @@ Scope (\_TZ)
If (\FLVL <= 2) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -236,7 +236,7 @@ Scope (\_TZ)
If (\FLVL <= 3) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
@@ -261,7 +261,7 @@ Scope (\_TZ)
If (\FLVL <= 4) {
Return (1)
} Else {
- Return (Zero)
+ Return (0)
}
}
Method (_ON) {
diff --git a/src/mainboard/google/jecht/variants/rikku/include/variant/acpi/usb.asl b/src/mainboard/google/jecht/variants/rikku/include/variant/acpi/usb.asl
index 7c3283c46c..4ca9ae2e58 100644
--- a/src/mainboard/google/jecht/variants/rikku/include/variant/acpi/usb.asl
+++ b/src/mainboard/google/jecht/variants/rikku/include/variant/acpi/usb.asl
@@ -6,9 +6,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
@@ -23,9 +23,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT3)
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.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)
@@ -57,9 +57,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
@@ -74,9 +74,9 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT6)
Name (_UPC, Package (0x04)
{
0xFF, // Connectable
- Zero, // USB Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // USB Port
+ 0, // Reserved
+ 0 // Reserved
})
// Visible
@@ -93,14 +93,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.SSP3)
@@ -110,8 +110,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)
@@ -121,8 +121,8 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP4)
{
0xFF, // Connectable
0x03, // USB 3.0 Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
}
Scope (\_SB.PCI0.XHCI.HUB7.SSP5)
@@ -132,8 +132,8 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP5)
{
0xFF, // Connectable
0x03, // USB 3.0 Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
}
Scope (\_SB.PCI0.XHCI.HUB7.SSP6)
@@ -143,7 +143,7 @@ Scope (\_SB.PCI0.XHCI.HUB7.SSP6)
{
0xFF, // Connectable
0x03, // USB 3.0 Port
- Zero, // Reserved
- Zero // Reserved
+ 0, // Reserved
+ 0 // Reserved
})
}