mb/google/brya: Create rull variant
[coreboot2.git] / src / mainboard / google / dedede / ec.c
blob7a35c81dbb9709f164900f6036440114d6dc3ed8
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 #include <acpi/acpi.h>
4 #include <console/console.h>
5 #include <ec/ec.h>
6 #include <ec/google/chromeec/ec.h>
7 #include <intelblocks/lpc_lib.h>
8 #include <variant/ec.h>
10 void mainboard_ec_init(void)
12 static const struct google_chromeec_event_info info = {
13 .log_events = MAINBOARD_EC_LOG_EVENTS,
14 .sci_events = MAINBOARD_EC_SCI_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 printk(BIOS_INFO, "mainboard: EC init\n");
22 google_chromeec_events_init(&info, acpi_is_wakeup_s3());