[edk2-devel] [edk2-platforms][PATCH v1 1/1] MinPlatformPkg: Remove PlatformInitPreMem ReportFvLib dependency

Nate DeSimone nathaniel.l.desimone at intel.com
Thu Oct 29 21:32:40 UTC 2020


Pushed: https://github.com/tianocore/edk2-platforms/commit/8664e51

> -----Original Message-----
> From: michael.kubacki at outlook.com <michael.kubacki at outlook.com>
> Sent: Monday, October 26, 2020 1:04 PM
> To: devel at edk2.groups.io
> Cc: Chiu, Chasel <chasel.chiu at intel.com>; Desimone, Nathaniel L
> <nathaniel.l.desimone at intel.com>; Liming Gao
> <gaoliming at byosoft.com.cn>; Dong, Eric <eric.dong at intel.com>
> Subject: [edk2-platforms][PATCH v1 1/1] MinPlatformPkg: Remove
> PlatformInitPreMem ReportFvLib dependency
> 
> From: Michael Kubacki <michael.kubacki at microsoft.com>
> 
> PlatformInitPreMem does not actually use the ReportFvLib API. This change
> removes the library dependency in PlatformInitPreMem.inf so platforms
> using this module with a custom BoardInitLib are not forced to link a
> ReportFvLib.
> 
> Cc: Chasel Chiu <chasel.chiu at intel.com>
> Cc: Nate DeSimone <nathaniel.l.desimone at intel.com>
> Cc: Liming Gao <gaoliming at byosoft.com.cn>
> Cc: Eric Dong <eric.dong at intel.com>
> Signed-off-by: Michael Kubacki <michael.kubacki at microsoft.com>
> ---
> 
> Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformInitPre
> Mem.c   | 1 -
> 
> Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformInitPre
> Mem.inf | 1 -
>  2 files changed, 2 deletions(-)
> 
> diff --git
> a/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformInitP
> reMem.c
> b/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformInitP
> reMem.c
> index 48cbe0dfbec2..6519fdd04259 100644
> ---
> a/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformInitP
> reMem.c
> +++ b/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/Platfor
> +++ mInitPreMem.c
> @@ -15,7 +15,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent  #include
> <Library/TimerLib.h>  #include <Library/BaseMemoryLib.h>  #include
> <Library/PeiServicesLib.h> -#include <Library/ReportFvLib.h>  #include
> <Ppi/ReadOnlyVariable2.h>  #include <Ppi/MemoryDiscovered.h>  #include
> <Ppi/FirmwareVolumeInfo.h> diff --git
> a/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformInitP
> reMem.inf
> b/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformInitP
> reMem.inf
> index 8e828ff2ac4b..e37bcba56085 100644
> ---
> a/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformInitP
> reMem.inf
> +++ b/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/Platfor
> +++ mInitPreMem.inf
> @@ -24,7 +24,6 @@ [LibraryClasses]
>    MemoryAllocationLib
>    PeimEntryPoint
>    PeiServicesLib
> -  ReportFvLib
>    TestPointCheckLib
>    TimerLib
>    SetCacheMtrrLib
> --
> 2.28.0.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#66768): https://edk2.groups.io/g/devel/message/66768
Mute This Topic: https://groups.io/mt/77824554/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-






More information about the edk2-devel-archive mailing list