summaryrefslogtreecommitdiff
path: root/src/mainboard/google
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
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')
-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
-rw-r--r--src/mainboard/google/beltino/acpi/thermal.asl10
-rw-r--r--src/mainboard/google/beltino/acpi/usb.asl8
-rw-r--r--src/mainboard/google/cyan/acpi/touchscreen_synaptics.asl10
-rw-r--r--src/mainboard/google/cyan/variants/terra/include/variant/acpi/dptf.asl2
-rw-r--r--src/mainboard/google/cyan/variants/terra/include/variant/acpi/thermal.asl6
-rw-r--r--src/mainboard/google/glados/variants/caroline/include/variant/acpi/mainboard.asl12
-rw-r--r--src/mainboard/google/glados/variants/chell/include/variant/acpi/mainboard.asl6
-rw-r--r--src/mainboard/google/jecht/variants/guado/include/variant/acpi/thermal.asl10
-rw-r--r--src/mainboard/google/jecht/variants/jecht/include/variant/acpi/thermal.asl10
-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.asl8
-rw-r--r--src/mainboard/google/jecht/variants/tidus/include/variant/acpi/thermal.asl10
-rw-r--r--src/mainboard/google/link/acpi/thermal.asl4
-rw-r--r--src/mainboard/google/parrot/acpi/usb.asl6
-rw-r--r--src/mainboard/google/rambi/variants/candy/include/variant/acpi/usb.asl4
-rw-r--r--src/mainboard/google/rambi/variants/squawks/include/variant/acpi/usb.asl4
-rw-r--r--src/mainboard/google/slippy/variants/peppy/include/variant/acpi/usb.asl4
-rw-r--r--src/mainboard/google/slippy/variants/wolf/include/variant/acpi/usb.asl4
-rw-r--r--src/mainboard/google/volteer/variants/baseboard/include/baseboard/acpi/mipi_camera.asl14
-rw-r--r--src/mainboard/google/volteer/variants/voema/include/variant/acpi/mipi_camera.asl10
27 files changed, 92 insertions, 92 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)
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)
diff --git a/src/mainboard/google/cyan/acpi/touchscreen_synaptics.asl b/src/mainboard/google/cyan/acpi/touchscreen_synaptics.asl
index 4759dbb019..95f2d4391c 100644
--- a/src/mainboard/google/cyan/acpi/touchscreen_synaptics.asl
+++ b/src/mainboard/google/cyan/acpi/touchscreen_synaptics.asl
@@ -19,30 +19,30 @@ Scope (\_SB.PCI0.I2C1)
// DSM Revision
If (Arg2 == Zero)
{
- If (Arg1 == One)
+ If (Arg1 == 1)
{
- Return (Buffer (One)
+ Return (Buffer (1)
{
0x03
})
}
Else
{
- Return (Buffer (One)
+ Return (Buffer (1)
{
0x00
})
}
}
// HID Function
- If (Arg2 == One)
+ If (Arg2 == 1)
{
Return (0x20)
}
}
Else
{
- Return (Buffer (One)
+ Return (Buffer (1)
{
0x00
})
diff --git a/src/mainboard/google/cyan/variants/terra/include/variant/acpi/dptf.asl b/src/mainboard/google/cyan/variants/terra/include/variant/acpi/dptf.asl
index 19f26097cd..3a4b44e721 100644
--- a/src/mainboard/google/cyan/variants/terra/include/variant/acpi/dptf.asl
+++ b/src/mainboard/google/cyan/variants/terra/include/variant/acpi/dptf.asl
@@ -156,7 +156,7 @@ Device (DPTF)
Method (_STA)
{
- If (\DPTE == One) {
+ If (\DPTE == 1) {
Return (0xF)
} Else {
Return (0x0)
diff --git a/src/mainboard/google/cyan/variants/terra/include/variant/acpi/thermal.asl b/src/mainboard/google/cyan/variants/terra/include/variant/acpi/thermal.asl
index 7f1131b6bf..94c80da10d 100644
--- a/src/mainboard/google/cyan/variants/terra/include/variant/acpi/thermal.asl
+++ b/src/mainboard/google/cyan/variants/terra/include/variant/acpi/thermal.asl
@@ -52,7 +52,7 @@ Device (TSR0)
Method (_STA)
{
- If (\DPTE == One) {
+ If (\DPTE == 1) {
Return (0xF)
} Else {
Return (0x0)
@@ -120,7 +120,7 @@ Device (TSR1)
Method (_STA)
{
- If (\DPTE == One) {
+ If (\DPTE == 1) {
Return (0xF)
} Else {
Return (0x0)
@@ -188,7 +188,7 @@ Device (TSR2)
Method (_STA)
{
- If (\DPTE == One) {
+ If (\DPTE == 1) {
Return (0xF)
} Else {
Return (0x0)
diff --git a/src/mainboard/google/glados/variants/caroline/include/variant/acpi/mainboard.asl b/src/mainboard/google/glados/variants/caroline/include/variant/acpi/mainboard.asl
index c942e72e20..927476ffea 100644
--- a/src/mainboard/google/glados/variants/caroline/include/variant/acpi/mainboard.asl
+++ b/src/mainboard/google/glados/variants/caroline/include/variant/acpi/mainboard.asl
@@ -90,22 +90,22 @@ Scope (\_SB.PCI0.I2C2)
If (Arg0 == ToUUID ("3cdff6f7-4267-4555-ad05-b30a3d8938de")) {
If (Arg2 == Zero) {
/* Function 0 - Query */
- If (Arg1 == One) {
+ If (Arg1 == 1) {
/* Revision 1 Function 1 */
- Return (Buffer (One) { 0x03 })
+ Return (Buffer (1) { 0x03 })
} Else {
/* Revision 2+ not supported */
- Return (Buffer (One) { 0x00 })
+ Return (Buffer (1) { 0x00 })
}
- } ElseIf (Arg2 == One) {
+ } ElseIf (Arg2 == 1) {
/* Function 1 - HID Descriptor Addr */
Return (0x0001)
} Else {
/* Function 2+ not supported */
- Return (Buffer (One) { 0x00 })
+ Return (Buffer (1) { 0x00 })
}
} Else {
- Return (Buffer (One) { 0x00 })
+ Return (Buffer (1) { 0x00 })
}
}
}
diff --git a/src/mainboard/google/glados/variants/chell/include/variant/acpi/mainboard.asl b/src/mainboard/google/glados/variants/chell/include/variant/acpi/mainboard.asl
index 15d979d583..b37a411853 100644
--- a/src/mainboard/google/glados/variants/chell/include/variant/acpi/mainboard.asl
+++ b/src/mainboard/google/glados/variants/chell/include/variant/acpi/mainboard.asl
@@ -14,7 +14,7 @@ Scope (\_SB.PCI0.XHCI.RHUB.HS01)
// Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (One))
+ Return (GPLD (1))
}
}
Scope (\_SB.PCI0.XHCI.RHUB.HS02)
@@ -31,7 +31,7 @@ Scope (\_SB.PCI0.XHCI.RHUB.HS02)
// Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (One))
+ Return (GPLD (1))
}
}
Scope (\_SB.PCI0.XHCI.RHUB.HS03)
@@ -82,7 +82,7 @@ Scope (\_SB.PCI0.XHCI.RHUB.HS05)
// Visible
Method (_PLD, 0, NotSerialized)
{
- Return (GPLD (One))
+ Return (GPLD (1))
}
}
Scope (\_SB.PCI0.XHCI.RHUB.HS07)
diff --git a/src/mainboard/google/jecht/variants/guado/include/variant/acpi/thermal.asl b/src/mainboard/google/jecht/variants/guado/include/variant/acpi/thermal.asl
index 81562e9097..2f6fd90ec9 100644
--- a/src/mainboard/google/jecht/variants/guado/include/variant/acpi/thermal.asl
+++ b/src/mainboard/google/jecht/variants/guado/include/variant/acpi/thermal.asl
@@ -159,7 +159,7 @@ Scope (\_TZ)
{
Method (_STA) {
If (\FLVL <= 0) {
- Return (One)
+ Return (1)
} Else {
Return (Zero)
}
@@ -184,7 +184,7 @@ Scope (\_TZ)
{
Method (_STA) {
If (\FLVL <= 1) {
- Return (One)
+ Return (1)
} Else {
Return (Zero)
}
@@ -209,7 +209,7 @@ Scope (\_TZ)
{
Method (_STA) {
If (\FLVL <= 2) {
- Return (One)
+ Return (1)
} Else {
Return (Zero)
}
@@ -234,7 +234,7 @@ Scope (\_TZ)
{
Method (_STA) {
If (\FLVL <= 3) {
- Return (One)
+ Return (1)
} Else {
Return (Zero)
}
@@ -259,7 +259,7 @@ Scope (\_TZ)
{
Method (_STA) {
If (\FLVL <= 4) {
- Return (One)
+ Return (1)
} Else {
Return (Zero)
}
diff --git a/src/mainboard/google/jecht/variants/jecht/include/variant/acpi/thermal.asl b/src/mainboard/google/jecht/variants/jecht/include/variant/acpi/thermal.asl
index 81562e9097..2f6fd90ec9 100644
--- a/src/mainboard/google/jecht/variants/jecht/include/variant/acpi/thermal.asl
+++ b/src/mainboard/google/jecht/variants/jecht/include/variant/acpi/thermal.asl
@@ -159,7 +159,7 @@ Scope (\_TZ)
{
Method (_STA) {
If (\FLVL <= 0) {
- Return (One)
+ Return (1)
} Else {
Return (Zero)
}
@@ -184,7 +184,7 @@ Scope (\_TZ)
{
Method (_STA) {
If (\FLVL <= 1) {
- Return (One)
+ Return (1)
} Else {
Return (Zero)
}
@@ -209,7 +209,7 @@ Scope (\_TZ)
{
Method (_STA) {
If (\FLVL <= 2) {
- Return (One)
+ Return (1)
} Else {
Return (Zero)
}
@@ -234,7 +234,7 @@ Scope (\_TZ)
{
Method (_STA) {
If (\FLVL <= 3) {
- Return (One)
+ Return (1)
} Else {
Return (Zero)
}
@@ -259,7 +259,7 @@ Scope (\_TZ)
{
Method (_STA) {
If (\FLVL <= 4) {
- Return (One)
+ Return (1)
} Else {
Return (Zero)
}
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 81562e9097..2f6fd90ec9 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
@@ -159,7 +159,7 @@ Scope (\_TZ)
{
Method (_STA) {
If (\FLVL <= 0) {
- Return (One)
+ Return (1)
} Else {
Return (Zero)
}
@@ -184,7 +184,7 @@ Scope (\_TZ)
{
Method (_STA) {
If (\FLVL <= 1) {
- Return (One)
+ Return (1)
} Else {
Return (Zero)
}
@@ -209,7 +209,7 @@ Scope (\_TZ)
{
Method (_STA) {
If (\FLVL <= 2) {
- Return (One)
+ Return (1)
} Else {
Return (Zero)
}
@@ -234,7 +234,7 @@ Scope (\_TZ)
{
Method (_STA) {
If (\FLVL <= 3) {
- Return (One)
+ Return (1)
} Else {
Return (Zero)
}
@@ -259,7 +259,7 @@ Scope (\_TZ)
{
Method (_STA) {
If (\FLVL <= 4) {
- Return (One)
+ Return (1)
} Else {
Return (Zero)
}
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 a6b55b44d0..7c3283c46c 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
@@ -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)
@@ -31,7 +31,7 @@ Scope (\_SB.PCI0.XHCI.HUB7.PRT3)
// Visible
Method (_PLD, 0, NotSerialized)
{
- 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)
{
- 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)
{
- Return (GPLD (One))
+ Return (GPLD (1))
}
}
Scope (\_SB.PCI0.XHCI.HUB7.PRT7)
diff --git a/src/mainboard/google/jecht/variants/tidus/include/variant/acpi/thermal.asl b/src/mainboard/google/jecht/variants/tidus/include/variant/acpi/thermal.asl
index 1411429322..4f1746b0cf 100644
--- a/src/mainboard/google/jecht/variants/tidus/include/variant/acpi/thermal.asl
+++ b/src/mainboard/google/jecht/variants/tidus/include/variant/acpi/thermal.asl
@@ -267,7 +267,7 @@ Scope (\_TZ)
{
Method (_STA) {
If (\FLVL <= 0) {
- Return (One)
+ Return (1)
} Else {
Return (Zero)
}
@@ -292,7 +292,7 @@ Scope (\_TZ)
{
Method (_STA) {
If (\FLVL <= 1) {
- Return (One)
+ Return (1)
} Else {
Return (Zero)
}
@@ -317,7 +317,7 @@ Scope (\_TZ)
{
Method (_STA) {
If (\FLVL <= 2) {
- Return (One)
+ Return (1)
} Else {
Return (Zero)
}
@@ -342,7 +342,7 @@ Scope (\_TZ)
{
Method (_STA) {
If (\FLVL <= 3) {
- Return (One)
+ Return (1)
} Else {
Return (Zero)
}
@@ -367,7 +367,7 @@ Scope (\_TZ)
{
Method (_STA) {
If (\FLVL <= 4) {
- Return (One)
+ Return (1)
} Else {
Return (Zero)
}
diff --git a/src/mainboard/google/link/acpi/thermal.asl b/src/mainboard/google/link/acpi/thermal.asl
index 7ea38ae6cd..e2af307af0 100644
--- a/src/mainboard/google/link/acpi/thermal.asl
+++ b/src/mainboard/google/link/acpi/thermal.asl
@@ -156,7 +156,7 @@ Scope (\_TZ)
{
Method (_STA) {
If (\FLVL <= 0) {
- Return (One)
+ Return (1)
} Else {
Return (Zero)
}
@@ -177,7 +177,7 @@ Scope (\_TZ)
{
Method (_STA) {
If (\FLVL <= 1) {
- Return (One)
+ Return (1)
} Else {
Return (Zero)
}
diff --git a/src/mainboard/google/parrot/acpi/usb.asl b/src/mainboard/google/parrot/acpi/usb.asl
index ffdd67bbb1..8dd6dbb2d5 100644
--- a/src/mainboard/google/parrot/acpi/usb.asl
+++ b/src/mainboard/google/parrot/acpi/usb.asl
@@ -33,7 +33,7 @@ Scope (\_SB.PCI0.EHC1.HUB7.PRT1)
// Visible
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
{
- Return (GPLD (One))
+ Return (GPLD (1))
}
}
@@ -54,7 +54,7 @@ Scope (\_SB.PCI0.EHC1.HUB7.PRT1)
// Visible
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
{
- Return (GPLD (One))
+ Return (GPLD (1))
}
}
@@ -74,7 +74,7 @@ Scope (\_SB.PCI0.EHC1.HUB7.PRT1)
// Visible
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
{
- Return (GPLD (One))
+ Return (GPLD (1))
}
}
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 d953667643..5a9e1efa50 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
@@ -14,7 +14,7 @@ Scope (\_SB.PCI0.XHCI.RHUB.PRT1)
// Visible
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
{
- Return (GPLD (One))
+ Return (GPLD (1))
}
}
Scope (\_SB.PCI0.XHCI.RHUB.PRT2)
@@ -50,7 +50,7 @@ Scope (\_SB.PCI0.XHCI.RHUB.PRT2)
// Visible
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
{
- Return (GPLD (One))
+ Return (GPLD (1))
}
}
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 0018a3538c..888ca5b841 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
@@ -14,7 +14,7 @@ Scope (\_SB.PCI0.XHCI.RHUB.PRT1)
// Visible
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
{
- Return (GPLD (One))
+ Return (GPLD (1))
}
}
Scope (\_SB.PCI0.XHCI.RHUB.PRT2)
@@ -31,7 +31,7 @@ Scope (\_SB.PCI0.XHCI.RHUB.PRT2)
// Visible
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
{
- Return (GPLD (One))
+ Return (GPLD (1))
}
}
Scope (\_SB.PCI0.XHCI.RHUB.PRT3)
diff --git a/src/mainboard/google/slippy/variants/peppy/include/variant/acpi/usb.asl b/src/mainboard/google/slippy/variants/peppy/include/variant/acpi/usb.asl
index 768a690e94..15a13286db 100644
--- a/src/mainboard/google/slippy/variants/peppy/include/variant/acpi/usb.asl
+++ b/src/mainboard/google/slippy/variants/peppy/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/slippy/variants/wolf/include/variant/acpi/usb.asl b/src/mainboard/google/slippy/variants/wolf/include/variant/acpi/usb.asl
index c8753fa09e..7dff13a3e3 100644
--- a/src/mainboard/google/slippy/variants/wolf/include/variant/acpi/usb.asl
+++ b/src/mainboard/google/slippy/variants/wolf/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/volteer/variants/baseboard/include/baseboard/acpi/mipi_camera.asl b/src/mainboard/google/volteer/variants/baseboard/include/baseboard/acpi/mipi_camera.asl
index 2a58f9a3c4..cb488c23c6 100644
--- a/src/mainboard/google/volteer/variants/baseboard/include/baseboard/acpi/mipi_camera.asl
+++ b/src/mainboard/google/volteer/variants/baseboard/include/baseboard/acpi/mipi_camera.asl
@@ -88,7 +88,7 @@ Scope (\_SB.PCI0.IPU0)
"data-lanes",
Package (0x04)
{
- One,
+ 1,
0x02,
0x03,
0x04
@@ -126,7 +126,7 @@ Scope (\_SB.PCI0.IPU0)
"data-lanes",
Package (0x02)
{
- One,
+ 1,
0x02
}
},
@@ -304,7 +304,7 @@ Scope (\_SB.PCI0.I2C3)
"data-lanes",
Package (0x04)
{
- One,
+ 1,
0x02,
0x03,
0x04
@@ -449,12 +449,12 @@ Scope (\_SB.PCI0.I2C3)
Package (0x02)
{
"pagesize",
- One
+ 1
},
Package (0x02)
{
"read-only",
- One
+ 1
},
Package (0x02)
{
@@ -622,7 +622,7 @@ Scope (\_SB.PCI0.I2C2)
"data-lanes",
Package (0x02)
{
- One,
+ 1,
0x02
}
},
@@ -640,7 +640,7 @@ Scope (\_SB.PCI0.I2C2)
Package (0x03)
{
IPU0,
- One,
+ 1,
Zero
}
}
diff --git a/src/mainboard/google/volteer/variants/voema/include/variant/acpi/mipi_camera.asl b/src/mainboard/google/volteer/variants/voema/include/variant/acpi/mipi_camera.asl
index 4ef83fd33d..b2142b26fd 100644
--- a/src/mainboard/google/volteer/variants/voema/include/variant/acpi/mipi_camera.asl
+++ b/src/mainboard/google/volteer/variants/voema/include/variant/acpi/mipi_camera.asl
@@ -88,7 +88,7 @@ Scope (\_SB.PCI0.IPU0)
"data-lanes",
Package (0x02)
{
- One,
+ 1,
0x02
}
},
@@ -246,7 +246,7 @@ Scope (\_SB.PCI0.I2C2)
"data-lanes",
Package (0x02)
{
- One,
+ 1,
0x02
}
},
@@ -264,7 +264,7 @@ Scope (\_SB.PCI0.I2C2)
Package (0x03)
{
IPU0,
- One,
+ 1,
Zero
}
}
@@ -312,12 +312,12 @@ Scope (\_SB.PCI0.I2C2)
Package (0x02)
{
"pagesize",
- One
+ 1
},
Package (0x02)
{
"read-only",
- One
+ 1
},
Package (0x02)
{