From: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Date: Mon, 22 Jan 2024 13:04:35 +0000 (+0100)
Subject: lib: support SMBIOS3 table in uuid_guid_get_str()
X-Git-Tag: v2025.01-rc5-pxa1908~686^2
X-Git-Url: http://git.dujemihanovic.xyz/img/static//%22brlog.php?a=commitdiff_plain;h=91cc06bcab76dd4b9d07c221b4962283f0984c8e;p=u-boot.git

lib: support SMBIOS3 table in uuid_guid_get_str()

As we support installing SMBIOS3 tables in U-Boot we need to add this GUID
to the translation table used buy uuid_guid_get_str().

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
---

diff --git a/lib/uuid.c b/lib/uuid.c
index 0be22bc05f..2d7d99535e 100644
--- a/lib/uuid.c
+++ b/lib/uuid.c
@@ -176,6 +176,10 @@ static const struct {
 		"SMBIOS table",
 		SMBIOS_TABLE_GUID,
 	},
+	{
+		"SMBIOS3 table",
+		SMBIOS3_TABLE_GUID,
+	},
 	{
 		"Runtime properties",
 		EFI_RT_PROPERTIES_TABLE_GUID,