summaryrefslogtreecommitdiff
path: root/src/mainboard/google/octopus/variants/phaser/mainboard.c
blob: 4997ce452feff023ad87f9912a79cdb954f56476 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* SPDX-License-Identifier: GPL-2.0-only */

#include <boardid.h>
#include <ec/google/chromeec/ec.h>
#include <sar.h>

const char *get_wifi_sar_cbfs_filename(void)
{
	const char *filename = NULL;
	uint32_t sku_id;

	if (google_chromeec_cbi_get_sku_id(&sku_id))
		return NULL;

	if (sku_id == 5)
		filename = "wifi_sar-laser.hex";

	return filename;
}