From e6fcfc2a48fdb96637ee50b9afed98e38ce01a0a Mon Sep 17 00:00:00 2001 From: Felix Held Date: Wed, 20 May 2020 01:32:38 +0200 Subject: vc/amd/fsp/picasso: add Picasso misc data HOB GUID and struct BUG=b:153779573 Change-Id: I417ce34f2c302d61cfe94ff478f9022cae16f046 Signed-off-by: Felix Held Reviewed-on: https://review.coreboot.org/c/coreboot/+/41629 Reviewed-by: Angel Pons Reviewed-by: Raul Rangel Tested-by: build bot (Jenkins) --- src/vendorcode/amd/fsp/picasso/FspGuids.h | 4 ++++ src/vendorcode/amd/fsp/picasso/misc_data.h | 14 ++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 src/vendorcode/amd/fsp/picasso/misc_data.h (limited to 'src/vendorcode') 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__ */ -- cgit v1.2.3