mainboard/intel/avenuecity_crb: Update full IIO configuration
[coreboot2.git] / src / mainboard / google / poppy / ec.c
blob4cfa16aa087336a51ada5b6e2d5fd8dc1e037a4c
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <acpi/acpi.h>
4 #include <baseboard/variants.h>
5 #include <ec/google/chromeec/ec.h>
7 #include <variant/ec.h>
9 __weak const struct google_chromeec_event_info *variant_get_event_info(void)
11 static const struct google_chromeec_event_info info = {
12 .log_events = MAINBOARD_EC_LOG_EVENTS,
13 .sci_events = MAINBOARD_EC_SCI_EVENTS,
14 .smi_events = MAINBOARD_EC_SMI_EVENTS,
15 .s3_wake_events = MAINBOARD_EC_S3_WAKE_EVENTS,
16 .s5_wake_events = MAINBOARD_EC_S5_WAKE_EVENTS,
17 .s0ix_wake_events = MAINBOARD_EC_S0IX_WAKE_EVENTS,
20 return &info;
23 void mainboard_ec_init(void)
25 google_chromeec_events_init(variant_get_event_info(),
26 acpi_is_wakeup_s3());