aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya/acpi
diff options
context:
space:
mode:
authorTarun Tuli <taruntuli@google.com>2023-03-30 12:51:10 +0000
committerFelix Held <felix-coreboot@felixheld.de>2023-04-13 13:35:23 +0000
commitbb7c38a4784c455a5d0625c0ec25058d58e9afb8 (patch)
tree05f4fb47eb124f022e1ec51f0b1131cb0188fc93 /src/mainboard/google/brya/acpi
parentf7b23c80e4b5975d1beecbe0b39380cde5dd2ab2 (diff)
mb/google/brya/acpi: Pass GPS_FUNC_SUPPORT as 8 byte buffer
Currently the value was being truncated to 4 bytes. Change so that the full 8 byte value is passed. TEST=verified function returns expected value using acpiexec BUG=b:271938907 Signed-off-by: Tarun Tuli <taruntuli@google.com> Change-Id: Icfc775de680e328a2b240595223d7098fee3dc3b Reviewed-on: https://review.coreboot.org/c/coreboot/+/73899 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'src/mainboard/google/brya/acpi')
-rw-r--r--src/mainboard/google/brya/acpi/gps.asl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/brya/acpi/gps.asl b/src/mainboard/google/brya/acpi/gps.asl
index 2e07a678cb..36bccc1a98 100644
--- a/src/mainboard/google/brya/acpi/gps.asl
+++ b/src/mainboard/google/brya/acpi/gps.asl
@@ -27,7 +27,7 @@ Method (GPS, 2, Serialized)
{
Case (GPS_FUNC_SUPPORT)
{
- Return (ITOB(
+ Return (LTOB(
(1 << GPS_FUNC_SUPPORT) |
(1 << GPS_FUNC_GETCALLBACKS) |
(1 << GPS_FUNC_PSHARESTATUS) |