/* SPDX-License-Identifier: GPL-2.0-only */ #include #include #include #include const char *get_wifi_sar_cbfs_filename(void) { return get_wifi_sar_fw_config_filename(FW_CONFIG_FIELD(WIFI_SAR_ID)); } void variant_update_soc_chip_config(struct soc_intel_alderlake_config *config) { if (fw_config_probe(FW_CONFIG(DB_USB, DB_HDMI_LTE)) || fw_config_probe(FW_CONFIG(DB_USB, DB_HDMI)) || fw_config_probe(FW_CONFIG(DB_USB, DB_HDMI_1A))) { printk(BIOS_INFO, "Enable DDI PORT 2 for HPD and DDC.\n"); config->ddi_ports_config[DDI_PORT_2] = DDI_ENABLE_HPD | DDI_ENABLE_DDC; } if (!fw_config_probe(FW_CONFIG(WFC, WFC_PRESENT))) { printk(BIOS_INFO, "Disable usb2_port7 of WFC.\n"); config->usb2_ports[6] = (struct usb2_port_config) USB2_PORT_EMPTY; } }