Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/41629 )
Change subject: vc/amd/fsp/picasso: add Picasso misc data HOB GUID and struct ......................................................................
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 --- M src/vendorcode/amd/fsp/picasso/FspGuids.h A src/vendorcode/amd/fsp/picasso/misc_data.h 2 files changed, 18 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Raul Rangel: Looks good to me, approved Angel Pons: Looks good to me, approved
diff --git a/src/vendorcode/amd/fsp/picasso/FspGuids.h b/src/vendorcode/amd/fsp/picasso/FspGuids.h index 69cb8b7..24b185d 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 0000000..c803274 --- /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__ */