drivers/mipi: Add support for KD_KD110N11_51IE panel
[coreboot2.git] / src / ec / clevo / it5570e / smbios.c
blob20fa2ce8974477fa4a848141b810f107b45eadc3
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 #include <string.h>
4 #include <smbios.h>
5 #include "commands.h"
7 void smbios_ec_revision(uint8_t *ec_major_revision, uint8_t *ec_minor_revision)
9 char *version, *major, *minor;
11 version = ec_read_fw_version(); /* 1.XX.YY */
12 major = &version[2];
13 minor = &version[5];
15 *ec_major_revision = skip_atoi(&major);
16 *ec_minor_revision = skip_atoi(&minor);