coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
variant.c
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #include <chip.h>
4 #include <fw_config.h>
5 #include <baseboard/variants.h>
6 #include <sar.h>
7 
8 const char *get_wifi_sar_cbfs_filename(void)
9 {
10  return "wifi_sar_0.hex";
11 }
12 
14 {
15  if (fw_config_probe(FW_CONFIG(DB_USB, USB3_PS8815))) {
16  config->typec_aux_bias_pads[2].pad_auxp_dc = GPP_A19;
17  config->typec_aux_bias_pads[2].pad_auxn_dc = GPP_A20;
18  config->tcss_aux_ori = 0x10;
19  }
20 }
#define GPP_A19
#define GPP_A20
#define FW_CONFIG(__field, __option)
Definition: fw_config.h:28
const char * get_wifi_sar_cbfs_filename(void)
Definition: variant.c:5
void variant_update_soc_chip_config(struct soc_intel_alderlake_config *config)
Definition: variant.c:9
bool fw_config_probe(const struct fw_config *match)
Definition: fw_config.c:62
enum board_config config
Definition: memory.c:448