summaryrefslogtreecommitdiff
path: root/src/mainboard/google/auron/variants/lulu
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/variants/lulu
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/variants/lulu')
-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
2 files changed, 4 insertions, 4 deletions
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)