mainboard/intel/avenuecity_crb: Update full IIO configuration
[coreboot2.git] / src / mainboard / google / hatch / ec.c
blobe25abb4ede34a6e1c69754d44b9faca9280af3d8
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <acpi/acpi.h>
4 #include <ec/ec.h>
5 #include <ec/google/chromeec/ec.h>
6 #include <variant/ec.h>
8 void mainboard_ec_init(void)
10 const struct google_chromeec_event_info info = {
11 .log_events = MAINBOARD_EC_LOG_EVENTS,
12 .sci_events = MAINBOARD_EC_SCI_EVENTS,
13 .s3_wake_events = MAINBOARD_EC_S3_WAKE_EVENTS,
14 .s5_wake_events = MAINBOARD_EC_S5_WAKE_EVENTS,
15 .s0ix_wake_events = MAINBOARD_EC_S0IX_WAKE_EVENTS,
18 google_chromeec_events_init(&info, acpi_is_wakeup_s3());