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) --- src/mainboard/lenovo/t400/acpi/graphics.asl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mainboard/lenovo/t400/acpi/graphics.asl') diff --git a/src/mainboard/lenovo/t400/acpi/graphics.asl b/src/mainboard/lenovo/t400/acpi/graphics.asl index 5559bfcfa7..703e106129 100644 --- a/src/mainboard/lenovo/t400/acpi/graphics.asl +++ b/src/mainboard/lenovo/t400/acpi/graphics.asl @@ -26,7 +26,7 @@ Field (GPCM, ByteAcc, NoLock, Preserve) { Method(SHYB, 1) { /* Switch hybrid graphics */ - if (Arg0 == One) + if (Arg0 == 1) { /* Discrete graphics requested */ GPLV |= HYG1 -- cgit v1.2.3