Gitiles
Code Review
Sign In
review.coreboot.org
/
coreboot
/
27d6299d51744bda549b7764b8fde909ad812e33
/
.
/
src
/
vendorcode
/
google
/
smbios.c
blob: 938a8f1c75be547c1938fe69dfa172755b957d5b [
file
] [
log
] [
blame
]
/* SPDX-License-Identifier: GPL-2.0-only */
#include
<boardid.h>
#include
<smbios.h>
#include
<string.h>
const
char
*
smbios_mainboard_version
(
void
)
{
static
char
str
[
8
];
snprintf
(
str
,
sizeof
(
str
),
"rev%d"
,
board_id
());
return
str
;
}