mb/amb/birman*/gpio: remove configuration for VDD_MEM_VID[0,1]
[coreboot2.git] / src / mainboard / intel / mtlrvp / smihandler.c
bloba3b43231ec315b989d5959f01f5f8af2e437bae9
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 #include <cpu/x86/smm.h>
4 #include <ec/google/chromeec/smm.h>
5 #include <intelblocks/smihandler.h>
6 #include <baseboard/ec.h>
8 void mainboard_smi_espi_handler(void)
10 if (!CONFIG(EC_GOOGLE_CHROMEEC))
11 return;
13 chromeec_smi_process_events();
16 void mainboard_smi_sleep(u8 slp_typ)
18 if (!CONFIG(EC_GOOGLE_CHROMEEC))
19 return;
21 chromeec_smi_sleep(slp_typ, MAINBOARD_EC_S3_WAKE_EVENTS, MAINBOARD_EC_S5_WAKE_EVENTS);
24 int mainboard_smi_apmc(u8 apmc)
26 if (CONFIG(EC_GOOGLE_CHROMEEC))
27 chromeec_smi_apmc(apmc, MAINBOARD_EC_SCI_EVENTS, MAINBOARD_EC_SMI_EVENTS);
29 return 0;