summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya/variants/felwinter/variant.c
blob: 8b270de04e2b78aec095492b17cbcf8d8a6d5265 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: GPL-2.0-only */

#include <chip.h>
#include <fw_config.h>
#include <baseboard/variants.h>
#include <sar.h>

const char *get_wifi_sar_cbfs_filename(void)
{
	return "wifi_sar_0.hex";
}

void variant_update_soc_chip_config(struct soc_intel_alderlake_config *config)
{
	if (fw_config_probe(FW_CONFIG(DB_USB, USB3_PS8815))) {
		config->typec_aux_bias_pads[2].pad_auxp_dc = GPP_A19;
		config->typec_aux_bias_pads[2].pad_auxn_dc = GPP_A20;
		config->TcssAuxOri = 0x10;
	}
}