cpu/x86/smm/pci_resource_store: Store DEV/VEN ID
[coreboot2.git] / src / mainboard / google / fizz / smihandler.c
blobc4c4c92b0aff84a22cae756c27a19d25bb7d1696
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <cpu/x86/smm.h>
4 #include <ec/google/chromeec/smm.h>
5 #include <intelblocks/smihandler.h>
7 #include <baseboard/variants.h>
8 #include <variant/ec.h>
10 void mainboard_smi_espi_handler(void)
12 chromeec_smi_process_events();
15 void __weak variant_smi_sleep(u8 slp_typ) {}
17 void mainboard_smi_sleep(u8 slp_typ)
19 variant_smi_sleep(slp_typ);
20 chromeec_smi_sleep(slp_typ, MAINBOARD_EC_S3_WAKE_EVENTS,
21 MAINBOARD_EC_S5_WAKE_EVENTS);
24 int mainboard_smi_apmc(u8 apmc)
26 chromeec_smi_apmc(apmc, MAINBOARD_EC_SCI_EVENTS, 0);
27 return 0;