[edk2-devel] [edk2-platforms] [patch V2 21/35] Platform/SiFive: Consume MdeLibs.dsc.inc for RegisterFilterLib

Abner Chang abner.chang at hpe.com
Tue Mar 23 02:19:00 UTC 2021


Reviewed-by: Abner Chang <abner.chang at hpe.com>

> -----Original Message-----
> From: Dandan Bi [mailto:dandan.bi at intel.com]
> Sent: Monday, March 22, 2021 4:54 PM
> To: devel at edk2.groups.io
> Cc: Chang, Abner (HPS SW/FW Technologist) <abner.chang at hpe.com>;
> Schaefer, Daniel <daniel.schaefer at hpe.com>; Chen, Gilbert
> <gilbert.chen at hpe.com>
> Subject: [edk2-platforms] [patch V2 21/35] Platform/SiFive: Consume
> MdeLibs.dsc.inc for RegisterFilterLib
> 
> REF: INVALID URI REMOVED
> 3A__bugzilla.tianocore.org_show-5Fbug.cgi-3Fid-
> 3D3246&d=DwIBAg&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6FZBN4Vgi4Ulks
> kz6qU3NYRO03nHp9P7Z5q59A3E&m=Ckn3Q7nMlB277lSNjWNdEAXuER3dZ21
> 62mOItUrNUUA&s=0e3JOIp6BeJ6JujuEkNBRDOUy6OJCLG2N5X-
> jm8LB0Q&e=
> 
> MdeLibs.dsc.inc was added for some basic/default library
> instances provided by MdePkg and RegisterFilterLibNull Library
> was also added into it as the first version of MdeLibs.dsc.inc.
> 
> So update platform dsc to consume MdeLibs.dsc.inc for
> RegisterFilterLibNull which will be consumed by IoLib and BaseLib.
> 
> Cc: Abner Chang <abner.chang at hpe.com>
> Cc: Daniel Schaefer <daniel.schaefer at hpe.com>
> Cc: Gilbert Chen <gilbert.chen at hpe.com>
> Signed-off-by: Dandan Bi <dandan.bi at intel.com>
> ---
>  Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc      | 2 ++
>  .../SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc | 2 ++
>  2 files changed, 4 insertions(+)
> 
> diff --git a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc
> b/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc
> index 2d652d215f..8e66d82863 100644
> --- a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc
> +++ b/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc
> @@ -59,10 +59,12 @@ [SkuIds]
>  #
>  # Library Class section - list of all Library Classes needed by this Platform.
>  #
> 
> ##########################################################
> ######################
>  [LibraryClasses]
> +  !include MdePkg/MdeLibs.dsc.inc
> +
>    PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
>    PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
>    BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
>    BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
>    SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
> diff --git
> a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.d
> sc
> b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.
> dsc
> index 9f60475189..bce0c21501 100644
> ---
> a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.d
> sc
> +++
> b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.
> dsc
> @@ -59,10 +59,12 @@ [SkuIds]
>  #
>  # Library Class section - list of all Library Classes needed by this Platform.
>  #
> 
> ##########################################################
> ######################
>  [LibraryClasses]
> +  !include MdePkg/MdeLibs.dsc.inc
> +
>    PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
>    PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
>    BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
>    BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
>    SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
> --
> 2.18.0.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#73163): https://edk2.groups.io/g/devel/message/73163
Mute This Topic: https://groups.io/mt/81519805/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