summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/t400/acpi
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/lenovo/t400/acpi
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/lenovo/t400/acpi')
-rw-r--r--src/mainboard/lenovo/t400/acpi/graphics.asl2
1 files changed, 1 insertions, 1 deletions
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