mb/google/brya/var/orisa: Update Type C DisplayPort HPD Configuration
[coreboot2.git] / src / mainboard / google / brya / variants / marasov / variant.c
blob5f3894d35c6ba120aaa71d0b59b225aa871c32b2
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 #include <acpi/acpigen.h>
4 #include <baseboard/variants.h>
5 #include <console/console.h>
6 #include <fw_config.h>
7 #include <sar.h>
8 #include <variant/gpio.h>
10 const char *get_wifi_sar_cbfs_filename(void)
12 if (fw_config_probe(FW_CONFIG(WIFI_SAR_ID, WIFI_SAR_ID_1))) {
13 printk(BIOS_INFO, "Use wifi_sar_1.hex for Intel Wi-Fi module AX211NGW.\n");
14 return "wifi_sar_1.hex";
17 printk(BIOS_INFO, "Intel Wi-Fi SAR not used, return NULL!\n");
18 return NULL;
21 void variant_generate_s0ix_hook(enum s0ix_entry entry)
23 /* Add board-specific MS0X entries */
24 if (entry == S0IX_ENTRY)
25 acpigen_soc_clear_tx_gpio(CAM_PWR);
26 if (entry == S0IX_EXIT)
27 acpigen_soc_set_tx_gpio(CAM_PWR);