summaryrefslogtreecommitdiff
path: root/src/vendorcode/amd
diff options
context:
space:
mode:
Diffstat (limited to 'src/vendorcode/amd')
-rw-r--r--src/vendorcode/amd/fsp/picasso/FspGuids.h4
-rw-r--r--src/vendorcode/amd/fsp/picasso/misc_data.h14
2 files changed, 18 insertions, 0 deletions
diff --git a/src/vendorcode/amd/fsp/picasso/FspGuids.h b/src/vendorcode/amd/fsp/picasso/FspGuids.h
index 69cb8b71c5..24b185d4a8 100644
--- a/src/vendorcode/amd/fsp/picasso/FspGuids.h
+++ b/src/vendorcode/amd/fsp/picasso/FspGuids.h
@@ -9,4 +9,8 @@
GUID_INIT(0x5fc7897a, 0x5aff, 0x4c61, \
0xaa, 0x7a, 0xdd, 0xcf, 0xa9, 0x18, 0x43, 0x0c)
+#define PICASSO_MISC_DATA_HOB_GUID \
+ GUID_INIT(0xf2784616, 0xb9bf, 0x4e1e, \
+ 0x99, 0xe0, 0x96, 0x26, 0xda, 0x7e, 0xa5, 0xf5)
+
#endif /* __FSP_GUIDS__ */
diff --git a/src/vendorcode/amd/fsp/picasso/misc_data.h b/src/vendorcode/amd/fsp/picasso/misc_data.h
new file mode 100644
index 0000000000..c8032749f9
--- /dev/null
+++ b/src/vendorcode/amd/fsp/picasso/misc_data.h
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#ifndef __PI_PICASSO_MISC_DATA_H__
+#define __PI_PICASSO_MISC_DATA_H__
+
+#define PICASSO_MISC_DATA_VERSION 1
+
+struct picasso_misc_data {
+ uint8_t version;
+ uint8_t unused[3];
+ uint32_t silicon_id;
+} __packed;
+
+#endif /* __PI_PICASSO_MISC_DATA_H__ */