summaryrefslogtreecommitdiff
path: root/src/mainboard/google/auron
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/auron
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/auron')
-rw-r--r--src/mainboard/google/auron/acpi/thermal.asl4
-rw-r--r--src/mainboard/google/auron/variants/auron_paine/include/variant/acpi/usb.asl4
-rw-r--r--src/mainboard/google/auron/variants/auron_yuna/include/variant/acpi/usb.asl4
-rw-r--r--src/mainboard/google/auron/variants/gandof/include/variant/acpi/usb.asl4
-rw-r--r--src/mainboard/google/auron/variants/lulu/include/variant/acpi/mainboard.asl4
-rw-r--r--src/mainboard/google/auron/variants/lulu/include/variant/acpi/usb.asl4
-rw-r--r--src/mainboard/google/auron/variants/samus/include/variant/acpi/usb.asl8
7 files changed, 16 insertions, 16 deletions
diff --git a/src/mainboard/google/auron/acpi/thermal.asl b/src/mainboard/google/auron/acpi/thermal.asl
index 898ef26ef2..9b4cffebfa 100644
--- a/src/mainboard/google/auron/acpi/thermal.asl
+++ b/src/mainboard/google/auron/acpi/thermal.asl
@@ -131,7 +131,7 @@ Scope (\_TZ)
{
Method (_STA) {
If (\FLVL <= 0) {
- Return (One)
+ Return (1)
} Else {
Return (Zero)
}
@@ -158,7 +158,7 @@ Scope (\_TZ)
{
Method (_STA) {
If (\FLVL <= 1) {
- Return (One)
+ Return (1)
} Else {
Return (Zero)
}
diff --git a/src/mainboard/google/auron/variants/auron_paine/include/variant/acpi/usb.asl b/src/mainboard/google/auron/variants/auron_paine/include/variant/acpi/usb.asl
index 768a690e94..15a13286db 100644
--- a/src/mainboard/google/auron/variants/auron_paine/include/variant/acpi/usb.asl
+++ b/src/mainboard/google/auron/variants/auron_paine/include/variant/acpi/usb.asl
@@ -31,7 +31,7 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT2)
// Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (One))
+ Return (GPLD (1))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.PRT3)
@@ -82,7 +82,7 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT5)
// Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (One))
+ Return (GPLD (1))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.PRT7)
diff --git a/src/mainboard/google/auron/variants/auron_yuna/include/variant/acpi/usb.asl b/src/mainboard/google/auron/variants/auron_yuna/include/variant/acpi/usb.asl
index da4d5583f2..9a8a4dcf59 100644
--- a/src/mainboard/google/auron/variants/auron_yuna/include/variant/acpi/usb.asl
+++ b/src/mainboard/google/auron/variants/auron_yuna/include/variant/acpi/usb.asl
@@ -14,7 +14,7 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT2)
// Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (One))
+ Return (GPLD (1))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.PRT3)
@@ -65,7 +65,7 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT5)
// Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (One))
+ Return (GPLD (1))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.PRT7)
diff --git a/src/mainboard/google/auron/variants/gandof/include/variant/acpi/usb.asl b/src/mainboard/google/auron/variants/gandof/include/variant/acpi/usb.asl
index da4d5583f2..9a8a4dcf59 100644
--- a/src/mainboard/google/auron/variants/gandof/include/variant/acpi/usb.asl
+++ b/src/mainboard/google/auron/variants/gandof/include/variant/acpi/usb.asl
@@ -14,7 +14,7 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT2)
// Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (One))
+ Return (GPLD (1))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.PRT3)
@@ -65,7 +65,7 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT5)
// Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (One))
+ Return (GPLD (1))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.PRT7)
diff --git a/src/mainboard/google/auron/variants/lulu/include/variant/acpi/mainboard.asl b/src/mainboard/google/auron/variants/lulu/include/variant/acpi/mainboard.asl
index 35f0d3c206..fcf1c8c005 100644
--- a/src/mainboard/google/auron/variants/lulu/include/variant/acpi/mainboard.asl
+++ b/src/mainboard/google/auron/variants/lulu/include/variant/acpi/mainboard.asl
@@ -39,7 +39,7 @@ Scope (\_SB.PCI0.I2C0)
If (Arg1 == 1) /* Arg1 DSM Revision */
{
/* Revision 1: Function 0 supported */
- Return(Buffer(One) { 0x03 })
+ Return(Buffer(1) { 0x03 })
}
} ElseIf (Arg2 == 1) /* Function 1 : HID Function */
{
@@ -47,7 +47,7 @@ Scope (\_SB.PCI0.I2C0)
}
}
- Return(Buffer(One) { 0x00 }) /* Not supported */
+ Return(Buffer(1) { 0x00 }) /* Not supported */
}
Method (_STA)
diff --git a/src/mainboard/google/auron/variants/lulu/include/variant/acpi/usb.asl b/src/mainboard/google/auron/variants/lulu/include/variant/acpi/usb.asl
index 68ef14f2fe..519f60fd03 100644
--- a/src/mainboard/google/auron/variants/lulu/include/variant/acpi/usb.asl
+++ b/src/mainboard/google/auron/variants/lulu/include/variant/acpi/usb.asl
@@ -14,7 +14,7 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT1)
// Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (One))
+ Return (GPLD (1))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.PRT2)
@@ -31,7 +31,7 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT2)
// Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (One))
+ Return (GPLD (1))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.PRT3)
diff --git a/src/mainboard/google/auron/variants/samus/include/variant/acpi/usb.asl b/src/mainboard/google/auron/variants/samus/include/variant/acpi/usb.asl
index bf47043097..666e11a858 100644
--- a/src/mainboard/google/auron/variants/samus/include/variant/acpi/usb.asl
+++ b/src/mainboard/google/auron/variants/samus/include/variant/acpi/usb.asl
@@ -14,7 +14,7 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT1)
// Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (One))
+ Return (GPLD (1))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.PRT2)
@@ -31,7 +31,7 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT2)
// Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (One))
+ Return (GPLD (1))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.PRT3)
@@ -48,7 +48,7 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT3)
// Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (One))
+ Return (GPLD (1))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.PRT4)
@@ -82,7 +82,7 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT5)
// Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (One))
+ Return (GPLD (1))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.PRT7)