cpu/x86/smm/pci_resource_store: Store DEV/VEN ID
[coreboot2.git] / src / mainboard / google / brya / variants / crota / variant.c
blob4e8b36c3175dee39b5609d001c66a4d4e874ae30
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <sar.h>
4 #include <chip.h>
5 #include <fw_config.h>
6 #include <baseboard/variants.h>
7 #include <acpi/acpi.h>
8 #include <acpi/acpigen.h>
9 #include <drivers/vpd/vpd.h>
10 #include <stdio.h>
12 const char *get_wifi_sar_cbfs_filename(void)
14 return "wifi_sar_0.hex";
17 void variant_update_soc_chip_config(struct soc_intel_alderlake_config *config)
19 if (fw_config_probe(FW_CONFIG(DB_LTE, LTE_USB))) {
20 config->ext_fivr_settings.configure_ext_fivr = 1;
21 config->ext_fivr_settings.v1p05_enable_bitmap = FIVR_ENABLE_ALL_SX;
22 config->ext_fivr_settings.vnn_enable_bitmap = FIVR_ENABLE_ALL_SX;
23 config->ext_fivr_settings.v1p05_supported_voltage_bitmap = FIVR_VOLTAGE_NORMAL |
24 FIVR_VOLTAGE_MIN_ACTIVE |
25 FIVR_VOLTAGE_MIN_RETENTION;
26 config->ext_fivr_settings.vnn_supported_voltage_bitmap = FIVR_VOLTAGE_NORMAL |
27 FIVR_VOLTAGE_MIN_ACTIVE |
28 FIVR_VOLTAGE_MIN_RETENTION;
29 config->ext_fivr_settings.v1p05_icc_max_ma = 500;
30 config->ext_fivr_settings.vnn_sx_voltage_mv = 1250;