ec/dasharo: Add dependancy to EC_DASHARO_EC_FLASH_SIZE
[coreboot.git] / src / mainboard / google / brya / variants / pujjoga / variant.c
blob2264264c57ba42a3532765a0a24a757a236b3c15
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 #include <fw_config.h>
4 #include <sar.h>
5 #include <acpi/acpigen.h>
6 #include <gpio.h>
7 #include <acpi/acpi.h>
8 #include <baseboard/variants.h>
11 const char *get_wifi_sar_cbfs_filename(void)
13 return get_wifi_sar_fw_config_filename(FW_CONFIG_FIELD(WIFI_SAR_ID));
16 void variant_generate_s0ix_hook(enum s0ix_entry entry)
18 /* GPP_C3 control the 3.3V of user facing camera,
19 pull down when do suspend and pull high when resume. */
20 if (entry == S0IX_ENTRY)
21 acpigen_soc_clear_tx_gpio(GPP_C3);
22 else if (entry == S0IX_EXIT)
23 acpigen_soc_set_tx_gpio(GPP_C3);