repo.or.cz
/
coreboot2.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ec/google/chromeec: Define ACPI_NOTIFY_CROS_EC_MKBP constant
[coreboot2.git]
/
src
/
vendorcode
/
google
/
smbios.c
blob
2bcd8dbc64f3ee80a6dde0167ad289b58a85b51f
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#include <boardid.h>
4
#include <smbios.h>
5
#include <stdio.h>
6
#include <string.h>
7
8
const char
*
smbios_mainboard_version
(
void
)
9
{
10
static char
str
[
8
];
11
12
snprintf
(
str
,
sizeof
(
str
),
"rev%d"
,
board_id
());
13
14
return
str
;
15
}