summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/google/brya/variants/craask/variant.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/mainboard/google/brya/variants/craask/variant.c b/src/mainboard/google/brya/variants/craask/variant.c
index 689a59a8a6..19f3d5eac3 100644
--- a/src/mainboard/google/brya/variants/craask/variant.c
+++ b/src/mainboard/google/brya/variants/craask/variant.c
@@ -6,14 +6,5 @@
const char *get_wifi_sar_cbfs_filename(void)
{
- if (fw_config_probe(FW_CONFIG(WIFI_SAR_ID, ID_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, UNUSED))) {
- printk(BIOS_INFO, "Wi-Fi SAR not used, return NULL!\n");
- }
-
- return NULL;
+ return get_wifi_sar_fw_config_filename(FW_CONFIG_FIELD(WIFI_SAR_ID));
}