summaryrefslogtreecommitdiff
path: root/src/mainboard/google/dedede/variants/cret/variant.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/dedede/variants/cret/variant.c')
-rw-r--r--src/mainboard/google/dedede/variants/cret/variant.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mainboard/google/dedede/variants/cret/variant.c b/src/mainboard/google/dedede/variants/cret/variant.c
index d9fb28ce2b..bd4bce1561 100644
--- a/src/mainboard/google/dedede/variants/cret/variant.c
+++ b/src/mainboard/google/dedede/variants/cret/variant.c
@@ -9,7 +9,12 @@
const char *get_wifi_sar_cbfs_filename(void)
{
- return "wifi_sar-cret.hex";
+ const char *filename = NULL;
+
+ if (fw_config_probe(FW_CONFIG(TABLETMODE, TABLETMODE_ENABLED)))
+ filename = "wifi_sar-cret.hex";
+
+ return filename;
}
static void power_off_lte_module(void)