aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTarun Tuli <taruntuli@google.com>2023-03-30 12:35:42 +0000
committerFelix Held <felix-coreboot@felixheld.de>2023-04-13 13:33:28 +0000
commit64e540a7d87de78e05ff50191b4265ae811fcb19 (patch)
tree509b1a7e10c5c7f0f98185a2b0e720213f3cc462 /src
parent78cc76d204bf0b3ce820fdc4669671580b3ac87c (diff)
mb/google/brya/acpi: Correct _DSM GPS function for revision check
The logic was not equals, rather than the intended greater than or equal to for checking the minimum GPS revision. TEST=version check passes as expected now BUG=b:271938907 Signed-off-by: Tarun Tuli <taruntuli@google.com> Change-Id: I66bf1fc32295e1b9e9c41c661ea8e395a1592a86 Reviewed-on: https://review.coreboot.org/c/coreboot/+/73897 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/brya/acpi/gpu_top.asl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/brya/acpi/gpu_top.asl b/src/mainboard/google/brya/acpi/gpu_top.asl
index c98358ff8d..e23e3cfa5e 100644
--- a/src/mainboard/google/brya/acpi/gpu_top.asl
+++ b/src/mainboard/google/brya/acpi/gpu_top.asl
@@ -85,7 +85,7 @@ Scope (\_SB.PCI0.PEG0)
}
ElseIf (Arg0 == ToUUID (UUID_GPS))
{
- If (ToInteger (Arg1) != REVISION_MIN_GPS)
+ If (ToInteger (Arg1) >= REVISION_MIN_GPS)
{
Return (GPS (Arg2, Arg3))
}