Gaggery Tsai has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/77252?usp=email )
Change subject: src/drivers/intel: Add RMT+ and BDAT UUIDs ......................................................................
src/drivers/intel: Add RMT+ and BDAT UUIDs
This patch adds RMT+ and BDAT schema UUIDs to the HOB display list. The UUIDs are defined in the Intel FSP package.
BUG=b:293441360 TEST=Build Coreboot image and deploy to a Brya device. Enable HOB display and ensure the UUIDs are recognized.
Change-Id: I19f79a291da9ae8f7994475b0de9f21a18e04486 Signed-off-by: Gaggery Tsai gaggery.tsai@intel.com --- M src/drivers/intel/fsp2_0/hob_display.c 1 file changed, 42 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/52/77252/1
diff --git a/src/drivers/intel/fsp2_0/hob_display.c b/src/drivers/intel/fsp2_0/hob_display.c index 9340663..628fa7e 100644 --- a/src/drivers/intel/fsp2_0/hob_display.c +++ b/src/drivers/intel/fsp2_0/hob_display.c @@ -62,6 +62,42 @@ 0xb3, 0x19, 0x49, 0x01, 0x99, 0xa4, 0x7d, 0x55 };
+// 0xCE3F6794, 0x4883, 0x492C, { 0x8D, 0xBA, 0x2F, 0xC0, 0x98, 0x44, 0x77, 0x10 } +static const uint8_t bdat_guid[16] = { + 0x94, 0x67, 0x3f, 0xce, 0x83, 0x48, 0x2c, 0x49, + 0x8d, 0xba, 0x2f, 0xc0, 0x98, 0x44, 0x77, 0x10 +}; + +// 0x8f4e928, 0xf5f, 0x46d4, { 0x84, 0x10, 0x47, 0x9f, 0xda, 0x27, 0x9d, 0xb6 } +static const uint8_t ssa_guid1[16] = { + 0x28, 0xe9, 0xf4, 0x08, 0x5f, 0x0f, 0xd4, 0x46, + 0x84, 0x10, 0x47, 0x9f, 0xda, 0x27, 0x9d, 0xb6 +}; + +// 0x8a2b4a42, 0x7676, 0x4ed7, { 0x8a, 0xda, 0xe5, 0xf9, 0xa0, 0xe4, 0xf1, 0xb9 } +static const uint8_t ssa_guid2[16] = { + 0x42, 0x4a, 0x2b, 0x8a, 0x76, 0x76, 0xd7, 0x4e, + 0x8a, 0xda, 0xe5, 0xf9, 0xa0, 0xe4, 0xf1, 0xb9 +}; + +// 0x66d72ed9, 0xc63f, 0x4aa5, { 0xbb, 0xe, 0xb, 0x58, 0xc0, 0xd6, 0x28, 0x10 } +static const uint8_t ssa_guid3[16] = { + 0xd9, 0x2e, 0xd7, 0x66, 0x3f, 0xc6, 0xa5, 0x4a, + 0xbb, 0xe, 0xb, 0x58, 0xc0, 0xd6, 0x28, 0x10 +}; + +// 0xf6aaebea, 0xec88, 0x4a56, { 0xa4, 0x3a, 0x13, 0x6a, 0x44, 0xa7, 0xf3, 0x23 } +static const uint8_t ssa_guid4[16] = { + 0xea, 0xeb, 0xaa, 0xf6, 0x88, 0xec, 0x56, 0x4a, + 0xa4, 0x3a, 0x13, 0x6a, 0x44, 0xa7, 0xf3, 0x23 +}; + +// { 0x3047C2AC, 0x5E8E, 0x4C55, { 0xA1, 0xCB, 0xEA, 0xAD, 0x0A, 0x88, 0x86, 0x1B }} +static const uint8_t schema_list_guid[16] = { + 0xac, 0xc2, 0x47, 0x30, 0x8e, 0x5e, 0x55, 0x4c, + 0xa1, 0xcb, 0xea, 0xad, 0x0a, 0x88, 0x86, 0x1b +}; + struct guid_name_map { const void *guid; const char *name; @@ -77,6 +113,12 @@ { fsp_graphics_info_guid, "GRAPHICS INFO" }, { smbios_memory_info_guid, "FSP_SMBIOS_MEMORY_INFO_GUID" }, { tseg_guid, "TSEG" }, + { bdat_guid, "BDAT" }, + { ssa_guid1, "RMT_SAGV_POINT_1" }, + { ssa_guid2, "RMT_SAGV_POINT_2" }, + { ssa_guid3, "RMT_SAGV_POINT_3" }, + { ssa_guid4, "RMT_SAGV_POINT_4" }, + { schema_list_guid, "BDAT Schema List" }, };
static const char *resource_name(uint32_t type)