blob: 66a050f9a06375dae509c59c58ed4d411c039f81 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/* SPDX-License-Identifier: GPL-2.0-only */
#include <ec/google/chromeec/ec.h>
#include <sar.h>
enum {
PIRETTE_SKU_START = 0x1D0000,
PIRETTE_SKU_END = 0x1Dffff,
PIRIKA_SKU_START = 0x1E0000,
PIRIKA_SKU_END = 0x1Effff,
PASARA_SKU_START = 0x2A0000,
PASARA_SKU_END = 0x2Affff,
};
const char *get_wifi_sar_cbfs_filename(void)
{
uint32_t sku_id = google_chromeec_get_board_sku();
if (sku_id >= PASARA_SKU_START && sku_id <= PASARA_SKU_END)
return "wifi_sar-pasara.hex";
return WIFI_SAR_CBFS_DEFAULT_FILENAME;
}
|