blob: 9a061c3ba0ff3e30182e81ead43acad17a6c86c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* SPDX-License-Identifier: GPL-2.0-only */
/* This file is part of the coreboot project. */
#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;
}
|