From dfbb634ae16065811894d67ff802c1e838ce0749 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Mon, 26 Dec 2022 08:39:35 +0100 Subject: mainboard/acpi: Replace constant "One" with actual number Change-Id: Id1078b14a805eea53d2a7c5a8183a5413f26e115 Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/71521 Reviewed-by: Elyes Haouas Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) --- .../google/auron/variants/lulu/include/variant/acpi/mainboard.asl | 4 ++-- src/mainboard/google/auron/variants/lulu/include/variant/acpi/usb.asl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mainboard/google/auron/variants/lulu') 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) -- cgit v1.2.3