summaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/octopus/variants/phaser/mainboard.c
blob: 4ea96d4ec49e009d25546a76a45539f1a8c5f20f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: GPL-2.0-only */
/* This file is part of the coreboot project. */

#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;
}