xref: /aosp_15_r20/external/coreboot/src/drivers/ocp/dmi/ocp_dmi.h (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 #ifndef __OCP_DMI_H
4 #define __OCP_DMI_H
5 
6 #include <cpu/x86/msr.h>
7 #include <device/device.h>
8 #include <smbios.h>
9 
10 #define TBF "To Be Filled By O.E.M."
11 
12 extern msr_t xeon_sp_ppin[];
13 
14 /* Override SMBIOS type 11 OEM string 1 to string 6 */
15 void ocp_oem_smbios_strings(struct device *dev, struct smbios_type11 *t);
16 
17 /* This function allows adding the same repeated string to the table */
18 int smbios_add_oem_string(u8 *start, const char *str);
19 
20 #endif
21