diff options
author | Matt DeVillier <matt.devillier@gmail.com> | 2017-07-04 17:10:37 -0500 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-08-10 12:38:24 +0000 |
commit | db20a08b654ad15715926857dd9c4d52eef0ac45 (patch) | |
tree | 7c8b6afbf7826ac4816bbb45d22936a90b676577 /src/mainboard/google/cyan/acpi/touchscreen_elan.asl | |
parent | 8757b23ae940800f34ecdc3d040a14587ead97ac (diff) |
mb/google/cyan: Guard I2C devices as wake sources with CONFIG_CHROMEOS
The use of a separate _PRW is not necessary when the _CRS interrupt
already has the Wake flag set (as these all do). Additionally, Windows
does not allow the use of a gpioint for the _PRW source, which results
in an ACPI_BIOS_ERROR BSOD.
Since ChromeOS builds for CYAN devices use an older kernel and may not
make use of _CRS interrupt Wake flag, keep the _PRW around when
CONFIG_CHROMEOS is selected.
TEST=build/boot Win11 on google/{cyan,edgar}
Change-Id: I7d0883e4de9572a14c8bad0ac086370bd00eeb1a
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76798
Reviewed-by: CoolStar <coolstarorganization@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/mainboard/google/cyan/acpi/touchscreen_elan.asl')
-rw-r--r-- | src/mainboard/google/cyan/acpi/touchscreen_elan.asl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/cyan/acpi/touchscreen_elan.asl b/src/mainboard/google/cyan/acpi/touchscreen_elan.asl index 14e5135425..312c1a800d 100644 --- a/src/mainboard/google/cyan/acpi/touchscreen_elan.asl +++ b/src/mainboard/google/cyan/acpi/touchscreen_elan.asl @@ -35,9 +35,9 @@ Scope (\_SB.PCI0.I2C1) Return (0x0) } } - +#if CONFIG(CHROMEOS) Name (_PRW, Package() { BOARD_TOUCHSCREEN_WAKE_GPIO, 0x3 }) - +#endif /* Allow device to power off in S0 */ Name (_S0W, 4) } |