coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
mainboard.c
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#include <
boardid.h
>
4
#include <
ec/google/chromeec/ec.h
>
5
#include <
sar.h
>
6
7
const
char
*
get_wifi_sar_cbfs_filename
(
void
)
8
{
9
uint32_t
sku_id
;
10
11
if
(
google_chromeec_cbi_get_sku_id
(&
sku_id
) || (
sku_id
!= 5))
12
return
WIFI_SAR_CBFS_DEFAULT_FILENAME
;
13
14
return
"wifi_sar-laser.hex"
;
15
}
boardid.h
google_chromeec_cbi_get_sku_id
int google_chromeec_cbi_get_sku_id(uint32_t *id)
Definition:
ec.c:839
ec.h
sku_id
uint32_t sku_id(void)
Definition:
mainboard.c:11
get_wifi_sar_cbfs_filename
const char * get_wifi_sar_cbfs_filename(void)
Definition:
mainboard.c:7
sar.h
WIFI_SAR_CBFS_DEFAULT_FILENAME
#define WIFI_SAR_CBFS_DEFAULT_FILENAME
Definition:
sar.h:87
uint32_t
unsigned int uint32_t
Definition:
stdint.h:14
src
mainboard
google
octopus
variants
phaser
mainboard.c
Generated by
1.9.1