summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vendorcode/amd/fsp/cezanne/FspGuids.h4
-rw-r--r--src/vendorcode/amd/fsp/cezanne/ccx_cppc_data.h17
-rw-r--r--src/vendorcode/amd/fsp/mendocino/FspGuids.h4
-rw-r--r--src/vendorcode/amd/fsp/mendocino/ccx_cppc_data.h17
4 files changed, 42 insertions, 0 deletions
diff --git a/src/vendorcode/amd/fsp/cezanne/FspGuids.h b/src/vendorcode/amd/fsp/cezanne/FspGuids.h
index 0eca78e711..1bef794418 100644
--- a/src/vendorcode/amd/fsp/cezanne/FspGuids.h
+++ b/src/vendorcode/amd/fsp/cezanne/FspGuids.h
@@ -17,4 +17,8 @@
GUID_INIT(0X6D5CD69D, 0XFB24, 0X4461, \
0XAA, 0X32, 0X8E, 0XE1, 0XB3, 0X3, 0X31, 0X9C )
+#define AMD_FSP_CCX_CPPC_DATA_HOB_GUID \
+ GUID_INIT(0x3060C5EC, 0x7399, 0x432D, \
+ 0xBC, 0x97, 0xBF, 0x95, 0xE4, 0x3D, 0x53, 0x0C )
+
#endif /* __FSP_GUIDS__ */
diff --git a/src/vendorcode/amd/fsp/cezanne/ccx_cppc_data.h b/src/vendorcode/amd/fsp/cezanne/ccx_cppc_data.h
new file mode 100644
index 0000000000..a924eaa4d4
--- /dev/null
+++ b/src/vendorcode/amd/fsp/cezanne/ccx_cppc_data.h
@@ -0,0 +1,17 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#ifndef CEZANNE_FSP_CCX_CPPC_DATA_H
+#define CEZANNE_FSP_CCX_CPPC_DATA_H
+
+#include <types.h>
+
+#define FSP_CCX_CPPC_DATA_VERSION 1
+
+struct fsp_ccx_cppc_data {
+ uint8_t version;
+ uint8_t unused[3];
+ uint32_t ccx_cppc_min_speed;
+ uint32_t ccx_cppc_nom_speed;
+} __packed;
+
+#endif /* CEZANNE_FSP_CCX_CPPC_DATA_H */
diff --git a/src/vendorcode/amd/fsp/mendocino/FspGuids.h b/src/vendorcode/amd/fsp/mendocino/FspGuids.h
index 0eca78e711..1bef794418 100644
--- a/src/vendorcode/amd/fsp/mendocino/FspGuids.h
+++ b/src/vendorcode/amd/fsp/mendocino/FspGuids.h
@@ -17,4 +17,8 @@
GUID_INIT(0X6D5CD69D, 0XFB24, 0X4461, \
0XAA, 0X32, 0X8E, 0XE1, 0XB3, 0X3, 0X31, 0X9C )
+#define AMD_FSP_CCX_CPPC_DATA_HOB_GUID \
+ GUID_INIT(0x3060C5EC, 0x7399, 0x432D, \
+ 0xBC, 0x97, 0xBF, 0x95, 0xE4, 0x3D, 0x53, 0x0C )
+
#endif /* __FSP_GUIDS__ */
diff --git a/src/vendorcode/amd/fsp/mendocino/ccx_cppc_data.h b/src/vendorcode/amd/fsp/mendocino/ccx_cppc_data.h
new file mode 100644
index 0000000000..76c85bc372
--- /dev/null
+++ b/src/vendorcode/amd/fsp/mendocino/ccx_cppc_data.h
@@ -0,0 +1,17 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#ifndef SABRINA_FSP_CCX_CPPC_DATA_H
+#define SABRINA_FSP_CCX_CPPC_DATA_H
+
+#include <types.h>
+
+#define FSP_CCX_CPPC_DATA_VERSION 1
+
+struct fsp_ccx_cppc_data {
+ uint8_t version;
+ uint8_t unused[3];
+ uint32_t ccx_cppc_min_speed;
+ uint32_t ccx_cppc_nom_speed;
+} __packed;
+
+#endif /* SABRINA_FSP_CCX_CPPC_DATA_H */