summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/brya/variants/pujjo/variant.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/mainboard/google/brya/variants/pujjo/variant.c b/src/mainboard/google/brya/variants/pujjo/variant.c
index 75eb0c24a0..46a167a766 100644
--- a/src/mainboard/google/brya/variants/pujjo/variant.c
+++ b/src/mainboard/google/brya/variants/pujjo/variant.c
@@ -35,21 +35,5 @@ void variant_update_soc_chip_config(struct soc_intel_alderlake_config *config)
const char *get_wifi_sar_cbfs_filename(void)
{
- if (fw_config_probe(FW_CONFIG(WIFI_SAR_ID, WIFI_SAR_TABLE_0))) {
- printk(BIOS_INFO, "Use wifi_sar_0.hex.\n");
- return "wifi_sar_0.hex";
- }
-
- else if (fw_config_probe(FW_CONFIG(WIFI_SAR_ID, WIFI_SAR_TABLE_1))) {
- printk(BIOS_INFO, "Use wifi_sar_1.hex.\n");
- return "wifi_sar_1.hex";
- }
-
- else if (fw_config_probe(FW_CONFIG(WIFI_SAR_ID, WIFI_SAR_TABLE_2))) {
- printk(BIOS_INFO, "Use wifi_sar_2.hex.\n");
- return "wifi_sar_2.hex";
- }
-
- printk(BIOS_INFO, "Intel Wi-Fi SAR not used, return NULL!\n");
- return NULL;
+ return get_wifi_sar_fw_config_filename(FW_CONFIG_FIELD(WIFI_SAR_ID));
}