summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorTim Wawrzynczak <twawrzynczak@chromium.org>2022-06-28 12:04:49 -0600
committerTim Wawrzynczak <twawrzynczak@chromium.org>2022-07-13 16:08:47 +0000
commit58f80bac479d5d34c1b4f7f15b8ebf4e6996b3bb (patch)
tree5889845fcd96157d1fbd332447c56f7394ba6022 /src/mainboard
parentce29eab03507754654ebd62210bcaefa0ea5ee1b (diff)
mb/google/brya/acpi: Modify NBCI _DSM subfunction
The NBCI "get callbacks" _DSM subfunction should utilize the same "get callbacks" subfunction from the GPS _DSM subfunction; this patch adds that Method call into the ACPI code. Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Change-Id: Idf2f148b5a95acccb02f47cba1ef33a9fc16bcd9 Reviewed-on: https://review.coreboot.org/c/coreboot/+/65483 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Robert Zieba <robertzieba@google.com> Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/brya/acpi/nbci.asl5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mainboard/google/brya/acpi/nbci.asl b/src/mainboard/google/brya/acpi/nbci.asl
index 0564f7aea4..274c04be7f 100644
--- a/src/mainboard/google/brya/acpi/nbci.asl
+++ b/src/mainboard/google/brya/acpi/nbci.asl
@@ -8,6 +8,8 @@
/* 'DR' in ASCII, for DRiver Object */
#define NBCI_OBJTYPE_DR 0x4452
+#define GPS_FUNC_GETCALLBACKS 0x13
+
Method (NBCI, 2, Serialized)
{
Switch (ToInteger (Arg0))
@@ -30,7 +32,8 @@ Method (NBCI, 2, Serialized)
}
Case (NBCI_FUNC_GETCALLBACKS)
{
- Return (0)
+ /* Re-use the GPS subfunction's GETCALLBACKS Method */
+ Return (GPS (GPS_FUNC_GETCALLBACKS, Arg1))
}
Case (NBCI_FUNC_GETOBJBYTYPE)
{