blob: 689a59a8a69dbac6366f8c9e4e5f11f721dad2bb (
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 <console/console.h>
#include <fw_config.h>
#include <sar.h>
const char *get_wifi_sar_cbfs_filename(void)
{
if (fw_config_probe(FW_CONFIG(WIFI_SAR_ID, ID_0))) {
printk(BIOS_INFO, "Use wifi_sar_0.hex.\n");
return "wifi_sar_0.hex";
}
else if (fw_config_probe(FW_CONFIG(WIFI_SAR_ID, UNUSED))) {
printk(BIOS_INFO, "Wi-Fi SAR not used, return NULL!\n");
}
return NULL;
}
|