blob: 0f985985e2c838dd4ac6682f5ae16e3140561aec (
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 <fw_config.h>
#include <sar.h>
#include <drivers/intel/gma/opregion.h>
const char *get_wifi_sar_cbfs_filename(void)
{
if (fw_config_probe(FW_CONFIG(WIFI_SAR_ID, WIFI_SAR_ID_0)))
return "wifi_sar_0.hex";
else if (fw_config_probe(FW_CONFIG(WIFI_SAR_ID, WIFI_SAR_ID_1)))
return "wifi_sar_1.hex";
return WIFI_SAR_CBFS_DEFAULT_FILENAME;
}
const char *mainboard_vbt_filename(void)
{
if (fw_config_probe(FW_CONFIG(OLED_SCREEN, OLED_PRESENT)))
return "vbt-oled.bin";
return "vbt.bin";
}
|