From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mx.groups.io with SMTP id smtpd.web09.13032.1650487510051612429 for ; Wed, 20 Apr 2022 13:45:10 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@linux.microsoft.com header.s=default header.b=IkkVOakW; spf=pass (domain: linux.microsoft.com, ip: 13.77.154.182, mailfrom: mikuback@linux.microsoft.com) Received: from localhost.localdomain (unknown [47.201.46.36]) by linux.microsoft.com (Postfix) with ESMTPSA id EBF8820E2D28; Wed, 20 Apr 2022 13:45:08 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com EBF8820E2D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1650487509; bh=ltC386wL+i0rSLPhlGk+YL09W+GrppZX8YouT8C0vHg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IkkVOakWrTjH/SnAeSjzgWTQT1tvsoLxeVmEh/NDMQsaEavO0D7x65epa/N9BYpaS u/WnvIGtkZxeRortV28UtHY7XyJtJtUfYQQYN1Vk+IXkQiBwyh6hVd4Yft7GLStFLT tijiw6YcXoAX5bFTYe6+lwc8QYOZ4yfu0FhvM6mY= From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Abner Chang , Gilbert Chen , Daniel Schaefer Subject: [edk2-platforms][PATCH v1 07/10] U5SeriesPkg: Add VariableFlashInfoLib Date: Wed, 20 Apr 2022 16:44:17 -0400 Message-Id: <20220420204420.1132-8-mikuback@linux.microsoft.com> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20220420204420.1132-1-mikuback@linux.microsoft.com> References: <20220420204420.1132-1-mikuback@linux.microsoft.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Kubacki REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D3479 Adds an instance for the library class VariableFlashInfoLib that was recently introduced in MdeModulePkg. This change is made to allow the new variable driver to build that has a dependency on this library class and does not require any further platform changes. Cc: Abner Chang Cc: Gilbert Chen Cc: Daniel Schaefer Signed-off-by: Michael Kubacki --- Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc | 1= + Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc | 1= + 2 files changed, 2 insertions(+) diff --git a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc b= /Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc index 318851332a7f..7b36b2c885e0 100644 --- a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc +++ b/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc @@ -100,6 +100,7 @@ [LibraryClasses] ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootMan= agerLib.inf FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf + VariableFlashInfoLib|MdeModulePkg/Library/BaseVariableFlashInfoLib/Bas= eVariableFlashInfoLib.inf VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/V= ariablePolicyHelperLib.inf =20 # RISC-V Platform Library diff --git a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/= U540.dsc b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U5= 40.dsc index 98a6a69ca3ec..26895a75ec2f 100644 --- a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.ds= c +++ b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.ds= c @@ -100,6 +100,7 @@ [LibraryClasses] ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootMan= agerLib.inf FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf + VariableFlashInfoLib|MdeModulePkg/Library/BaseVariableFlashInfoLib/Bas= eVariableFlashInfoLib.inf VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/V= ariablePolicyHelperLib.inf =20 # RISC-V Platform Library --=20 2.28.0.windows.1