public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Michael Kubacki" <mikuback@linux.microsoft.com>
To: devel@edk2.groups.io
Cc: Abner Chang <abner.chang@hpe.com>,
	Gilbert Chen <gilbert.chen@hpe.com>,
	Daniel Schaefer <daniel.schaefer@hpe.com>
Subject: [edk2-platforms][PATCH v1 07/10] U5SeriesPkg: Add VariableFlashInfoLib
Date: Wed, 20 Apr 2022 16:44:17 -0400	[thread overview]
Message-ID: <20220420204420.1132-8-mikuback@linux.microsoft.com> (raw)
In-Reply-To: <20220420204420.1132-1-mikuback@linux.microsoft.com>

From: Michael Kubacki <michael.kubacki@microsoft.com>

REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3479

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 <abner.chang@hpe.com>
Cc: Gilbert Chen <gilbert.chen@hpe.com>
Cc: Daniel Schaefer <daniel.schaefer@hpe.com>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
---
 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/UefiBootManagerLib.inf
   FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
+  VariableFlashInfoLib|MdeModulePkg/Library/BaseVariableFlashInfoLib/BaseVariableFlashInfoLib.inf
   VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
 
 # RISC-V Platform Library
diff --git a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc
index 98a6a69ca3ec..26895a75ec2f 100644
--- a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc
+++ b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc
@@ -100,6 +100,7 @@ [LibraryClasses]
   ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
   UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
   FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
+  VariableFlashInfoLib|MdeModulePkg/Library/BaseVariableFlashInfoLib/BaseVariableFlashInfoLib.inf
   VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
 
 # RISC-V Platform Library
-- 
2.28.0.windows.1


  parent reply	other threads:[~2022-04-20 20:45 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-20 20:44 [edk2-platforms][PATCH v1 00/10] Add variableFlashInfoLib Michael Kubacki
2022-04-20 20:44 ` [edk2-platforms][PATCH v1 01/10] OverdriveBoard: Add VariableFlashInfoLib Michael Kubacki
2022-04-20 20:44 ` [edk2-platforms][PATCH v1 02/10] BeagleBoardPkg: " Michael Kubacki
2022-04-20 20:44 ` [edk2-platforms][PATCH v1 03/10] MinPlatformPkg: " Michael Kubacki
2022-04-20 20:44 ` [edk2-platforms][PATCH v1 04/10] CelloBoard: " Michael Kubacki
2022-04-20 20:44 ` [edk2-platforms][PATCH v1 05/10] SbsaQemu: " Michael Kubacki
2022-04-20 20:44 ` [edk2-platforms][PATCH v1 06/10] RaspberryPi: " Michael Kubacki
2022-04-22 14:41   ` Jeremy Linton
2022-04-22 14:44     ` Michael Kubacki
2022-04-20 20:44 ` Michael Kubacki [this message]
2022-04-21  2:03   ` [edk2-devel] [edk2-platforms][PATCH v1 07/10] U5SeriesPkg: " Abner Chang
2022-04-20 20:44 ` [edk2-platforms][PATCH v1 08/10] Socionext: " Michael Kubacki
2022-04-20 20:44 ` [edk2-platforms][PATCH v1 09/10] Softiron: " Michael Kubacki
2022-04-20 20:44 ` [edk2-platforms][PATCH v1 10/10] PlatformStandaloneMmPkg: " Michael Kubacki
2022-04-25 16:06   ` Sami Mujawar
2022-04-29 18:55     ` Ilias Apalodimas
2022-04-22 23:15 ` [edk2-devel] [edk2-platforms][PATCH v1 00/10] Add variableFlashInfoLib Michael D Kinney
2022-04-25 16:06 ` Sami Mujawar
2022-04-25 22:17   ` Michael Kubacki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220420204420.1132-8-mikuback@linux.microsoft.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox