aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/ocp/dmi/ocp_dmi.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/ocp/dmi/ocp_dmi.h')
-rw-r--r--src/drivers/ocp/dmi/ocp_dmi.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/drivers/ocp/dmi/ocp_dmi.h b/src/drivers/ocp/dmi/ocp_dmi.h
new file mode 100644
index 0000000000..ef0c740c98
--- /dev/null
+++ b/src/drivers/ocp/dmi/ocp_dmi.h
@@ -0,0 +1,20 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#ifndef __OCP_DMI_H
+#define __OCP_DMI_H
+
+#include <cpu/x86/msr.h>
+#include <device/device.h>
+#include <smbios.h>
+
+#define TBF "To Be Filled By O.E.M."
+
+extern msr_t xeon_sp_ppin[];
+
+/* Override SMBIOS type 11 OEM string 1 to string 6 */
+void ocp_oem_smbios_strings(struct device *dev, struct smbios_type11 *t);
+
+/* This function allows adding the same repeated string to the table */
+int smbios_add_oem_string(u8 *start, const char *str);
+
+#endif