summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya/variants/omnigul/variant.c
blob: 67cef1f733b0d9ba0fd8f9152e2da9a78927f07d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* SPDX-License-Identifier: GPL-2.0-only */

#include <sar.h>
#include <fw_config.h>

const char *get_wifi_sar_cbfs_filename(void)
{
	if (fw_config_probe(FW_CONFIG(WIFI_SAR_TABLE, OMNIGUL_WIFI_SAR_0)))
		return "wifi_sar_0.hex";
	if (fw_config_probe(FW_CONFIG(WIFI_SAR_TABLE, OMNIKNIGHT_WIFI_SAR_1)))
		return "wifi_sar_1.hex";

	return NULL;
}