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>
This commit is contained in:
Felix Held 2020-05-20 01:32:38 +02:00 committed by Felix Held
parent f309204c53
commit e6fcfc2a48
2 changed files with 18 additions and 0 deletions

View File

@ -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__ */

View File

@ -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__ */