summaryrefslogtreecommitdiff
path: root/src/mainboard/google/octopus/variants/foob/variant.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/octopus/variants/foob/variant.c')
-rw-r--r--src/mainboard/google/octopus/variants/foob/variant.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mainboard/google/octopus/variants/foob/variant.c b/src/mainboard/google/octopus/variants/foob/variant.c
index 8cc4a3df0b..aeddc3b3b2 100644
--- a/src/mainboard/google/octopus/variants/foob/variant.c
+++ b/src/mainboard/google/octopus/variants/foob/variant.c
@@ -25,11 +25,10 @@ void variant_update_devtree(struct device *dev)
const char *get_wifi_sar_cbfs_filename(void)
{
- const char *filename = NULL;
uint32_t sku_id = SKU_UNKNOWN;
sku_id = google_chromeec_get_board_sku();
if (sku_id == 9)
- filename = "wifi_sar-foob360.hex";
- return filename;
+ return "wifi_sar-foob360.hex";
+ return WIFI_SAR_CBFS_DEFAULT_FILENAME;
}