diff options
author | Mark Hasemeyer <markhas@google.com> | 2023-11-29 15:42:03 -0700 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-12-11 14:33:23 +0000 |
commit | 431ca5eab569e6c97108964945f7fac9ba08e430 (patch) | |
tree | 2d8fc1ad09dbfd4690adac3f04a096f26b79d31a /src/acpi/gnvs.c | |
parent | f3523b4f0d5fcbe50dcc2c9c84c5105952065114 (diff) |
ec/google/chromeec: Provide ec_sync wake option
The ACPI spec defines keywords for the GpioInt and Interrupt resources
to specify whether a given pin is wake capable. Some boards are using
the ec sync interrupt pin to wake the system so the CREC _CRS needs to
be updated accordingly.
Provide a new macro that allows a board to specify whether its ec sync
pin is wake capable.
BUG=b:243700486
TEST=Dump ACPI and verify ExclusiveAndWake share type is set when
EC_SYNC_IRQ_WAKE_CAPABLE is defined
Change-Id: I483c801ff0fee4d3ce0a3b2fc220e0bd9356a612
Signed-off-by: Mark Hasemeyer <markhas@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79373
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Forest Mittelberg <bmbm@google.com>
Diffstat (limited to 'src/acpi/gnvs.c')
0 files changed, 0 insertions, 0 deletions