summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDerek Huang <derekhuang@google.com>2023-02-08 15:20:35 +0000
committerSubrata Banik <subratabanik@google.com>2023-02-10 08:09:38 +0000
commitc48631ab681c1cf405f3f87cd06042fe5eeceafb (patch)
treed21a8263d880074504f17263adc0aa762cc2f5ee /src
parent871b47afa55c7d974bc5cd8bf2dc48b58ab7c463 (diff)
mb/google/brask: Add EC_HOST_EVENT_USB_MUX S0ix wake event
Add EC_HOST_EVENT_USB_MUX to MAINBOARD_EC_S0IX_WAKE_EVENTS for brask. Without it EC won't send host event to wake AP when USB MUX is changed during S0ix. It's there for brya but missing for brask. BUG=b:267573651 TEST=emerge-brask coreboot Signed-off-by: Derek Huang <derekhuang@google.com> Change-Id: Id08d9aec9ab3566176369f2ca25cd00b9f0a0ca5 Reviewed-on: https://review.coreboot.org/c/coreboot/+/72899 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: David Wu <david_wu@quanta.corp-partner.google.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/brya/variants/baseboard/brask/include/baseboard/ec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/variants/baseboard/brask/include/baseboard/ec.h b/src/mainboard/google/brya/variants/baseboard/brask/include/baseboard/ec.h
index 2625bba022..caca0f3190 100644
--- a/src/mainboard/google/brya/variants/baseboard/brask/include/baseboard/ec.h
+++ b/src/mainboard/google/brya/variants/baseboard/brask/include/baseboard/ec.h
@@ -23,6 +23,7 @@
#define MAINBOARD_EC_S3_WAKE_EVENTS (MAINBOARD_EC_S5_WAKE_EVENTS)
#define MAINBOARD_EC_S0IX_WAKE_EVENTS \
(MAINBOARD_EC_S3_WAKE_EVENTS |\
+ EC_HOST_EVENT_MASK(EC_HOST_EVENT_USB_MUX) |\
EC_HOST_EVENT_MASK(EC_HOST_EVENT_HANG_DETECT))
/* Log EC wake events plus EC shutdown events */
#define MAINBOARD_EC_LOG_EVENTS \