From bb7c38a4784c455a5d0625c0ec25058d58e9afb8 Mon Sep 17 00:00:00 2001 From: Tarun Tuli Date: Thu, 30 Mar 2023 12:51:10 +0000 Subject: 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 Change-Id: Icfc775de680e328a2b240595223d7098fee3dc3b Reviewed-on: https://review.coreboot.org/c/coreboot/+/73899 Tested-by: build bot (Jenkins) Reviewed-by: Eric Lai --- src/mainboard/google/brya/acpi/gps.asl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mainboard') 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) | -- cgit v1.2.3