mainboard/intel/avenuecity_crb: Update full IIO configuration
[coreboot2.git] / src / mainboard / google / dedede / variants / cret / variant.c
blobbd4bce15614db0de71be8e808604aa5c5597a3b5
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 #include <acpi/acpi.h>
4 #include <baseboard/variants.h>
5 #include <delay.h>
6 #include <fw_config.h>
7 #include <gpio.h>
8 #include <sar.h>
10 const char *get_wifi_sar_cbfs_filename(void)
12 const char *filename = NULL;
14 if (fw_config_probe(FW_CONFIG(TABLETMODE, TABLETMODE_ENABLED)))
15 filename = "wifi_sar-cret.hex";
17 return filename;
20 static void power_off_lte_module(void)
22 gpio_output(GPP_H17, 0);
23 mdelay(10);
24 gpio_output(GPP_A10, 0);
27 void variant_smi_sleep(u8 slp_typ)
30 * Once the FW_CONFIG is provisioned, power off LTE module only under
31 * the situation where it is stuffed.
33 if (slp_typ == ACPI_S5)
34 power_off_lte_module();