ec/google/chromeec: Define ACPI_NOTIFY_CROS_EC_MKBP constant
[coreboot2.git] / src / vendorcode / google / smbios.c
blob2bcd8dbc64f3ee80a6dde0167ad289b58a85b51f
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <boardid.h>
4 #include <smbios.h>
5 #include <stdio.h>
6 #include <string.h>
8 const char *smbios_mainboard_version(void)
10 static char str[8];
12 snprintf(str, sizeof(str), "rev%d", board_id());
14 return str;