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>
This commit is contained in:
Tarun Tuli 2023-03-30 12:51:10 +00:00 committed by Felix Held
parent f7b23c80e4
commit bb7c38a478
1 changed files with 1 additions and 1 deletions

View File

@ -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) |