coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
variant.c
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #include <fw_config.h>
4 #include <sar.h>
5 
6 const char *get_wifi_sar_cbfs_filename(void)
7 {
8  const char *filename = NULL;
9 
10  if (fw_config_probe(FW_CONFIG(TABLETMODE, TABLETMODE_DISABLED)))
11  filename = "wifi_sar-volta.hex";
12 
13  return filename;
14 }
#define FW_CONFIG(__field, __option)
Definition: fw_config.h:28
const char * get_wifi_sar_cbfs_filename(void)
Definition: variant.c:5
bool fw_config_probe(const struct fw_config *match)
Definition: fw_config.c:62
#define NULL
Definition: stddef.h:19