summaryrefslogtreecommitdiff
path: root/src/vendorcode/amd/fsp
diff options
context:
space:
mode:
authorFelix Held <felix.held@amd.corp-partner.google.com>2020-05-20 01:32:38 +0200
committerFelix Held <felix-coreboot@felixheld.de>2020-05-24 04:56:01 +0000
commite6fcfc2a48fdb96637ee50b9afed98e38ce01a0a (patch)
tree217b14db82ba32a0965418ed1abbc56666b7e907 /src/vendorcode/amd/fsp
parentf309204c534d5af1e8e40d4145e82e9229c7d4ee (diff)
vc/amd/fsp/picasso: add Picasso misc data HOB GUID and struct
BUG=b:153779573 Change-Id: I417ce34f2c302d61cfe94ff478f9022cae16f046 Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41629 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Raul Rangel <rrangel@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/vendorcode/amd/fsp')
-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__ */