From 91cc06bcab76dd4b9d07c221b4962283f0984c8e Mon Sep 17 00:00:00 2001
From: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Date: Mon, 22 Jan 2024 14:04:35 +0100
Subject: [PATCH] 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>
---
 lib/uuid.c | 4 ++++
 1 file changed, 4 insertions(+)

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,
-- 
2.39.5