summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/brya/variants/taeko/variant.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mainboard/google/brya/variants/taeko/variant.c b/src/mainboard/google/brya/variants/taeko/variant.c
index 7d993a4129..b44e9e3dab 100644
--- a/src/mainboard/google/brya/variants/taeko/variant.c
+++ b/src/mainboard/google/brya/variants/taeko/variant.c
@@ -5,9 +5,5 @@
const char *get_wifi_sar_cbfs_filename(void)
{
- if (fw_config_probe(FW_CONFIG(WIFI_SAR_ID, WIFI_SAR_ID_0)))
- return "wifi_sar_0.hex";
- else if (fw_config_probe(FW_CONFIG(WIFI_SAR_ID, WIFI_SAR_ID_1)))
- return "wifi_sar_1.hex";
- return WIFI_SAR_CBFS_DEFAULT_FILENAME;
+ return get_wifi_sar_fw_config_filename(FW_CONFIG_FIELD(WIFI_SAR_ID));
}