summaryrefslogtreecommitdiff
path: root/src/mainboard/google/beltino/acpi
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-12-26 08:39:35 +0100
committerFelix Singer <felixsinger@posteo.net>2022-12-27 09:04:02 +0000
commitdfbb634ae16065811894d67ff802c1e838ce0749 (patch)
tree0ad779089e19231a8e1c279ab40b3c9f195a680f /src/mainboard/google/beltino/acpi
parentca4b587f95c0f1ed64e187511781abdfd4c7ebfb (diff)
mainboard/acpi: Replace constant "One" with actual number
Change-Id: Id1078b14a805eea53d2a7c5a8183a5413f26e115 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/71521 Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/beltino/acpi')
-rw-r--r--src/mainboard/google/beltino/acpi/thermal.asl10
-rw-r--r--src/mainboard/google/beltino/acpi/usb.asl8
2 files changed, 9 insertions, 9 deletions
diff --git a/src/mainboard/google/beltino/acpi/thermal.asl b/src/mainboard/google/beltino/acpi/thermal.asl
index c6b686ee6c..ef93848b26 100644
--- a/src/mainboard/google/beltino/acpi/thermal.asl
+++ b/src/mainboard/google/beltino/acpi/thermal.asl
@@ -158,7 +158,7 @@ Scope (\_TZ)
{
Method (_STA) {
If (\FLVL <= 0) {
- Return (One)
+ Return (1)
} Else {
Return (Zero)
}
@@ -183,7 +183,7 @@ Scope (\_TZ)
{
Method (_STA) {
If (\FLVL <= 1) {
- Return (One)
+ Return (1)
} Else {
Return (Zero)
}
@@ -208,7 +208,7 @@ Scope (\_TZ)
{
Method (_STA) {
If (\FLVL <= 2) {
- Return (One)
+ Return (1)
} Else {
Return (Zero)
}
@@ -233,7 +233,7 @@ Scope (\_TZ)
{
Method (_STA) {
If (\FLVL <= 3) {
- Return (One)
+ Return (1)
} Else {
Return (Zero)
}
@@ -258,7 +258,7 @@ Scope (\_TZ)
{
Method (_STA) {
If (\FLVL <= 4) {
- Return (One)
+ Return (1)
} Else {
Return (Zero)
}
diff --git a/src/mainboard/google/beltino/acpi/usb.asl b/src/mainboard/google/beltino/acpi/usb.asl
index 681fae9d5a..7cee5acbb3 100644
--- a/src/mainboard/google/beltino/acpi/usb.asl
+++ b/src/mainboard/google/beltino/acpi/usb.asl
@@ -14,7 +14,7 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT2)
// Visible
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
{
- Return (GPLD (One))
+ Return (GPLD (1))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.PRT3)
@@ -31,7 +31,7 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT3)
// Visible
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
{
- Return (GPLD (One))
+ Return (GPLD (1))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.PRT4)
@@ -65,7 +65,7 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT5)
// Visible
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
{
- Return (GPLD (One))
+ Return (GPLD (1))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.PRT6)
@@ -82,7 +82,7 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT6)
// Visible
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
{
- Return (GPLD (One))
+ Return (GPLD (1))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.SSP1)