public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib
@ 2021-03-28 13:10 Dandan Bi
  2021-03-28 13:10 ` [edk2-platforms] [patch V4 01/37] Drivers/ASIX: " Dandan Bi
                   ` (37 more replies)
  0 siblings, 38 replies; 43+ messages in thread
From: Dandan Bi @ 2021-03-28 13:10 UTC (permalink / raw)
  To: devel

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3246
RFC: https://edk2.groups.io/g/devel/message/72530
edk2 change: https://edk2.groups.io/g/devel/message/73420

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.

---
V4:
Consume the MdeLibs.dsc.inc for RegisterFilterLibNull in dsc file rather than in xxx.dsc.inc.
Following 5 new added patch for consuming MdeLibs.dsc.inc in platform dsc file.
  Platform/Comcast: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Platform/Hisilicon: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Platform/Marvell: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Platform/NXP: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Platform/SolidRun: Consume MdeLibs.dsc.inc for RegisterFilterLib
Following 1 new patch is updated to consume MdeLibs.dsc.inc in platform dsc rather than in xxx.dsc.inc.
  Platform/ARM: Consume MdeLibs.dsc.inc for RegisterFilterLib
Following 3 old patch are dropped which consume MdeLibs.dsc.inc in xxx.dsc.inc file.
  Silicon/Hisilicon: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Silicon/Marvell: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Silicon/NXP: Consume MdeLibs.dsc.inc for RegisterFilterLib
Other patches are the same with V3.
---
V3:
Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
[LibraryClasses] section since we can specify different [LibraryClasses]
section for libary instances in MdeLibs.dsc.inc.
---
V2:
Update Platform dsc to consume the MdeLibs.dsc.inc rather than
consuming RegisterFilterLibNull instance directly.

Dandan Bi (37):
  Drivers/ASIX: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Drivers/DisplayLink: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Drivers/OptionRomPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Features/Debugging: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Features/Network: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Features/OutOfBandManagement: Consume MdeLibs.dsc.inc for
    RegisterFilterLib
  Features/PowerManagement: Consume MdeLibs.dsc.inc for
    RegisterFilterLib
  Features/SystemInformation: Consume MdeLibs.dsc.inc for
    RegisterFilterLib
  Features/UserInterface: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Platform/AMD: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Platform/ARM: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Platform/BeagleBoard: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Platform/Comcast: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Platform/Hisilicon: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Platform/BoardModulePkg: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Platform/MinPlatformPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Platform/QuarkPlatformPkg: Consume MdeLibs.dsc.inc for
    RegisterFilterLib
  Platform/Vlv2TbltDevicePkg: Consume MdeLibs.dsc.inc for
    RegisterFilterLib
  Platform/LeMaker: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Platform/Marvell: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Platform/NXP: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Platform/Qemu: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Platform/RaspberryPi: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Platform/RISC-V: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Platform/SiFive: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Platform/Socionext: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Platform/SoftIron: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Platform/SolidRun: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Silicon/CoffeelakeSiliconPkg: Consume MdeLibs.dsc.inc for
    RegisterFilterLib
  Silicon/IntelSiliconPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Silicon/KabylakeSiliconPkg: Consume MdeLibs.dsc.inc for
    RegisterFilterLib
  Silicon/QuarkSocPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Silicon/TigerlakeSiliconPkg: Consume MdeLibs.dsc.inc for
    RegisterFilterLib
  Silicon/Openmoko: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Silicon/RISC_V: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Silicon/Synopsys/DesignWare: Consume MdeLibs.dsc.inc for
    RegisterFilterLib
  Silicon/TexasInstruments: Consume MdeLibs.dsc.inc for
    RegisterFilterLib

 Drivers/ASIX/Asix.dsc                                        | 3 +++
 Drivers/DisplayLink/DisplayLinkPkg/DisplayLinkPkg.dsc        | 2 ++
 Drivers/OptionRomPkg/OptionRomPkg.dsc                        | 4 +++-
 .../AcpiDebugFeaturePkg/Include/AcpiDebugFeature.dsc         | 5 ++++-
 .../BeepDebugFeaturePkg/Include/BeepDebugFeature.dsc         | 5 ++++-
 .../PostCodeDebugFeaturePkg/Include/PostCodeDebugFeature.dsc | 5 ++++-
 .../Usb3DebugFeaturePkg/Include/Usb3DebugFeature.dsc         | 5 ++++-
 .../Network/NetworkFeaturePkg/Include/NetworkFeature.dsc     | 5 ++++-
 .../IpmiFeaturePkg/Include/IpmiFeature.dsc                   | 5 ++++-
 .../SpcrFeaturePkg/Include/SpcrFeature.dsc                   | 5 ++++-
 .../Intel/PowerManagement/S3FeaturePkg/Include/S3Feature.dsc | 5 ++++-
 .../SmbiosFeaturePkg/Include/SmbiosFeature.dsc               | 5 ++++-
 .../UserInterface/LogoFeaturePkg/Include/LogoFeature.dsc     | 5 ++++-
 .../UserAuthFeaturePkg/Include/UserAuthFeature.dsc           | 5 ++++-
 .../Include/VirtualKeyboardFeature.dsc                       | 5 ++++-
 Platform/AMD/OverdriveBoard/OverdriveBoard.dsc               | 3 +++
 Platform/ARM/JunoPkg/ArmJuno.dsc                             | 1 +
 Platform/ARM/N1Sdp/N1SdpPlatform.dsc                         | 1 +
 Platform/ARM/SgiPkg/PlatformStandaloneMm.dsc                 | 3 +++
 Platform/ARM/SgiPkg/RdE1Edge/RdE1Edge.dsc                    | 3 +++
 Platform/ARM/SgiPkg/RdN1Edge/RdN1Edge.dsc                    | 3 +++
 Platform/ARM/SgiPkg/RdN1EdgeX2/RdN1EdgeX2.dsc                | 5 ++++-
 Platform/ARM/SgiPkg/RdN2/RdN2.dsc                            | 3 +++
 Platform/ARM/SgiPkg/RdV1/RdV1.dsc                            | 3 +++
 Platform/ARM/SgiPkg/RdV1Mc/RdV1Mc.dsc                        | 3 +++
 Platform/ARM/SgiPkg/Sgi575/Sgi575.dsc                        | 3 +++
 Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.dsc            | 1 +
 Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc         | 1 +
 Platform/BeagleBoard/BeagleBoardPkg/BeagleBoardPkg.dsc       | 3 ++-
 Platform/Comcast/RDKQemu/RDKQemu.dsc                         | 3 ++-
 Platform/Hisilicon/D03/D03.dsc                               | 1 +
 Platform/Hisilicon/D05/D05.dsc                               | 1 +
 Platform/Hisilicon/D06/D06.dsc                               | 1 +
 Platform/Hisilicon/HiKey/HiKey.dsc                           | 1 +
 Platform/Hisilicon/HiKey960/HiKey960.dsc                     | 1 +
 Platform/Intel/BoardModulePkg/BoardModulePkg.dsc             | 4 +++-
 Platform/Intel/MinPlatformPkg/Include/Dsc/CoreCommonLib.dsc  | 4 +++-
 Platform/Intel/QuarkPlatformPkg/Quark.dsc                    | 3 +++
 Platform/Intel/QuarkPlatformPkg/QuarkMin.dsc                 | 3 +++
 Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc         | 5 ++++-
 Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgX64.dsc          | 5 ++++-
 Platform/LeMaker/CelloBoard/CelloBoard.dsc                   | 3 +++
 Platform/Marvell/Armada70x0Db/Armada70x0Db.dsc               | 2 ++
 Platform/Marvell/Armada80x0Db/Armada80x0Db.dsc               | 2 ++
 Platform/Marvell/Cn913xDb/Cn913xDbA.dsc                      | 1 +
 Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.dsc                 | 1 +
 Platform/NXP/LS1046aFrwyPkg/LS1046aFrwyPkg.dsc               | 1 +
 Platform/NXP/LX2160aRdbPkg/LX2160aRdbPkg.dsc                 | 1 +
 Platform/Qemu/SbsaQemu/SbsaQemu.dsc                          | 3 +++
 Platform/RISC-V/PlatformPkg/RiscVPlatformPkg.dsc             | 2 ++
 Platform/RaspberryPi/RPi3/RPi3.dsc                           | 5 ++++-
 Platform/RaspberryPi/RPi4/RPi4.dsc                           | 5 ++++-
 Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc   | 3 +++
 .../U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc     | 3 +++
 Platform/Socionext/DeveloperBox/DeveloperBox.dsc             | 1 +
 Platform/Socionext/DeveloperBox/DeveloperBoxMm.dsc           | 1 +
 Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc | 2 ++
 Platform/SoftIron/Overdrive1000Board/Overdrive1000Board.dsc  | 3 +++
 Platform/SolidRun/Armada80x0McBin/Armada80x0McBin.dsc        | 1 +
 Silicon/Intel/CoffeelakeSiliconPkg/CoffeelakeSiliconPkg.dsc  | 2 ++
 Silicon/Intel/IntelSiliconPkg/IntelSiliconPkg.dsc            | 4 +++-
 Silicon/Intel/KabylakeSiliconPkg/KabylakeSiliconPkg.dsc      | 4 +++-
 Silicon/Intel/QuarkSocPkg/QuarkSocPkg.dsc                    | 5 ++++-
 Silicon/Intel/TigerlakeSiliconPkg/TigerlakeSiliconPkg.dsc    | 2 ++
 Silicon/Openmoko/Openmoko.dsc                                | 2 ++
 Silicon/RISC-V/ProcessorPkg/RiscVProcessorPkg.dsc            | 2 ++
 Silicon/Synopsys/DesignWare/DesignWare.dsc                   | 2 ++
 Silicon/TexasInstruments/Omap35xxPkg/Omap35xxPkg.dsc         | 2 ++
 68 files changed, 177 insertions(+), 25 deletions(-)

-- 
2.18.0.windows.1


^ permalink raw reply	[flat|nested] 43+ messages in thread

* [edk2-platforms] [patch V4 01/37] Drivers/ASIX: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:10 [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
@ 2021-03-28 13:10 ` Dandan Bi
  2021-03-28 13:10 ` [edk2-platforms] [patch V4 02/37] Drivers/DisplayLink: " Dandan Bi
                   ` (36 subsequent siblings)
  37 siblings, 0 replies; 43+ messages in thread
From: Dandan Bi @ 2021-03-28 13:10 UTC (permalink / raw)
  To: devel; +Cc: Samer El-Haj-Mahmoud, Ray Ni

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

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: Samer El-Haj-Mahmoud <samer.el-haj-mahmoud@arm.com>
Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
V4:
NA

V3:
Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
[LibraryClasses] section since we can specify different [LibraryClasses]
section for libary instances in MdeLibs.dsc.inc.

V2:
Update Platform dsc to consume the MdeLibs.dsc.inc rather than
consuming RegisterFilterLibNull instance directly.
---
 Drivers/ASIX/Asix.dsc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Drivers/ASIX/Asix.dsc b/Drivers/ASIX/Asix.dsc
index 5e02e11760..36ec2d587f 100644
--- a/Drivers/ASIX/Asix.dsc
+++ b/Drivers/ASIX/Asix.dsc
@@ -24,10 +24,13 @@ [Defines]
 ################################################################################
 #
 # Library Class section - list of all Library Classes needed by this Platform.
 #
 ################################################################################
+
+!include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses]
   DebugLib|MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf
   DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
   BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 43+ messages in thread

* [edk2-platforms] [patch V4 02/37] Drivers/DisplayLink: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:10 [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
  2021-03-28 13:10 ` [edk2-platforms] [patch V4 01/37] Drivers/ASIX: " Dandan Bi
@ 2021-03-28 13:10 ` Dandan Bi
  2021-03-28 13:10 ` [edk2-platforms] [patch V4 03/37] Drivers/OptionRomPkg: " Dandan Bi
                   ` (35 subsequent siblings)
  37 siblings, 0 replies; 43+ messages in thread
From: Dandan Bi @ 2021-03-28 13:10 UTC (permalink / raw)
  To: devel; +Cc: Leif Lindholm, Ard Biesheuvel, Andy Hayes

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

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: Leif Lindholm <leif@nuviainc.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Andy Hayes <andy.hayes@displaylink.com>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
V4:
NA

V3:
Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
[LibraryClasses] section since we can specify different [LibraryClasses]
section for libary instances in MdeLibs.dsc.inc.

V2:
Update Platform dsc to consume the MdeLibs.dsc.inc rather than
consuming RegisterFilterLibNull instance directly.
---
 Drivers/DisplayLink/DisplayLinkPkg/DisplayLinkPkg.dsc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Drivers/DisplayLink/DisplayLinkPkg/DisplayLinkPkg.dsc b/Drivers/DisplayLink/DisplayLinkPkg/DisplayLinkPkg.dsc
index 955331ba60..d2dffecd9e 100644
--- a/Drivers/DisplayLink/DisplayLinkPkg/DisplayLinkPkg.dsc
+++ b/Drivers/DisplayLink/DisplayLinkPkg/DisplayLinkPkg.dsc
@@ -14,10 +14,12 @@ [Defines]
   OUTPUT_DIRECTORY               = Build/DisplayLink
   SUPPORTED_ARCHITECTURES        = X64|IA32|AARCH64|ARM
   BUILD_TARGETS                  = DEBUG|RELEASE|NOOPT
   SKUID_IDENTIFIER               = DEFAULT
 
+!include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses]
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
   BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
   DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
   DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 43+ messages in thread

* [edk2-platforms] [patch V4 03/37] Drivers/OptionRomPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:10 [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
  2021-03-28 13:10 ` [edk2-platforms] [patch V4 01/37] Drivers/ASIX: " Dandan Bi
  2021-03-28 13:10 ` [edk2-platforms] [patch V4 02/37] Drivers/DisplayLink: " Dandan Bi
@ 2021-03-28 13:10 ` Dandan Bi
  2021-03-28 13:10 ` [edk2-platforms] [patch V4 04/37] Features/Debugging: " Dandan Bi
                   ` (34 subsequent siblings)
  37 siblings, 0 replies; 43+ messages in thread
From: Dandan Bi @ 2021-03-28 13:10 UTC (permalink / raw)
  To: devel; +Cc: Ray Ni

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

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: Ray Ni <ray.ni@intel.com>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
V4:
NA

V3:
Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
[LibraryClasses] section since we can specify different [LibraryClasses]
section for libary instances in MdeLibs.dsc.inc.

V2:
Update Platform dsc to consume the MdeLibs.dsc.inc rather than
consuming RegisterFilterLibNull instance directly.
---
 Drivers/OptionRomPkg/OptionRomPkg.dsc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Drivers/OptionRomPkg/OptionRomPkg.dsc b/Drivers/OptionRomPkg/OptionRomPkg.dsc
index 8a13cc54e6..bb166d11c3 100644
--- a/Drivers/OptionRomPkg/OptionRomPkg.dsc
+++ b/Drivers/OptionRomPkg/OptionRomPkg.dsc
@@ -4,11 +4,11 @@
 # This package is designed to interoperate with the EDK II open source project
 # at http://www.tianocore.org, and this package is required to build PCI compliant
 # Option ROM image for all CPU architectures, including EBC target.
 # A single driver can support mixes of EFI 1.1, UEFI 2.0 and UEFI 2.1.
 #
-# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2007 - 2021, Intel Corporation. All rights reserved.<BR>
 # Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR>
 # Copyright (c) 2020, ARM Limited. All rights reserved.
 #
 # SPDX-License-Identifier: BSD-2-Clause-Patent
 #
@@ -36,10 +36,12 @@ [Defines]
 #
 ################################################################################
 [SkuIds]
   0|DEFAULT              # The entry: 0|DEFAULT is reserved and always required.
 
+!include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses]
   DebugLib|MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf
   DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf  
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
   BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 43+ messages in thread

* [edk2-platforms] [patch V4 04/37] Features/Debugging: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:10 [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (2 preceding siblings ...)
  2021-03-28 13:10 ` [edk2-platforms] [patch V4 03/37] Drivers/OptionRomPkg: " Dandan Bi
@ 2021-03-28 13:10 ` Dandan Bi
  2021-03-28 13:10 ` [edk2-platforms] [patch V4 05/37] Features/Network: " Dandan Bi
                   ` (33 subsequent siblings)
  37 siblings, 0 replies; 43+ messages in thread
From: Dandan Bi @ 2021-03-28 13:10 UTC (permalink / raw)
  To: devel; +Cc: Eric Dong, Liming Gao

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

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: Eric Dong <eric.dong@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
V4:
NA

V3:
Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
[LibraryClasses] section since we can specify different [LibraryClasses]
section for libary instances in MdeLibs.dsc.inc.

V2:
Update Platform dsc to consume the MdeLibs.dsc.inc rather than
consuming RegisterFilterLibNull instance directly.
---
 .../AcpiDebugFeaturePkg/Include/AcpiDebugFeature.dsc         | 5 ++++-
 .../BeepDebugFeaturePkg/Include/BeepDebugFeature.dsc         | 5 ++++-
 .../PostCodeDebugFeaturePkg/Include/PostCodeDebugFeature.dsc | 5 ++++-
 .../Usb3DebugFeaturePkg/Include/Usb3DebugFeature.dsc         | 5 ++++-
 4 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/Features/Intel/Debugging/AcpiDebugFeaturePkg/Include/AcpiDebugFeature.dsc b/Features/Intel/Debugging/AcpiDebugFeaturePkg/Include/AcpiDebugFeature.dsc
index 3e6b1f69c2..856222a53d 100644
--- a/Features/Intel/Debugging/AcpiDebugFeaturePkg/Include/AcpiDebugFeature.dsc
+++ b/Features/Intel/Debugging/AcpiDebugFeaturePkg/Include/AcpiDebugFeature.dsc
@@ -4,11 +4,11 @@
 #
 # The DEC files are used by the utilities that parse DSC and
 # INF files to generate AutoGen.c and AutoGen.h files
 # for the build infrastructure.
 #
-# Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2019 - 2021, Intel Corporation. All rights reserved.<BR>
 #
 # SPDX-License-Identifier: BSD-2-Clause-Patent
 #
 ##
 
@@ -28,10 +28,13 @@ [Defines]
 ################################################################################
 #
 # Library Class section - list of all Library Classes needed by this feature.
 #
 ################################################################################
+
+!include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses]
   #######################################
   # Edk2 Packages
   #######################################
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
diff --git a/Features/Intel/Debugging/BeepDebugFeaturePkg/Include/BeepDebugFeature.dsc b/Features/Intel/Debugging/BeepDebugFeaturePkg/Include/BeepDebugFeature.dsc
index 65e00b5979..b24b3e458f 100644
--- a/Features/Intel/Debugging/BeepDebugFeaturePkg/Include/BeepDebugFeature.dsc
+++ b/Features/Intel/Debugging/BeepDebugFeaturePkg/Include/BeepDebugFeature.dsc
@@ -4,11 +4,11 @@
 #
 # The DEC files are used by the utilities that parse DSC and
 # INF files to generate AutoGen.c and AutoGen.h files
 # for the build infrastructure.
 #
-# Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2020 - 2021, Intel Corporation. All rights reserved.<BR>
 #
 # SPDX-License-Identifier: BSD-2-Clause-Patent
 #
 ##
 
@@ -38,10 +38,13 @@ [Defines]
 ################################################################################
 #
 # Library Class section - list of all Library Classes needed by this feature.
 #
 ################################################################################
+
+!include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses]
   #######################################
   # Edk2 Packages
   #######################################
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
diff --git a/Features/Intel/Debugging/PostCodeDebugFeaturePkg/Include/PostCodeDebugFeature.dsc b/Features/Intel/Debugging/PostCodeDebugFeaturePkg/Include/PostCodeDebugFeature.dsc
index 2852b9cf7c..3d886fff38 100644
--- a/Features/Intel/Debugging/PostCodeDebugFeaturePkg/Include/PostCodeDebugFeature.dsc
+++ b/Features/Intel/Debugging/PostCodeDebugFeaturePkg/Include/PostCodeDebugFeature.dsc
@@ -4,11 +4,11 @@
 #
 # The DEC files are used by the utilities that parse DSC and
 # INF files to generate AutoGen.c and AutoGen.h files
 # for the build infrastructure.
 #
-# Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2020 - 2021, Intel Corporation. All rights reserved.<BR>
 #
 # SPDX-License-Identifier: BSD-2-Clause-Patent
 #
 ##
 
@@ -38,10 +38,13 @@ [Defines]
 ################################################################################
 #
 # Library Class section - list of all Library Classes needed by this feature.
 #
 ################################################################################
+
+!include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses]
   #######################################
   # Edk2 Packages
   #######################################
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
diff --git a/Features/Intel/Debugging/Usb3DebugFeaturePkg/Include/Usb3DebugFeature.dsc b/Features/Intel/Debugging/Usb3DebugFeaturePkg/Include/Usb3DebugFeature.dsc
index 95adb01a74..1e3aaecd5d 100644
--- a/Features/Intel/Debugging/Usb3DebugFeaturePkg/Include/Usb3DebugFeature.dsc
+++ b/Features/Intel/Debugging/Usb3DebugFeaturePkg/Include/Usb3DebugFeature.dsc
@@ -4,11 +4,11 @@
 #
 # The DEC files are used by the utilities that parse DSC and
 # INF files to generate AutoGen.c and AutoGen.h files
 # for the build infrastructure.
 #
-# Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2019 - 2021, Intel Corporation. All rights reserved.<BR>
 #
 # SPDX-License-Identifier: BSD-2-Clause-Patent
 #
 ##
 
@@ -28,10 +28,13 @@ [Defines]
 ################################################################################
 #
 # Library Class section - list of all Library Classes needed by this feature.
 #
 ################################################################################
+
+!include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses]
   #######################################
   # Edk2 Packages
   #######################################
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 43+ messages in thread

* [edk2-platforms] [patch V4 05/37] Features/Network: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:10 [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (3 preceding siblings ...)
  2021-03-28 13:10 ` [edk2-platforms] [patch V4 04/37] Features/Debugging: " Dandan Bi
@ 2021-03-28 13:10 ` Dandan Bi
  2021-03-28 13:10 ` [edk2-platforms] [patch V4 06/37] Features/OutOfBandManagement: " Dandan Bi
                   ` (32 subsequent siblings)
  37 siblings, 0 replies; 43+ messages in thread
From: Dandan Bi @ 2021-03-28 13:10 UTC (permalink / raw)
  To: devel; +Cc: Liming Gao

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

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: Liming Gao <gaoliming@byosoft.com.cn>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
V4:
NA

V3:
Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
[LibraryClasses] section since we can specify different [LibraryClasses]
section for libary instances in MdeLibs.dsc.inc.

V2:
Update Platform dsc to consume the MdeLibs.dsc.inc rather than
consuming RegisterFilterLibNull instance directly.
---
 .../Network/NetworkFeaturePkg/Include/NetworkFeature.dsc     | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Features/Intel/Network/NetworkFeaturePkg/Include/NetworkFeature.dsc b/Features/Intel/Network/NetworkFeaturePkg/Include/NetworkFeature.dsc
index c59c21ee6c..bbc91ecbb1 100644
--- a/Features/Intel/Network/NetworkFeaturePkg/Include/NetworkFeature.dsc
+++ b/Features/Intel/Network/NetworkFeaturePkg/Include/NetworkFeature.dsc
@@ -4,11 +4,11 @@
 #
 # The DEC files are used by the utilities that parse DSC and
 # INF files to generate AutoGen.c and AutoGen.h files
 # for the build infrastructure.
 #
-# Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2019 - 2021, Intel Corporation. All rights reserved.<BR>
 #
 # SPDX-License-Identifier: BSD-2-Clause-Patent
 #
 ##
 
@@ -38,10 +38,13 @@ [PcdsFixedAtBuild]
 ################################################################################
 #
 # Library Class section - list of all Library Classes needed by this feature.
 #
 ################################################################################
+
+!include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses]
   !include NetworkPkg/NetworkLibs.dsc.inc
 
   #######################################
   # Edk2 Packages
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 43+ messages in thread

* [edk2-platforms] [patch V4 06/37] Features/OutOfBandManagement: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:10 [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (4 preceding siblings ...)
  2021-03-28 13:10 ` [edk2-platforms] [patch V4 05/37] Features/Network: " Dandan Bi
@ 2021-03-28 13:10 ` Dandan Bi
  2021-03-28 13:10 ` [edk2-platforms] [patch V4 07/37] Features/PowerManagement: " Dandan Bi
                   ` (31 subsequent siblings)
  37 siblings, 0 replies; 43+ messages in thread
From: Dandan Bi @ 2021-03-28 13:10 UTC (permalink / raw)
  To: devel; +Cc: Liming Gao

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

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: Liming Gao <gaoliming@byosoft.com.cn>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
V4:
NA

V3:
Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
[LibraryClasses] section since we can specify different [LibraryClasses]
section for libary instances in MdeLibs.dsc.inc.

V2:
Update Platform dsc to consume the MdeLibs.dsc.inc rather than
consuming RegisterFilterLibNull instance directly.
---
 .../IpmiFeaturePkg/Include/IpmiFeature.dsc                   | 5 ++++-
 .../SpcrFeaturePkg/Include/SpcrFeature.dsc                   | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Include/IpmiFeature.dsc b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Include/IpmiFeature.dsc
index a82f18a68c..dd36b8c697 100644
--- a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Include/IpmiFeature.dsc
+++ b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Include/IpmiFeature.dsc
@@ -4,11 +4,11 @@
 #
 # The DEC files are used by the utilities that parse DSC and
 # INF files to generate AutoGen.c and AutoGen.h files
 # for the build infrastructure.
 #
-# Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2019 - 2021, Intel Corporation. All rights reserved.<BR>
 #
 # SPDX-License-Identifier: BSD-2-Clause-Patent
 #
 ##
 
@@ -28,10 +28,13 @@ [Defines]
 ################################################################################
 #
 # Library Class section - list of all Library Classes needed by this feature.
 #
 ################################################################################
+
+!include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses]
   #######################################
   # Edk2 Packages
   #######################################
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
diff --git a/Features/Intel/OutOfBandManagement/SpcrFeaturePkg/Include/SpcrFeature.dsc b/Features/Intel/OutOfBandManagement/SpcrFeaturePkg/Include/SpcrFeature.dsc
index 89ef648f31..c51e552df5 100644
--- a/Features/Intel/OutOfBandManagement/SpcrFeaturePkg/Include/SpcrFeature.dsc
+++ b/Features/Intel/OutOfBandManagement/SpcrFeaturePkg/Include/SpcrFeature.dsc
@@ -4,11 +4,11 @@
 #
 # The DEC files are used by the utilities that parse DSC and
 # INF files to generate AutoGen.c and AutoGen.h files
 # for the build infrastructure.
 #
-# Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2020 - 2021, Intel Corporation. All rights reserved.<BR>
 #
 # SPDX-License-Identifier: BSD-2-Clause-Patent
 #
 ##
 
@@ -28,10 +28,13 @@ [Defines]
 ################################################################################
 #
 # Library Class section - list of all Library Classes needed by this feature.
 #
 ################################################################################
+
+!include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses]
   #######################################
   # Edk2 Packages
   #######################################
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 43+ messages in thread

* [edk2-platforms] [patch V4 07/37] Features/PowerManagement: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:10 [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (5 preceding siblings ...)
  2021-03-28 13:10 ` [edk2-platforms] [patch V4 06/37] Features/OutOfBandManagement: " Dandan Bi
@ 2021-03-28 13:10 ` Dandan Bi
  2021-03-28 13:10 ` [edk2-platforms] [patch V4 08/37] Features/SystemInformation: " Dandan Bi
                   ` (30 subsequent siblings)
  37 siblings, 0 replies; 43+ messages in thread
From: Dandan Bi @ 2021-03-28 13:10 UTC (permalink / raw)
  To: devel; +Cc: Liming Gao

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

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: Liming Gao <gaoliming@byosoft.com.cn>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
V4:
NA

V3:
Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
[LibraryClasses] section since we can specify different [LibraryClasses]
section for libary instances in MdeLibs.dsc.inc.

V2:
Update Platform dsc to consume the MdeLibs.dsc.inc rather than
consuming RegisterFilterLibNull instance directly.
---
 .../Intel/PowerManagement/S3FeaturePkg/Include/S3Feature.dsc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Features/Intel/PowerManagement/S3FeaturePkg/Include/S3Feature.dsc b/Features/Intel/PowerManagement/S3FeaturePkg/Include/S3Feature.dsc
index 647dc3f93a..312870981e 100644
--- a/Features/Intel/PowerManagement/S3FeaturePkg/Include/S3Feature.dsc
+++ b/Features/Intel/PowerManagement/S3FeaturePkg/Include/S3Feature.dsc
@@ -4,11 +4,11 @@
 #
 # The DEC files are used by the utilities that parse DSC and
 # INF files to generate AutoGen.c and AutoGen.h files
 # for the build infrastructure.
 #
-# Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2019 - 2021, Intel Corporation. All rights reserved.<BR>
 #
 # SPDX-License-Identifier: BSD-2-Clause-Patent
 #
 ##
 
@@ -28,10 +28,13 @@ [Defines]
 ################################################################################
 #
 # Library Class section - list of all Library Classes needed by this feature.
 #
 ################################################################################
+
+!include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses]
   #######################################
   # Edk2 Packages
   #######################################
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 43+ messages in thread

* [edk2-platforms] [patch V4 08/37] Features/SystemInformation: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:10 [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (6 preceding siblings ...)
  2021-03-28 13:10 ` [edk2-platforms] [patch V4 07/37] Features/PowerManagement: " Dandan Bi
@ 2021-03-28 13:10 ` Dandan Bi
  2021-03-28 13:10 ` [edk2-platforms] [patch V4 09/37] Features/UserInterface: " Dandan Bi
                   ` (29 subsequent siblings)
  37 siblings, 0 replies; 43+ messages in thread
From: Dandan Bi @ 2021-03-28 13:10 UTC (permalink / raw)
  To: devel; +Cc: Liming Gao

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

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: Liming Gao <gaoliming@byosoft.com.cn>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
V4:
NA

V3:
Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
[LibraryClasses] section since we can specify different [LibraryClasses]
section for libary instances in MdeLibs.dsc.inc.

V2:
Update Platform dsc to consume the MdeLibs.dsc.inc rather than
consuming RegisterFilterLibNull instance directly.
---
 .../SmbiosFeaturePkg/Include/SmbiosFeature.dsc               | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Features/Intel/SystemInformation/SmbiosFeaturePkg/Include/SmbiosFeature.dsc b/Features/Intel/SystemInformation/SmbiosFeaturePkg/Include/SmbiosFeature.dsc
index a59fdf3702..31d44b68b3 100644
--- a/Features/Intel/SystemInformation/SmbiosFeaturePkg/Include/SmbiosFeature.dsc
+++ b/Features/Intel/SystemInformation/SmbiosFeaturePkg/Include/SmbiosFeature.dsc
@@ -4,11 +4,11 @@
 #
 # The DEC files are used by the utilities that parse DSC and
 # INF files to generate AutoGen.c and AutoGen.h files
 # for the build infrastructure.
 #
-# Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2019 - 2021, Intel Corporation. All rights reserved.<BR>
 #
 # SPDX-License-Identifier: BSD-2-Clause-Patent
 #
 ##
 
@@ -28,10 +28,13 @@ [Defines]
 ################################################################################
 #
 # Library Class section - list of all Library Classes needed by this feature.
 #
 ################################################################################
+
+!include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses]
   #######################################
   # Edk2 Packages
   #######################################
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 43+ messages in thread

* [edk2-platforms] [patch V4 09/37] Features/UserInterface: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:10 [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (7 preceding siblings ...)
  2021-03-28 13:10 ` [edk2-platforms] [patch V4 08/37] Features/SystemInformation: " Dandan Bi
@ 2021-03-28 13:10 ` Dandan Bi
  2021-03-28 13:10 ` [edk2-platforms] [patch V4 10/37] Platform/AMD: " Dandan Bi
                   ` (28 subsequent siblings)
  37 siblings, 0 replies; 43+ messages in thread
From: Dandan Bi @ 2021-03-28 13:10 UTC (permalink / raw)
  To: devel; +Cc: Liming Gao

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

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: Liming Gao <gaoliming@byosoft.com.cn>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
V4:
NA

V3:
Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
[LibraryClasses] section since we can specify different [LibraryClasses]
section for libary instances in MdeLibs.dsc.inc.

V2:
Update Platform dsc to consume the MdeLibs.dsc.inc rather than
consuming RegisterFilterLibNull instance directly.
---
 .../UserInterface/LogoFeaturePkg/Include/LogoFeature.dsc     | 5 ++++-
 .../UserAuthFeaturePkg/Include/UserAuthFeature.dsc           | 5 ++++-
 .../Include/VirtualKeyboardFeature.dsc                       | 5 ++++-
 3 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/Features/Intel/UserInterface/LogoFeaturePkg/Include/LogoFeature.dsc b/Features/Intel/UserInterface/LogoFeaturePkg/Include/LogoFeature.dsc
index d2dcdeb36a..1898be12ed 100644
--- a/Features/Intel/UserInterface/LogoFeaturePkg/Include/LogoFeature.dsc
+++ b/Features/Intel/UserInterface/LogoFeaturePkg/Include/LogoFeature.dsc
@@ -4,11 +4,11 @@
 #
 # The DEC files are used by the utilities that parse DSC and
 # INF files to generate AutoGen.c and AutoGen.h files
 # for the build infrastructure.
 #
-# Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2020 - 2021, Intel Corporation. All rights reserved.<BR>
 #
 # SPDX-License-Identifier: BSD-2-Clause-Patent
 #
 ##
 
@@ -28,10 +28,13 @@ [Defines]
 ################################################################################
 #
 # Library Class section - list of all Library Classes needed by this feature.
 #
 ################################################################################
+
+!include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses]
   #######################################
   # Edk2 Packages
   #######################################
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
diff --git a/Features/Intel/UserInterface/UserAuthFeaturePkg/Include/UserAuthFeature.dsc b/Features/Intel/UserInterface/UserAuthFeaturePkg/Include/UserAuthFeature.dsc
index 7d784f4dff..d4f7a5ed23 100644
--- a/Features/Intel/UserInterface/UserAuthFeaturePkg/Include/UserAuthFeature.dsc
+++ b/Features/Intel/UserInterface/UserAuthFeaturePkg/Include/UserAuthFeature.dsc
@@ -4,11 +4,11 @@
 #
 # The DEC files are used by the utilities that parse DSC and
 # INF files to generate AutoGen.c and AutoGen.h files
 # for the build infrastructure.
 #
-# Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2020 - 2021, Intel Corporation. All rights reserved.<BR>
 #
 # SPDX-License-Identifier: BSD-2-Clause-Patent
 #
 ##
 
@@ -28,10 +28,13 @@ [Defines]
 ################################################################################
 #
 # Library Class section - list of all Library Classes needed by this feature.
 #
 ################################################################################
+
+!include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses]
   #######################################
   # Edk2 Packages
   #######################################
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
diff --git a/Features/Intel/UserInterface/VirtualKeyboardFeaturePkg/Include/VirtualKeyboardFeature.dsc b/Features/Intel/UserInterface/VirtualKeyboardFeaturePkg/Include/VirtualKeyboardFeature.dsc
index c10fb2d567..a8c3819480 100644
--- a/Features/Intel/UserInterface/VirtualKeyboardFeaturePkg/Include/VirtualKeyboardFeature.dsc
+++ b/Features/Intel/UserInterface/VirtualKeyboardFeaturePkg/Include/VirtualKeyboardFeature.dsc
@@ -4,11 +4,11 @@
 #
 # The DEC files are used by the utilities that parse DSC and
 # INF files to generate AutoGen.c and AutoGen.h files
 # for the build infrastructure.
 #
-# Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2020 - 2021, Intel Corporation. All rights reserved.<BR>
 #
 # SPDX-License-Identifier: BSD-2-Clause-Patent
 #
 ##
 
@@ -28,10 +28,13 @@ [Defines]
 ################################################################################
 #
 # Library Class section - list of all Library Classes needed by this feature.
 #
 ################################################################################
+
+!include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses]
   #######################################
   # Edk2 Packages
   #######################################
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 43+ messages in thread

* [edk2-platforms] [patch V4 10/37] Platform/AMD: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:10 [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (8 preceding siblings ...)
  2021-03-28 13:10 ` [edk2-platforms] [patch V4 09/37] Features/UserInterface: " Dandan Bi
@ 2021-03-28 13:10 ` Dandan Bi
  2021-03-28 13:10 ` [edk2-platforms] [patch V4 11/37] Platform/ARM: " Dandan Bi
                   ` (27 subsequent siblings)
  37 siblings, 0 replies; 43+ messages in thread
From: Dandan Bi @ 2021-03-28 13:10 UTC (permalink / raw)
  To: devel; +Cc: Ard Biesheuvel, Leif Lindholm

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

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: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Leif Lindholm <leif@nuviainc.com>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
V4:
NA

V3:
Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
[LibraryClasses] section since we can specify different [LibraryClasses]
section for libary instances in MdeLibs.dsc.inc.

V2:
Update Platform dsc to consume the MdeLibs.dsc.inc rather than
consuming RegisterFilterLibNull instance directly.
---
 Platform/AMD/OverdriveBoard/OverdriveBoard.dsc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc b/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc
index 05d1b69c83..bc8d8e37d6 100644
--- a/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc
+++ b/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc
@@ -27,10 +27,13 @@ [Defines]
 ################################################################################
 #
 # Library Class section - list of all Library Classes needed by this Platform.
 #
 ################################################################################
+
+!include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses.common]
 !if $(TARGET) == RELEASE
   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
 !else
   DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 43+ messages in thread

* [edk2-platforms] [patch V4 11/37] Platform/ARM: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:10 [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (9 preceding siblings ...)
  2021-03-28 13:10 ` [edk2-platforms] [patch V4 10/37] Platform/AMD: " Dandan Bi
@ 2021-03-28 13:10 ` Dandan Bi
  2021-03-31  2:59   ` [edk2-devel] " Sami Mujawar
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 12/37] Platform/BeagleBoard: " Dandan Bi
                   ` (26 subsequent siblings)
  37 siblings, 1 reply; 43+ messages in thread
From: Dandan Bi @ 2021-03-28 13:10 UTC (permalink / raw)
  To: devel; +Cc: Ard Biesheuvel, Thomas Abraham, Sami Mujawar

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

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: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Thomas Abraham <thomas.abraham@arm.com>
Cc: Sami Mujawar <sami.mujawar@arm.com>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
V4:
Consume the MdeLibs.dsc.inc for RegisterFilterLibNull in all dsc files.
Rather than consuming MdeLibs.dsc.in ArmVExpress.dsc.inc.

V3:
Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
[LibraryClasses] section since we can specify different [LibraryClasses]
section for libary instances in MdeLibs.dsc.inc.

V2:
Update Platform dsc to consume the MdeLibs.dsc.inc rather than
consuming RegisterFilterLibNull instance directly.
---
 Platform/ARM/JunoPkg/ArmJuno.dsc                     | 1 +
 Platform/ARM/N1Sdp/N1SdpPlatform.dsc                 | 1 +
 Platform/ARM/SgiPkg/PlatformStandaloneMm.dsc         | 3 +++
 Platform/ARM/SgiPkg/RdE1Edge/RdE1Edge.dsc            | 3 +++
 Platform/ARM/SgiPkg/RdN1Edge/RdN1Edge.dsc            | 3 +++
 Platform/ARM/SgiPkg/RdN1EdgeX2/RdN1EdgeX2.dsc        | 5 ++++-
 Platform/ARM/SgiPkg/RdN2/RdN2.dsc                    | 3 +++
 Platform/ARM/SgiPkg/RdV1/RdV1.dsc                    | 3 +++
 Platform/ARM/SgiPkg/RdV1Mc/RdV1Mc.dsc                | 3 +++
 Platform/ARM/SgiPkg/Sgi575/Sgi575.dsc                | 3 +++
 Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.dsc    | 1 +
 Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc | 1 +
 12 files changed, 29 insertions(+), 1 deletion(-)

diff --git a/Platform/ARM/JunoPkg/ArmJuno.dsc b/Platform/ARM/JunoPkg/ArmJuno.dsc
index a6ea957b38..fdfc8cd9e2 100644
--- a/Platform/ARM/JunoPkg/ArmJuno.dsc
+++ b/Platform/ARM/JunoPkg/ArmJuno.dsc
@@ -24,10 +24,11 @@ [Defines]
   SKUID_IDENTIFIER               = DEFAULT
   FLASH_DEFINITION               = Platform/ARM/JunoPkg/ArmJuno.fdf
 
 # On RTSM, most peripherals are VExpress Motherboard peripherals
 !include Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc
+!include MdePkg/MdeLibs.dsc.inc
 
 !ifdef DYNAMIC_TABLES_FRAMEWORK
 !include DynamicTablesPkg/DynamicTables.dsc.inc
 !include Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManager.dsc.inc
 !endif
diff --git a/Platform/ARM/N1Sdp/N1SdpPlatform.dsc b/Platform/ARM/N1Sdp/N1SdpPlatform.dsc
index 92376aab8f..61e7a909f8 100644
--- a/Platform/ARM/N1Sdp/N1SdpPlatform.dsc
+++ b/Platform/ARM/N1Sdp/N1SdpPlatform.dsc
@@ -20,10 +20,11 @@ [Defines]
   SKUID_IDENTIFIER               = DEFAULT
   FLASH_DEFINITION               = Platform/ARM/N1Sdp/N1SdpPlatform.fdf
   BUILD_NUMBER                   = 1
 
 !include Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc
+!include MdePkg/MdeLibs.dsc.inc
 
 [LibraryClasses.common]
   ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
   ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf
   ArmPlatformLib|Silicon/ARM/NeoverseN1Soc/Library/PlatformLib/PlatformLib.inf
diff --git a/Platform/ARM/SgiPkg/PlatformStandaloneMm.dsc b/Platform/ARM/SgiPkg/PlatformStandaloneMm.dsc
index 38bf6020ba..e281d54909 100644
--- a/Platform/ARM/SgiPkg/PlatformStandaloneMm.dsc
+++ b/Platform/ARM/SgiPkg/PlatformStandaloneMm.dsc
@@ -27,10 +27,13 @@ [Defines]
 ################################################################################
 #
 # Library Class section - list of all Library Classes needed by this Platform.
 #
 ################################################################################
+
+!include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses]
   #
   # Basic
   #
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
diff --git a/Platform/ARM/SgiPkg/RdE1Edge/RdE1Edge.dsc b/Platform/ARM/SgiPkg/RdE1Edge/RdE1Edge.dsc
index 26ab7e6ef6..edd5a49315 100644
--- a/Platform/ARM/SgiPkg/RdE1Edge/RdE1Edge.dsc
+++ b/Platform/ARM/SgiPkg/RdE1Edge/RdE1Edge.dsc
@@ -24,10 +24,13 @@ [Defines]
 
 # include common definitions from SgiPlatform.dsc
 !include Platform/ARM/SgiPkg/SgiPlatform.dsc.inc
 !include Platform/ARM/SgiPkg/SgiMemoryMap.dsc.inc
 
+# include common/basic libraries from MdePkg.
+!include MdePkg/MdeLibs.dsc.inc
+
 ################################################################################
 #
 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
 #
 ################################################################################
diff --git a/Platform/ARM/SgiPkg/RdN1Edge/RdN1Edge.dsc b/Platform/ARM/SgiPkg/RdN1Edge/RdN1Edge.dsc
index 7d397438bf..37f0deed6b 100644
--- a/Platform/ARM/SgiPkg/RdN1Edge/RdN1Edge.dsc
+++ b/Platform/ARM/SgiPkg/RdN1Edge/RdN1Edge.dsc
@@ -24,10 +24,13 @@ [Defines]
 
 # include common definitions from SgiPlatform.dsc
 !include Platform/ARM/SgiPkg/SgiPlatform.dsc.inc
 !include Platform/ARM/SgiPkg/SgiMemoryMap.dsc.inc
 
+# include common/basic libraries from MdePkg.
+!include MdePkg/MdeLibs.dsc.inc
+
 ################################################################################
 #
 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
 #
 ################################################################################
diff --git a/Platform/ARM/SgiPkg/RdN1EdgeX2/RdN1EdgeX2.dsc b/Platform/ARM/SgiPkg/RdN1EdgeX2/RdN1EdgeX2.dsc
index 5c87a0ca9b..d9dfa7c4ae 100644
--- a/Platform/ARM/SgiPkg/RdN1EdgeX2/RdN1EdgeX2.dsc
+++ b/Platform/ARM/SgiPkg/RdN1EdgeX2/RdN1EdgeX2.dsc
@@ -22,11 +22,14 @@ [Defines]
   BOARD_DXE_FV_COMPONENTS        = Platform/ARM/SgiPkg/RdN1EdgeX2/RdN1EdgeX2.fdf.inc
   BUILD_NUMBER                   = 1
 
 # include common definitions from SgiPlatform.dsc
 !include Platform/ARM/SgiPkg/SgiPlatform.dsc.inc
-!include Platform/ARM/SgiPkg/SgiMemoryMap.dsc.inc
+!include Platform/ARM/SgiPkg/SgiMemoryMap.dsc.
+
+# include common/basic libraries from MdePkg.
+!include MdePkg/MdeLibs.dsc.inc
 
 ################################################################################
 #
 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
 #
diff --git a/Platform/ARM/SgiPkg/RdN2/RdN2.dsc b/Platform/ARM/SgiPkg/RdN2/RdN2.dsc
index 55614574e3..adce7ee90f 100644
--- a/Platform/ARM/SgiPkg/RdN2/RdN2.dsc
+++ b/Platform/ARM/SgiPkg/RdN2/RdN2.dsc
@@ -24,10 +24,13 @@ [Defines]
 
 # include common definitions from SgiPlatform.dsc
 !include Platform/ARM/SgiPkg/SgiPlatform.dsc.inc
 !include Platform/ARM/SgiPkg/SgiMemoryMap2.dsc.inc
 
+# include common/basic libraries from MdePkg.
+!include MdePkg/MdeLibs.dsc.inc
+
 ################################################################################
 #
 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
 #
 ################################################################################
diff --git a/Platform/ARM/SgiPkg/RdV1/RdV1.dsc b/Platform/ARM/SgiPkg/RdV1/RdV1.dsc
index e8ee0e8769..a878d28df7 100644
--- a/Platform/ARM/SgiPkg/RdV1/RdV1.dsc
+++ b/Platform/ARM/SgiPkg/RdV1/RdV1.dsc
@@ -24,10 +24,13 @@ [Defines]
 
 # include common definitions from SgiPlatform.dsc
 !include Platform/ARM/SgiPkg/SgiPlatform.dsc.inc
 !include Platform/ARM/SgiPkg/SgiMemoryMap.dsc.inc
 
+# include common/basic libraries from MdePkg.
+!include MdePkg/MdeLibs.dsc.inc
+
 ################################################################################
 #
 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
 #
 ################################################################################
diff --git a/Platform/ARM/SgiPkg/RdV1Mc/RdV1Mc.dsc b/Platform/ARM/SgiPkg/RdV1Mc/RdV1Mc.dsc
index c2fcc0df45..578cb74fa0 100644
--- a/Platform/ARM/SgiPkg/RdV1Mc/RdV1Mc.dsc
+++ b/Platform/ARM/SgiPkg/RdV1Mc/RdV1Mc.dsc
@@ -24,10 +24,13 @@ [Defines]
 
 # include common definitions from SgiPlatform.dsc
 !include Platform/ARM/SgiPkg/SgiPlatform.dsc.inc
 !include Platform/ARM/SgiPkg/SgiMemoryMap.dsc.inc
 
+# include common/basic libraries from MdePkg.
+!include MdePkg/MdeLibs.dsc.inc
+
 ################################################################################
 #
 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
 #
 ################################################################################
diff --git a/Platform/ARM/SgiPkg/Sgi575/Sgi575.dsc b/Platform/ARM/SgiPkg/Sgi575/Sgi575.dsc
index a867536841..50790135a6 100644
--- a/Platform/ARM/SgiPkg/Sgi575/Sgi575.dsc
+++ b/Platform/ARM/SgiPkg/Sgi575/Sgi575.dsc
@@ -24,10 +24,13 @@ [Defines]
 
 # include common definitions from SgiPlatform.dsc
 !include Platform/ARM/SgiPkg/SgiPlatform.dsc.inc
 !include Platform/ARM/SgiPkg/SgiMemoryMap.dsc.inc
 
+# include common/basic libraries from MdePkg.
+!include MdePkg/MdeLibs.dsc.inc
+
 ################################################################################
 #
 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
 #
 ################################################################################
diff --git a/Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.dsc b/Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.dsc
index 144dd4f8b8..e06a2a47f0 100644
--- a/Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.dsc
+++ b/Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.dsc
@@ -28,10 +28,11 @@ [Defines]
 
   DEFINE EDK2_SKIP_PEICORE = 1
   DEFINE ARM_BIGLITTLE_TC2 = 1 # We build for the TC2 hardware by default
 
 !include Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc
+!include MdePkg/MdeLibs.dsc.inc
 
 [LibraryClasses.common]
   ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
   ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf
   ArmPlatformLib|Platform/ARM/VExpressPkg/Library/ArmVExpressLibCTA15-A7/ArmVExpressLib.inf
diff --git a/Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc b/Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc
index ccef083957..cf7350649e 100644
--- a/Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc
+++ b/Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc
@@ -30,10 +30,11 @@ [Defines]
 !endif
 
   DT_SUPPORT                     = FALSE
 
 !include Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc
+!include MdePkg/MdeLibs.dsc.inc
 !include DynamicTablesPkg/DynamicTables.dsc.inc
 
 [LibraryClasses.common]
   ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
   ArmPlatformLib|Platform/ARM/VExpressPkg/Library/ArmVExpressLibRTSM/ArmVExpressLib.inf
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 43+ messages in thread

* [edk2-platforms] [patch V4 12/37] Platform/BeagleBoard: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:10 [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (10 preceding siblings ...)
  2021-03-28 13:10 ` [edk2-platforms] [patch V4 11/37] Platform/ARM: " Dandan Bi
@ 2021-03-28 13:11 ` Dandan Bi
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 13/37] Platform/Comcast: " Dandan Bi
                   ` (25 subsequent siblings)
  37 siblings, 0 replies; 43+ messages in thread
From: Dandan Bi @ 2021-03-28 13:11 UTC (permalink / raw)
  To: devel; +Cc: Ard Biesheuvel, Leif Lindholm

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

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: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Leif Lindholm <leif@nuviainc.com>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
V4:
NA

V3:
Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
[LibraryClasses] section since we can specify different [LibraryClasses]
section for libary instances in MdeLibs.dsc.inc.

V2:
Update Platform dsc to consume the MdeLibs.dsc.inc rather than
consuming RegisterFilterLibNull instance directly.
---
 Platform/BeagleBoard/BeagleBoardPkg/BeagleBoardPkg.dsc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Platform/BeagleBoard/BeagleBoardPkg/BeagleBoardPkg.dsc b/Platform/BeagleBoard/BeagleBoardPkg/BeagleBoardPkg.dsc
index c5fc978c5f..8a4b0ad885 100644
--- a/Platform/BeagleBoard/BeagleBoardPkg/BeagleBoardPkg.dsc
+++ b/Platform/BeagleBoard/BeagleBoardPkg/BeagleBoardPkg.dsc
@@ -1,10 +1,10 @@
 #/** @file
 # Beagle board package.
 #
 # Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.<BR>
-# Copyright (c) 2015 - 2019, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2015 - 2021, Intel Corporation. All rights reserved.<BR>
 # Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR>
 #
 #    SPDX-License-Identifier: BSD-2-Clause-Patent
 #
 #**/
@@ -23,10 +23,11 @@ [Defines]
   SUPPORTED_ARCHITECTURES        = ARM
   BUILD_TARGETS                  = DEBUG|RELEASE|NOOPT
   SKUID_IDENTIFIER               = DEFAULT
   FLASH_DEFINITION               = Platform/BeagleBoard/BeagleBoardPkg/BeagleBoardPkg.fdf
 
+!include MdePkg/MdeLibs.dsc.inc
 
 [LibraryClasses.common]
   ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
   ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf
   ArmPlatformLib|Platform/BeagleBoard/BeagleBoardPkg/Library/BeagleBoardLib/BeagleBoardLib.inf
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 43+ messages in thread

* [edk2-platforms] [patch V4 13/37] Platform/Comcast: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:10 [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (11 preceding siblings ...)
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 12/37] Platform/BeagleBoard: " Dandan Bi
@ 2021-03-28 13:11 ` Dandan Bi
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 14/37] Platform/Hisilicon: " Dandan Bi
                   ` (24 subsequent siblings)
  37 siblings, 0 replies; 43+ messages in thread
From: Dandan Bi @ 2021-03-28 13:11 UTC (permalink / raw)
  To: devel; +Cc: Ard Biesheuvel, Leif Lindholm

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

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: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Leif Lindholm <leif@nuviainc.com>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
V4:
New updated to consume the MdeLibs.dsc.inc for RegisterFilterLibNull in all dsc files.
Rather than consuming MdeLibs.dsc.in ArmVirtPkg/ArmVirt.dsc.inc.

V3:
Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
[LibraryClasses] section since we can specify different [LibraryClasses]
section for libary instances in MdeLibs.dsc.inc.

V2:
Update Platform dsc to consume the MdeLibs.dsc.inc rather than
consuming RegisterFilterLibNull instance directly.
---
 Platform/Comcast/RDKQemu/RDKQemu.dsc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Platform/Comcast/RDKQemu/RDKQemu.dsc b/Platform/Comcast/RDKQemu/RDKQemu.dsc
index 440d2ace91..13f00d86da 100644
--- a/Platform/Comcast/RDKQemu/RDKQemu.dsc
+++ b/Platform/Comcast/RDKQemu/RDKQemu.dsc
@@ -1,9 +1,9 @@
 #
 #  Copyright (c) 2011-2015, ARM Limited. All rights reserved.
 #  Copyright (c) 2014 - 2018, Linaro Limited. All rights reserved.
-#  Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.
+#  Copyright (c) 2015 - 2021, Intel Corporation. All rights reserved.
 #
 #  SPDX-License-Identifier: BSD-2-Clause-Patent
 #
 #
 
@@ -37,10 +37,11 @@ [Defines]
   DEFINE NETWORK_IP6_ENABLE             = FALSE
   DEFINE NETWORK_HTTP_BOOT_ENABLE       = TRUE
   DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE
 
 !include ArmVirtPkg/ArmVirt.dsc.inc
+!include MdePkg/MdeLibs.dsc.inc
 
 [LibraryClasses.common]
   ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
   ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf
 
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 43+ messages in thread

* [edk2-platforms] [patch V4 14/37] Platform/Hisilicon: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:10 [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (12 preceding siblings ...)
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 13/37] Platform/Comcast: " Dandan Bi
@ 2021-03-28 13:11 ` Dandan Bi
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 15/37] Platform/BoardModulePkg: " Dandan Bi
                   ` (23 subsequent siblings)
  37 siblings, 0 replies; 43+ messages in thread
From: Dandan Bi @ 2021-03-28 13:11 UTC (permalink / raw)
  To: devel; +Cc: Leif Lindholm, Ard Biesheuvel, Wenyi Xie

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

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: Leif Lindholm <leif@nuviainc.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Wenyi Xie <xiewenyi2@huawei.com>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
V4:
New updated to consume the MdeLibs.dsc.inc for RegisterFilterLibNull in all dsc files.
Rather than consuming MdeLibs.dsc.in Hisilicon.dsc.inc.

V3:
Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
[LibraryClasses] section since we can specify different [LibraryClasses]
section for libary instances in MdeLibs.dsc.inc.

V2:
Update Platform dsc to consume the MdeLibs.dsc.inc rather than
consuming RegisterFilterLibNull instance directly.
---
 Platform/Hisilicon/D03/D03.dsc           | 1 +
 Platform/Hisilicon/D05/D05.dsc           | 1 +
 Platform/Hisilicon/D06/D06.dsc           | 1 +
 Platform/Hisilicon/HiKey/HiKey.dsc       | 1 +
 Platform/Hisilicon/HiKey960/HiKey960.dsc | 1 +
 5 files changed, 5 insertions(+)

diff --git a/Platform/Hisilicon/D03/D03.dsc b/Platform/Hisilicon/D03/D03.dsc
index 5a2441dcd3..c3858aa0b1 100644
--- a/Platform/Hisilicon/D03/D03.dsc
+++ b/Platform/Hisilicon/D03/D03.dsc
@@ -32,10 +32,11 @@ [Defines]
   DEFINE NETWORK_HTTP_BOOT_ENABLE       = FALSE
   DEFINE NETWORK_ISCSI_ENABLE           = FALSE
   DEFINE NETWORK_VLAN_ENABLE            = FALSE
 
 !include Silicon/Hisilicon/Hisilicon.dsc.inc
+!include MdePkg/MdeLibs.dsc.inc
 
 [LibraryClasses.common]
   ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
   ArmPlatformLib|Silicon/Hisilicon/Library/ArmPlatformLibHisilicon/ArmPlatformLib.inf
 
diff --git a/Platform/Hisilicon/D05/D05.dsc b/Platform/Hisilicon/D05/D05.dsc
index 31c9fabb52..0d27bbffce 100644
--- a/Platform/Hisilicon/D05/D05.dsc
+++ b/Platform/Hisilicon/D05/D05.dsc
@@ -32,10 +32,11 @@ [Defines]
   DEFINE NETWORK_VLAN_ENABLE            = FALSE
   DEFINE NETWORK_IP6_ENABLE             = FALSE
   DEFINE NETWORK_HTTP_BOOT_ENABLE       = FALSE
 
 !include Silicon/Hisilicon/Hisilicon.dsc.inc
+!include MdePkg/MdeLibs.dsc.inc
 
 [LibraryClasses.common]
   ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
   ArmPlatformLib|Silicon/Hisilicon/Library/ArmPlatformLibHisilicon/ArmPlatformLib.inf
 
diff --git a/Platform/Hisilicon/D06/D06.dsc b/Platform/Hisilicon/D06/D06.dsc
index eb20224baf..fecc3cfb1b 100644
--- a/Platform/Hisilicon/D06/D06.dsc
+++ b/Platform/Hisilicon/D06/D06.dsc
@@ -30,10 +30,11 @@ [Defines]
   DEFINE NETWORK_VLAN_ENABLE     = FALSE
   DEFINE NETWORK_IP6_ENABLE             = FALSE
   DEFINE NETWORK_HTTP_BOOT_ENABLE       = FALSE
 
 !include Silicon/Hisilicon/Hisilicon.dsc.inc
+!include MdePkg/MdeLibs.dsc.inc
 
 [LibraryClasses.common]
   ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
   ArmPlatformLib|Silicon/Hisilicon/Library/ArmPlatformLibHisilicon/ArmPlatformLib.inf
 
diff --git a/Platform/Hisilicon/HiKey/HiKey.dsc b/Platform/Hisilicon/HiKey/HiKey.dsc
index d844625140..375b29375d 100644
--- a/Platform/Hisilicon/HiKey/HiKey.dsc
+++ b/Platform/Hisilicon/HiKey/HiKey.dsc
@@ -30,10 +30,11 @@ [Defines]
   DEFINE NETWORK_TLS_ENABLE             = FALSE
   DEFINE NETWORK_HTTP_BOOT_ENABLE       = FALSE
   DEFINE NETWORK_ISCSI_ENABLE           = FALSE
   DEFINE NETWORK_VLAN_ENABLE            = FALSE
 !include Silicon/Hisilicon/Hisilicon.dsc.inc
+!include MdePkg/MdeLibs.dsc.inc
 
 [LibraryClasses.common]
   ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
   ArmPlatformLib|Platform/Hisilicon/HiKey/Library/HiKeyLib/HiKeyLib.inf
 
diff --git a/Platform/Hisilicon/HiKey960/HiKey960.dsc b/Platform/Hisilicon/HiKey960/HiKey960.dsc
index bf9d51e0b7..1d09e3f5da 100644
--- a/Platform/Hisilicon/HiKey960/HiKey960.dsc
+++ b/Platform/Hisilicon/HiKey960/HiKey960.dsc
@@ -30,10 +30,11 @@ [Defines]
   DEFINE NETWORK_TLS_ENABLE             = FALSE
   DEFINE NETWORK_HTTP_BOOT_ENABLE       = FALSE
   DEFINE NETWORK_ISCSI_ENABLE           = FALSE
   DEFINE NETWORK_VLAN_ENABLE            = FALSE
 !include Silicon/Hisilicon/Hisilicon.dsc.inc
+!include MdePkg/MdeLibs.dsc.inc
 
 [LibraryClasses.common]
   ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
   ArmPlatformLib|Platform/Hisilicon/HiKey960/Library/HiKey960Lib/HiKey960Lib.inf
 
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 43+ messages in thread

* [edk2-platforms] [patch V4 15/37] Platform/BoardModulePkg: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:10 [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (13 preceding siblings ...)
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 14/37] Platform/Hisilicon: " Dandan Bi
@ 2021-03-28 13:11 ` Dandan Bi
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 16/37] Platform/MinPlatformPkg: " Dandan Bi
                   ` (22 subsequent siblings)
  37 siblings, 0 replies; 43+ messages in thread
From: Dandan Bi @ 2021-03-28 13:11 UTC (permalink / raw)
  To: devel; +Cc: Eric Dong, Liming Gao

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

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: Eric Dong <eric.dong@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
V4:
NA

V3:
Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
[LibraryClasses] section since we can specify different [LibraryClasses]
section for libary instances in MdeLibs.dsc.inc.

V2:
Update Platform dsc to consume the MdeLibs.dsc.inc rather than
consuming RegisterFilterLibNull instance directly.
---
 Platform/Intel/BoardModulePkg/BoardModulePkg.dsc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Platform/Intel/BoardModulePkg/BoardModulePkg.dsc b/Platform/Intel/BoardModulePkg/BoardModulePkg.dsc
index bcc2dfbfeb..9f00592a19 100644
--- a/Platform/Intel/BoardModulePkg/BoardModulePkg.dsc
+++ b/Platform/Intel/BoardModulePkg/BoardModulePkg.dsc
@@ -4,11 +4,11 @@
 #
 # The DEC files are used by the utilities that parse DSC and
 # INF files to generate AutoGen.c and AutoGen.h files
 # for the build infrastructure.
 #
-# Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2019 - 2021, Intel Corporation. All rights reserved.<BR>
 #
 # SPDX-License-Identifier: BSD-2-Clause-Patent
 #
 ##
 
@@ -20,10 +20,12 @@ [Defines]
   OUTPUT_DIRECTORY               = Build/BoardModulePkg
   SUPPORTED_ARCHITECTURES        = IA32|X64
   BUILD_TARGETS                  = DEBUG|RELEASE|NOOPT
   SKUID_IDENTIFIER               = DEFAULT
 
+!include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses]
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
   BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
   PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
   PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 43+ messages in thread

* [edk2-platforms] [patch V4 16/37] Platform/MinPlatformPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:10 [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (14 preceding siblings ...)
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 15/37] Platform/BoardModulePkg: " Dandan Bi
@ 2021-03-28 13:11 ` Dandan Bi
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 17/37] Platform/QuarkPlatformPkg: " Dandan Bi
                   ` (21 subsequent siblings)
  37 siblings, 0 replies; 43+ messages in thread
From: Dandan Bi @ 2021-03-28 13:11 UTC (permalink / raw)
  To: devel; +Cc: Chasel Chiu, Nate DeSimone, Liming Gao, Eric Dong

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

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: Chasel Chiu <chasel.chiu@intel.com>
Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Eric Dong <eric.dong@intel.com>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
V4:
NA

V3:
Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
[LibraryClasses] section since we can specify different [LibraryClasses]
section for libary instances in MdeLibs.dsc.inc.

V2:
Update Platform dsc to consume the MdeLibs.dsc.inc rather than
consuming RegisterFilterLibNull instance directly.
---
 Platform/Intel/MinPlatformPkg/Include/Dsc/CoreCommonLib.dsc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Platform/Intel/MinPlatformPkg/Include/Dsc/CoreCommonLib.dsc b/Platform/Intel/MinPlatformPkg/Include/Dsc/CoreCommonLib.dsc
index bcabb797e9..cf2940cf02 100644
--- a/Platform/Intel/MinPlatformPkg/Include/Dsc/CoreCommonLib.dsc
+++ b/Platform/Intel/MinPlatformPkg/Include/Dsc/CoreCommonLib.dsc
@@ -1,18 +1,20 @@
 ## @file
 #  Platform description.
 #
-# Copyright (c) 2017 - 2018, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2017 - 2021, Intel Corporation. All rights reserved.<BR>
 #
 # SPDX-License-Identifier: BSD-2-Clause-Patent
 #
 ##
 
   #
   # Generic EDKII Lib
   #
 
+!include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses.common]
   #
   # Entry point
   #
   PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 43+ messages in thread

* [edk2-platforms] [patch V4 17/37] Platform/QuarkPlatformPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:10 [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (15 preceding siblings ...)
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 16/37] Platform/MinPlatformPkg: " Dandan Bi
@ 2021-03-28 13:11 ` Dandan Bi
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 18/37] Platform/Vlv2TbltDevicePkg: " Dandan Bi
                   ` (20 subsequent siblings)
  37 siblings, 0 replies; 43+ messages in thread
From: Dandan Bi @ 2021-03-28 13:11 UTC (permalink / raw)
  To: devel; +Cc: Michael D Kinney, Kelly Steele

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

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: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Kelly Steele <kelly.steele@intel.com>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
V4:
NA

V3:
Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
[LibraryClasses] section since we can specify different [LibraryClasses]
section for libary instances in MdeLibs.dsc.inc.

V2:
Update Platform dsc to consume the MdeLibs.dsc.inc rather than
consuming RegisterFilterLibNull instance directly.
---
 Platform/Intel/QuarkPlatformPkg/Quark.dsc    | 3 +++
 Platform/Intel/QuarkPlatformPkg/QuarkMin.dsc | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/Platform/Intel/QuarkPlatformPkg/Quark.dsc b/Platform/Intel/QuarkPlatformPkg/Quark.dsc
index c58da58348..cc1eba4df4 100644
--- a/Platform/Intel/QuarkPlatformPkg/Quark.dsc
+++ b/Platform/Intel/QuarkPlatformPkg/Quark.dsc
@@ -67,10 +67,13 @@ [SkuIds]
 ################################################################################
 #
 # Library Class section - list of all Library Classes needed by this Platform.
 #
 ################################################################################
+
+!include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses]
   #
   # Entry point
   #
   PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
diff --git a/Platform/Intel/QuarkPlatformPkg/QuarkMin.dsc b/Platform/Intel/QuarkPlatformPkg/QuarkMin.dsc
index 6fdfba9a58..993d698eec 100644
--- a/Platform/Intel/QuarkPlatformPkg/QuarkMin.dsc
+++ b/Platform/Intel/QuarkPlatformPkg/QuarkMin.dsc
@@ -55,10 +55,13 @@ [SkuIds]
 ################################################################################
 #
 # Library Class section - list of all Library Classes needed by this Platform.
 #
 ################################################################################
+
+!include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses]
   #
   # Entry point
   #
   PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 43+ messages in thread

* [edk2-platforms] [patch V4 18/37] Platform/Vlv2TbltDevicePkg: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:10 [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (16 preceding siblings ...)
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 17/37] Platform/QuarkPlatformPkg: " Dandan Bi
@ 2021-03-28 13:11 ` Dandan Bi
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 19/37] Platform/LeMaker: " Dandan Bi
                   ` (19 subsequent siblings)
  37 siblings, 0 replies; 43+ messages in thread
From: Dandan Bi @ 2021-03-28 13:11 UTC (permalink / raw)
  To: devel; +Cc: Michael D Kinney, Zailiang Sun, Yi Qian

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

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: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Zailiang Sun <zailiang.sun@intel.com>
Cc: Yi Qian <yi.qian@intel.com>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
V4:
NA

V3:
Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
[LibraryClasses] section since we can specify different [LibraryClasses]
section for libary instances in MdeLibs.dsc.inc.

V2:
Update Platform dsc to consume the MdeLibs.dsc.inc rather than
consuming RegisterFilterLibNull instance directly.
---
 Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc | 5 ++++-
 Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgX64.dsc  | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc b/Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc
index 409f31c982..bdf69b7e9a 100644
--- a/Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc
+++ b/Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc
@@ -1,9 +1,9 @@
 #/** @file
 # Platform description.
 #
-# Copyright (c) 2012  - 2020, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2012  - 2021, Intel Corporation. All rights reserved.<BR>
 #
 # SPDX-License-Identifier: BSD-2-Clause-Patent
 #
 #
 #**/
@@ -61,10 +61,13 @@ [DefaultStores]
 ################################################################################
 #
 # Library Class section - list of all Library Classes needed by this Platform.
 #
 ################################################################################
+
+!include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses.common]
   #
   # Entry point
   #
   PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
diff --git a/Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgX64.dsc b/Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgX64.dsc
index 38bd825c8b..5f26bc02dd 100644
--- a/Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgX64.dsc
+++ b/Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgX64.dsc
@@ -1,9 +1,9 @@
 #/** @file
 # Platform description.
 #
-# Copyright (c) 2012  - 2020, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2012  - 2021, Intel Corporation. All rights reserved.<BR>
 #
 # SPDX-License-Identifier: BSD-2-Clause-Patent
 #
 #
 #**/
@@ -63,10 +63,13 @@ [DefaultStores]
 ################################################################################
 #
 # Library Class section - list of all Library Classes needed by this Platform.
 #
 ################################################################################
+
+!include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses.common]
   #
   # Entry point
   #
   PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 43+ messages in thread

* [edk2-platforms] [patch V4 19/37] Platform/LeMaker: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:10 [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (17 preceding siblings ...)
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 18/37] Platform/Vlv2TbltDevicePkg: " Dandan Bi
@ 2021-03-28 13:11 ` Dandan Bi
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 20/37] Platform/Marvell: " Dandan Bi
                   ` (18 subsequent siblings)
  37 siblings, 0 replies; 43+ messages in thread
From: Dandan Bi @ 2021-03-28 13:11 UTC (permalink / raw)
  To: devel; +Cc: Ard Biesheuvel, Leif Lindholm

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

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: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Leif Lindholm <leif@nuviainc.com>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
V4:
NA

V3:
Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
[LibraryClasses] section since we can specify different [LibraryClasses]
section for libary instances in MdeLibs.dsc.inc.

V2:
Update Platform dsc to consume the MdeLibs.dsc.inc rather than
consuming RegisterFilterLibNull instance directly.
---
 Platform/LeMaker/CelloBoard/CelloBoard.dsc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Platform/LeMaker/CelloBoard/CelloBoard.dsc b/Platform/LeMaker/CelloBoard/CelloBoard.dsc
index 26bbbb2497..cf2754a509 100644
--- a/Platform/LeMaker/CelloBoard/CelloBoard.dsc
+++ b/Platform/LeMaker/CelloBoard/CelloBoard.dsc
@@ -33,10 +33,13 @@ [Defines]
 ################################################################################
 #
 # Library Class section - list of all Library Classes needed by this Platform.
 #
 ################################################################################
+
+!include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses.common]
 !if $(TARGET) == RELEASE
   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
 !else
   DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 43+ messages in thread

* [edk2-platforms] [patch V4 20/37] Platform/Marvell: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:10 [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (18 preceding siblings ...)
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 19/37] Platform/LeMaker: " Dandan Bi
@ 2021-03-28 13:11 ` Dandan Bi
  2021-03-30 13:58   ` [edk2-devel] " Marcin Wojtas
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 21/37] Platform/NXP: " Dandan Bi
                   ` (17 subsequent siblings)
  37 siblings, 1 reply; 43+ messages in thread
From: Dandan Bi @ 2021-03-28 13:11 UTC (permalink / raw)
  To: devel; +Cc: Marcin Wojtas, Leif Lindholm

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

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: Marcin Wojtas <mw@semihalf.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
V4:
New updated to consume the MdeLibs.dsc.inc for RegisterFilterLibNull in all dsc files.
Rather than consuming MdeLibs.dsc.in Armada7k8k.dsc.inc.

V3:
Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
[LibraryClasses] section since we can specify different [LibraryClasses]
section for libary instances in MdeLibs.dsc.inc.

V2:
Update Platform dsc to consume the MdeLibs.dsc.inc rather than
consuming RegisterFilterLibNull instance directly.
---
 Platform/Marvell/Armada70x0Db/Armada70x0Db.dsc | 2 ++
 Platform/Marvell/Armada80x0Db/Armada80x0Db.dsc | 2 ++
 Platform/Marvell/Cn913xDb/Cn913xDbA.dsc        | 1 +
 3 files changed, 5 insertions(+)

diff --git a/Platform/Marvell/Armada70x0Db/Armada70x0Db.dsc b/Platform/Marvell/Armada70x0Db/Armada70x0Db.dsc
index 0c2c7489f1..5df7498f71 100644
--- a/Platform/Marvell/Armada70x0Db/Armada70x0Db.dsc
+++ b/Platform/Marvell/Armada70x0Db/Armada70x0Db.dsc
@@ -27,10 +27,12 @@ [Defines]
   DEFINE NETWORK_HTTP_BOOT_ENABLE       = FALSE
   DEFINE NETWORK_ISCSI_ENABLE           = FALSE
 
 !include Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc
 
+!include MdePkg/MdeLibs.dsc.inc
+
 [Components.common]
   Silicon/Marvell/Armada7k8k/DeviceTree/Armada70x0Db.inf
 
 [Components.AARCH64]
   Silicon/Marvell/Armada7k8k/AcpiTables/Armada70x0Db.inf
diff --git a/Platform/Marvell/Armada80x0Db/Armada80x0Db.dsc b/Platform/Marvell/Armada80x0Db/Armada80x0Db.dsc
index 40aeb62cfa..2698bd6573 100644
--- a/Platform/Marvell/Armada80x0Db/Armada80x0Db.dsc
+++ b/Platform/Marvell/Armada80x0Db/Armada80x0Db.dsc
@@ -27,10 +27,12 @@ [Defines]
   DEFINE NETWORK_HTTP_BOOT_ENABLE       = FALSE
   DEFINE NETWORK_ISCSI_ENABLE           = FALSE
 
 !include Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc
 
+!include MdePkg/MdeLibs.dsc.inc
+
 [Components.common]
   Silicon/Marvell/Armada7k8k/DeviceTree/Armada80x0Db.inf
 
 [Components.AARCH64]
   Silicon/Marvell/Armada7k8k/AcpiTables/Armada80x0Db.inf
diff --git a/Platform/Marvell/Cn913xDb/Cn913xDbA.dsc b/Platform/Marvell/Cn913xDb/Cn913xDbA.dsc
index a754c3ea39..67355f3988 100644
--- a/Platform/Marvell/Cn913xDb/Cn913xDbA.dsc
+++ b/Platform/Marvell/Cn913xDb/Cn913xDbA.dsc
@@ -37,10 +37,11 @@ [Defines]
   DEFINE NETWORK_TLS_ENABLE             = FALSE
   DEFINE NETWORK_HTTP_BOOT_ENABLE       = FALSE
   DEFINE NETWORK_ISCSI_ENABLE           = FALSE
 
 !include Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc
+!include MdePkg/MdeLibs.dsc.inc
 !include Platform/Marvell/Cn913xDb/Cn9130DbA.dsc.inc
 !if $(CN9131) || $(CN9132)
 !include Platform/Marvell/Cn913xDb/Cn9131DbA.dsc.inc
 !endif
 !if $(CN9132)
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 43+ messages in thread

* [edk2-platforms] [patch V4 21/37] Platform/NXP: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:10 [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (19 preceding siblings ...)
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 20/37] Platform/Marvell: " Dandan Bi
@ 2021-03-28 13:11 ` Dandan Bi
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 22/37] Platform/Qemu: " Dandan Bi
                   ` (16 subsequent siblings)
  37 siblings, 0 replies; 43+ messages in thread
From: Dandan Bi @ 2021-03-28 13:11 UTC (permalink / raw)
  To: devel; +Cc: Leif Lindholm, Meenakshi Aggarwal

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

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: Leif Lindholm <leif@nuviainc.com>
Cc: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
V4:
New updated to consume the MdeLibs.dsc.inc for RegisterFilterLibNull in all dsc files.
Rather than consuming MdeLibs.dsc.in NxpQoriqLs.dsc.inc.

V3:
Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
[LibraryClasses] section since we can specify different [LibraryClasses]
section for libary instances in MdeLibs.dsc.inc.

V2:
Update Platform dsc to consume the MdeLibs.dsc.inc rather than
consuming RegisterFilterLibNull instance directly.
---
 Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.dsc   | 1 +
 Platform/NXP/LS1046aFrwyPkg/LS1046aFrwyPkg.dsc | 1 +
 Platform/NXP/LX2160aRdbPkg/LX2160aRdbPkg.dsc   | 1 +
 3 files changed, 3 insertions(+)

diff --git a/Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.dsc b/Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.dsc
index 6d07d51640..cf0e622837 100644
--- a/Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.dsc
+++ b/Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.dsc
@@ -28,10 +28,11 @@ [Defines]
   DEFINE NETWORK_TLS_ENABLE             = FALSE
   DEFINE NETWORK_HTTP_BOOT_ENABLE       = FALSE
   DEFINE NETWORK_ISCSI_ENABLE           = FALSE
 
 !include Silicon/NXP/NxpQoriqLs.dsc.inc
+!include MdePkg/MdeLibs.dsc.inc
 !include Silicon/NXP/LS1043A/LS1043A.dsc.inc
 
 [LibraryClasses.common]
   ArmPlatformLib|Platform/NXP/LS1043aRdbPkg/Library/ArmPlatformLib/ArmPlatformLib.inf
   RealTimeClockLib|Silicon/Maxim/Library/Ds1307RtcLib/Ds1307RtcLib.inf
diff --git a/Platform/NXP/LS1046aFrwyPkg/LS1046aFrwyPkg.dsc b/Platform/NXP/LS1046aFrwyPkg/LS1046aFrwyPkg.dsc
index 266fdbd2b4..67cf15cbe4 100755
--- a/Platform/NXP/LS1046aFrwyPkg/LS1046aFrwyPkg.dsc
+++ b/Platform/NXP/LS1046aFrwyPkg/LS1046aFrwyPkg.dsc
@@ -21,10 +21,11 @@ [Defines]
   PLATFORM_GUID                  = 79adaa48-5f50-49f0-aa9a-544ac9260ef8
   OUTPUT_DIRECTORY               = Build/LS1046aFrwyPkg
   FLASH_DEFINITION               = Platform/NXP/LS1046aFrwyPkg/LS1046aFrwyPkg.fdf
 
 !include Silicon/NXP/NxpQoriqLs.dsc.inc
+!include MdePkg/MdeLibs.dsc.inc
 !include Silicon/NXP/LS1046A/LS1046A.dsc.inc
 
 [LibraryClasses.common]
   ArmPlatformLib|Platform/NXP/LS1046aFrwyPkg/Library/ArmPlatformLib/ArmPlatformLib.inf
   RealTimeClockLib|EmbeddedPkg/Library/VirtualRealTimeClockLib/VirtualRealTimeClockLib.inf
diff --git a/Platform/NXP/LX2160aRdbPkg/LX2160aRdbPkg.dsc b/Platform/NXP/LX2160aRdbPkg/LX2160aRdbPkg.dsc
index 9d898f27f3..112f6cc1a4 100644
--- a/Platform/NXP/LX2160aRdbPkg/LX2160aRdbPkg.dsc
+++ b/Platform/NXP/LX2160aRdbPkg/LX2160aRdbPkg.dsc
@@ -33,10 +33,11 @@ [Defines]
   # This flag controls the dynamic acpi generation
   #
   DEFINE DYNAMIC_ACPI_ENABLE            = TRUE
 
 !include Silicon/NXP/NxpQoriqLs.dsc.inc
+!include MdePkg/MdeLibs.dsc.inc
 !include Silicon/NXP/LX2160A/LX2160A.dsc.inc
 
 !if $(DYNAMIC_ACPI_ENABLE) == TRUE
   !include DynamicTablesPkg/DynamicTables.dsc.inc
 !endif
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 43+ messages in thread

* [edk2-platforms] [patch V4 22/37] Platform/Qemu: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:10 [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (20 preceding siblings ...)
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 21/37] Platform/NXP: " Dandan Bi
@ 2021-03-28 13:11 ` Dandan Bi
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 23/37] Platform/RaspberryPi: " Dandan Bi
                   ` (15 subsequent siblings)
  37 siblings, 0 replies; 43+ messages in thread
From: Dandan Bi @ 2021-03-28 13:11 UTC (permalink / raw)
  To: devel; +Cc: Ard Biesheuvel, Leif Lindholm, Graeme Gregory, Radoslaw Biernacki

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

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: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Graeme Gregory <graeme@nuviainc.com>
Cc: Radoslaw Biernacki <rad@semihalf.com>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
V4:
NA

V3:
Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
[LibraryClasses] section since we can specify different [LibraryClasses]
section for libary instances in MdeLibs.dsc.inc.

V2:
Update Platform dsc to consume the MdeLibs.dsc.inc rather than
consuming RegisterFilterLibNull instance directly.
---
 Platform/Qemu/SbsaQemu/SbsaQemu.dsc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Platform/Qemu/SbsaQemu/SbsaQemu.dsc b/Platform/Qemu/SbsaQemu/SbsaQemu.dsc
index c1f8a46965..11ce361cdb 100644
--- a/Platform/Qemu/SbsaQemu/SbsaQemu.dsc
+++ b/Platform/Qemu/SbsaQemu/SbsaQemu.dsc
@@ -39,10 +39,13 @@ [Defines]
 ################################################################################
 #
 # Library Class section - list of all Library Classes needed by this Platform.
 #
 ################################################################################
+
+!include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses.common]
 !if $(TARGET) == RELEASE
   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
 !else
   DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 43+ messages in thread

* [edk2-platforms] [patch V4 23/37] Platform/RaspberryPi: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:10 [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (21 preceding siblings ...)
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 22/37] Platform/Qemu: " Dandan Bi
@ 2021-03-28 13:11 ` Dandan Bi
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 24/37] Platform/RISC-V: " Dandan Bi
                   ` (14 subsequent siblings)
  37 siblings, 0 replies; 43+ messages in thread
From: Dandan Bi @ 2021-03-28 13:11 UTC (permalink / raw)
  To: devel; +Cc: Ard Biesheuvel, Leif Lindholm, Pete Batard

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

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: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Pete Batard <pete@akeo.ie>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
V4:
NA

V3:
Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
[LibraryClasses] section since we can specify different [LibraryClasses]
section for libary instances in MdeLibs.dsc.inc.

V2:
Update Platform dsc to consume the MdeLibs.dsc.inc rather than
consuming RegisterFilterLibNull instance directly.
---
 Platform/RaspberryPi/RPi3/RPi3.dsc | 5 ++++-
 Platform/RaspberryPi/RPi4/RPi4.dsc | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/Platform/RaspberryPi/RPi3/RPi3.dsc b/Platform/RaspberryPi/RPi3/RPi3.dsc
index 107cbda297..0961133ae9 100644
--- a/Platform/RaspberryPi/RPi3/RPi3.dsc
+++ b/Platform/RaspberryPi/RPi3/RPi3.dsc
@@ -1,10 +1,10 @@
 # @file
 #
 #  Copyright (c) 2011 - 2020, ARM Limited. All rights reserved.
 #  Copyright (c) 2014, Linaro Limited. All rights reserved.
-#  Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.
+#  Copyright (c) 2015 - 2021, Intel Corporation. All rights reserved.
 #  Copyright (c) 2017 - 2018, Andrei Warkentin <andrey.warkentin@gmail.com>
 #
 #  SPDX-License-Identifier: BSD-2-Clause-Patent
 #
 ##
@@ -52,10 +52,13 @@ [Defines]
 ################################################################################
 #
 # Library Class section - list of all Library Classes needed by this Platform.
 #
 ################################################################################
+
+!include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses.common]
 !if $(TARGET) == RELEASE
   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
 !else
   DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
diff --git a/Platform/RaspberryPi/RPi4/RPi4.dsc b/Platform/RaspberryPi/RPi4/RPi4.dsc
index e0fad6f744..2c05c31118 100644
--- a/Platform/RaspberryPi/RPi4/RPi4.dsc
+++ b/Platform/RaspberryPi/RPi4/RPi4.dsc
@@ -1,10 +1,10 @@
 # @file
 #
 #  Copyright (c) 2011 - 2020, ARM Limited. All rights reserved.
 #  Copyright (c) 2017 - 2018, Andrei Warkentin <andrey.warkentin@gmail.com>
-#  Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.
+#  Copyright (c) 2015 - 2021, Intel Corporation. All rights reserved.
 #  Copyright (c) 2014, Linaro Limited. All rights reserved.
 #
 #  SPDX-License-Identifier: BSD-2-Clause-Patent
 #
 ##
@@ -50,10 +50,13 @@ [Defines]
 ################################################################################
 #
 # Library Class section - list of all Library Classes needed by this Platform.
 #
 ################################################################################
+
+!include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses.common]
 !if $(TARGET) == RELEASE
   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
 !else
   DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 43+ messages in thread

* [edk2-platforms] [patch V4 24/37] Platform/RISC-V: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:10 [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (22 preceding siblings ...)
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 23/37] Platform/RaspberryPi: " Dandan Bi
@ 2021-03-28 13:11 ` Dandan Bi
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 25/37] Platform/SiFive: " Dandan Bi
                   ` (13 subsequent siblings)
  37 siblings, 0 replies; 43+ messages in thread
From: Dandan Bi @ 2021-03-28 13:11 UTC (permalink / raw)
  To: devel; +Cc: Abner Chang, Daniel Schaefer, Gilbert Chen

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

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@hpe.com>
Cc: Daniel Schaefer <daniel.schaefer@hpe.com>
Cc: Gilbert Chen <gilbert.chen@hpe.com>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
V4:
NA

V3:
Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
[LibraryClasses] section since we can specify different [LibraryClasses]
section for libary instances in MdeLibs.dsc.inc.

V2:
Update Platform dsc to consume the MdeLibs.dsc.inc rather than
consuming RegisterFilterLibNull instance directly.
---
 Platform/RISC-V/PlatformPkg/RiscVPlatformPkg.dsc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Platform/RISC-V/PlatformPkg/RiscVPlatformPkg.dsc b/Platform/RISC-V/PlatformPkg/RiscVPlatformPkg.dsc
index 092717d2ef..5d9674a965 100644
--- a/Platform/RISC-V/PlatformPkg/RiscVPlatformPkg.dsc
+++ b/Platform/RISC-V/PlatformPkg/RiscVPlatformPkg.dsc
@@ -34,10 +34,12 @@ [BuildOptions]
 #
 ################################################################################
 [SkuIds]
   0|DEFAULT
 
+!include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses.common]
   RiscVOpensbiPlatformLib|Platform/RISC-V/PlatformPkg/Library/OpensbiPlatformLibNull/OpensbiPlatformLibNull.inf
   RiscVCpuLib|Silicon/RISC-V/ProcessorPkg/Library/RiscVCpuLib/RiscVCpuLib.inf
   RiscVEdk2SbiLib|Silicon/RISC-V/ProcessorPkg/Library/RiscVEdk2SbiLib/RiscVEdk2SbiLib.inf
   RiscVOpensbiLib|Silicon/RISC-V/ProcessorPkg/Library/RiscVOpensbiLib/RiscVOpensbiLib.inf
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 43+ messages in thread

* [edk2-platforms] [patch V4 25/37] Platform/SiFive: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:10 [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (23 preceding siblings ...)
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 24/37] Platform/RISC-V: " Dandan Bi
@ 2021-03-28 13:11 ` Dandan Bi
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 26/37] Platform/Socionext: " Dandan Bi
                   ` (12 subsequent siblings)
  37 siblings, 0 replies; 43+ messages in thread
From: Dandan Bi @ 2021-03-28 13:11 UTC (permalink / raw)
  To: devel; +Cc: Abner Chang, Daniel Schaefer, Gilbert Chen

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

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@hpe.com>
Cc: Daniel Schaefer <daniel.schaefer@hpe.com>
Cc: Gilbert Chen <gilbert.chen@hpe.com>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
V4:
NA

V3:
Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
[LibraryClasses] section since we can specify different [LibraryClasses]
section for libary instances in MdeLibs.dsc.inc.

V2:
Update Platform dsc to consume the MdeLibs.dsc.inc rather than
consuming RegisterFilterLibNull instance directly.
---
 Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc     | 3 +++
 .../U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc       | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc b/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc
index 2d652d215f..b91823ceeb 100644
--- a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc
+++ b/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc
@@ -58,10 +58,13 @@ [SkuIds]
 ################################################################################
 #
 # Library Class section - list of all Library Classes needed by this Platform.
 #
 ################################################################################
+
+!include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses]
   PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
   PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
   BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
diff --git a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc
index 9f60475189..0eafe29880 100644
--- a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc
+++ b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc
@@ -58,10 +58,13 @@ [SkuIds]
 ################################################################################
 #
 # Library Class section - list of all Library Classes needed by this Platform.
 #
 ################################################################################
+
+!include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses]
   PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
   PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
   BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 43+ messages in thread

* [edk2-platforms] [patch V4 26/37] Platform/Socionext: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:10 [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (24 preceding siblings ...)
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 25/37] Platform/SiFive: " Dandan Bi
@ 2021-03-28 13:11 ` Dandan Bi
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 27/37] Platform/SoftIron: " Dandan Bi
                   ` (11 subsequent siblings)
  37 siblings, 0 replies; 43+ messages in thread
From: Dandan Bi @ 2021-03-28 13:11 UTC (permalink / raw)
  To: devel; +Cc: Ard Biesheuvel, Leif Lindholm

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

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: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Leif Lindholm <leif@nuviainc.com>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
V4:
NA

V3:
Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
[LibraryClasses] section since we can specify different [LibraryClasses]
section for libary instances in MdeLibs.dsc.inc.

V2:
Update Platform dsc to consume the MdeLibs.dsc.inc rather than
consuming RegisterFilterLibNull instance directly.
---
 Platform/Socionext/DeveloperBox/DeveloperBox.dsc             | 1 +
 Platform/Socionext/DeveloperBox/DeveloperBoxMm.dsc           | 1 +
 Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc | 2 ++
 3 files changed, 4 insertions(+)

diff --git a/Platform/Socionext/DeveloperBox/DeveloperBox.dsc b/Platform/Socionext/DeveloperBox/DeveloperBox.dsc
index acaa4cd90f..88454c1f90 100644
--- a/Platform/Socionext/DeveloperBox/DeveloperBox.dsc
+++ b/Platform/Socionext/DeveloperBox/DeveloperBox.dsc
@@ -26,10 +26,11 @@ [Defines]
   DEFINE SECURE_BOOT_ENABLE      = FALSE
   DEFINE TPM2_ENABLE             = FALSE
   DEFINE X64EMU_ENABLE           = FALSE
 
 !include Platform/Socionext/DeveloperBox/DeveloperBox.dsc.inc
+!include MdePkg/MdeLibs.dsc.inc
 
 [LibraryClasses]
 !if $(DEBUG_ON_UART1) == FALSE
   SerialPortLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf
 !else
diff --git a/Platform/Socionext/DeveloperBox/DeveloperBoxMm.dsc b/Platform/Socionext/DeveloperBox/DeveloperBoxMm.dsc
index 92625df1ff..e078de4bbb 100644
--- a/Platform/Socionext/DeveloperBox/DeveloperBoxMm.dsc
+++ b/Platform/Socionext/DeveloperBox/DeveloperBoxMm.dsc
@@ -21,10 +21,11 @@ [Defines]
   SKUID_IDENTIFIER               = DEFAULT
   FLASH_DEFINITION               = Platform/Socionext/DeveloperBox/$(PLATFORM_NAME).fdf
   BUILD_NUMBER                   = 1
 
 !include Platform/Socionext/DeveloperBox/DeveloperBox.dsc.inc
+!include MdePkg/MdeLibs.dsc.inc
 
 [LibraryClasses]
   ArmSvcLib|ArmPkg/Library/ArmSvcLib/ArmSvcLib.inf
   BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
   FvLib|StandaloneMmPkg/Library/FvLib/FvLib.inf
diff --git a/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc b/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc
index 18accbfd5d..e531589762 100644
--- a/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc
+++ b/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc
@@ -37,10 +37,12 @@ [BuildOptions.common.EDKII.DXE_CORE,BuildOptions.common.EDKII.DXE_DRIVER,BuildOp
 
 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
   GCC:*_*_ARM_DLINK_FLAGS = -z common-page-size=0x1000
   GCC:*_*_AARCH64_DLINK_FLAGS = -z common-page-size=0x10000
 
+!include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses.common]
   ArmPlatformLib|Silicon/Socionext/SynQuacer/Library/SynQuacerLib/SynQuacerLib.inf
   ArmHvcLib|ArmPkg/Library/ArmHvcLib/ArmHvcLib.inf
   ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
 
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 43+ messages in thread

* [edk2-platforms] [patch V4 27/37] Platform/SoftIron: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:10 [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (25 preceding siblings ...)
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 26/37] Platform/Socionext: " Dandan Bi
@ 2021-03-28 13:11 ` Dandan Bi
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 28/37] Platform/SolidRun: " Dandan Bi
                   ` (10 subsequent siblings)
  37 siblings, 0 replies; 43+ messages in thread
From: Dandan Bi @ 2021-03-28 13:11 UTC (permalink / raw)
  To: devel; +Cc: Ard Biesheuvel, Leif Lindholm

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

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: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Leif Lindholm <leif@nuviainc.com>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
V4:
NA

V3:
Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
[LibraryClasses] section since we can specify different [LibraryClasses]
section for libary instances in MdeLibs.dsc.inc.

V2:
Update Platform dsc to consume the MdeLibs.dsc.inc rather than
consuming RegisterFilterLibNull instance directly.
---
 Platform/SoftIron/Overdrive1000Board/Overdrive1000Board.dsc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Platform/SoftIron/Overdrive1000Board/Overdrive1000Board.dsc b/Platform/SoftIron/Overdrive1000Board/Overdrive1000Board.dsc
index dd45b4142c..38620b3e4d 100644
--- a/Platform/SoftIron/Overdrive1000Board/Overdrive1000Board.dsc
+++ b/Platform/SoftIron/Overdrive1000Board/Overdrive1000Board.dsc
@@ -34,10 +34,13 @@ [Defines]
 ################################################################################
 #
 # Library Class section - list of all Library Classes needed by this Platform.
 #
 ################################################################################
+
+!include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses.common]
 !if $(TARGET) == RELEASE
   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
 !else
   DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 43+ messages in thread

* [edk2-platforms] [patch V4 28/37] Platform/SolidRun: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:10 [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (26 preceding siblings ...)
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 27/37] Platform/SoftIron: " Dandan Bi
@ 2021-03-28 13:11 ` Dandan Bi
  2021-03-30 13:57   ` Marcin Wojtas
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 29/37] Silicon/CoffeelakeSiliconPkg: " Dandan Bi
                   ` (9 subsequent siblings)
  37 siblings, 1 reply; 43+ messages in thread
From: Dandan Bi @ 2021-03-28 13:11 UTC (permalink / raw)
  To: devel; +Cc: Marcin Wojtas, Leif Lindholm

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

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: Marcin Wojtas <mw@semihalf.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
V4:
NA

V3:
Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
[LibraryClasses] section since we can specify different [LibraryClasses]
section for libary instances in MdeLibs.dsc.inc.

V2:
Update Platform dsc to consume the MdeLibs.dsc.inc rather than
consuming RegisterFilterLibNull instance directly.
---
 Platform/SolidRun/Armada80x0McBin/Armada80x0McBin.dsc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Platform/SolidRun/Armada80x0McBin/Armada80x0McBin.dsc b/Platform/SolidRun/Armada80x0McBin/Armada80x0McBin.dsc
index fec0cc2b51..9196300572 100644
--- a/Platform/SolidRun/Armada80x0McBin/Armada80x0McBin.dsc
+++ b/Platform/SolidRun/Armada80x0McBin/Armada80x0McBin.dsc
@@ -27,10 +27,11 @@ [Defines]
   DEFINE NETWORK_TLS_ENABLE             = FALSE
   DEFINE NETWORK_HTTP_BOOT_ENABLE       = FALSE
   DEFINE NETWORK_ISCSI_ENABLE           = FALSE
 
 !include Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc
+!include MdePkg/MdeLibs.dsc.inc
 
 [Components.common]
   Silicon/Marvell/Armada7k8k/DeviceTree/Armada80x0McBin.inf
 
 [Components.AARCH64]
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 43+ messages in thread

* [edk2-platforms] [patch V4 29/37] Silicon/CoffeelakeSiliconPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:10 [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (27 preceding siblings ...)
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 28/37] Platform/SolidRun: " Dandan Bi
@ 2021-03-28 13:11 ` Dandan Bi
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 30/37] Silicon/IntelSiliconPkg: " Dandan Bi
                   ` (8 subsequent siblings)
  37 siblings, 0 replies; 43+ messages in thread
From: Dandan Bi @ 2021-03-28 13:11 UTC (permalink / raw)
  To: devel; +Cc: Chasel Chiu, Sai Chaganty

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

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: Chasel Chiu <chasel.chiu@intel.com>
Cc: Sai Chaganty <rangasai.v.chaganty@intel.com>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Sai Chaganty <rangasai.v.chaganty@intel.com>
---
V4:
NA

V3:
Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
[LibraryClasses] section since we can specify different [LibraryClasses]
section for libary instances in MdeLibs.dsc.inc.

V2:
Update Platform dsc to consume the MdeLibs.dsc.inc rather than
consuming RegisterFilterLibNull instance directly.
---
 Silicon/Intel/CoffeelakeSiliconPkg/CoffeelakeSiliconPkg.dsc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Silicon/Intel/CoffeelakeSiliconPkg/CoffeelakeSiliconPkg.dsc b/Silicon/Intel/CoffeelakeSiliconPkg/CoffeelakeSiliconPkg.dsc
index 2f25bdb35e..c5f10492ed 100644
--- a/Silicon/Intel/CoffeelakeSiliconPkg/CoffeelakeSiliconPkg.dsc
+++ b/Silicon/Intel/CoffeelakeSiliconPkg/CoffeelakeSiliconPkg.dsc
@@ -77,10 +77,12 @@ [Defines]
   #
   # Definition for Build Flag
   #
   !include $(PLATFORM_SI_PACKAGE)/SiPkgBuildOption.dsc
 
+!include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses.common]
   #
   # Entry point
   #
   PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 43+ messages in thread

* [edk2-platforms] [patch V4 30/37] Silicon/IntelSiliconPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:10 [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (28 preceding siblings ...)
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 29/37] Silicon/CoffeelakeSiliconPkg: " Dandan Bi
@ 2021-03-28 13:11 ` Dandan Bi
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 31/37] Silicon/KabylakeSiliconPkg: " Dandan Bi
                   ` (7 subsequent siblings)
  37 siblings, 0 replies; 43+ messages in thread
From: Dandan Bi @ 2021-03-28 13:11 UTC (permalink / raw)
  To: devel; +Cc: Ray Ni, Rangasai V Chaganty

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

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: Ray Ni <ray.ni@intel.com>
Cc: Rangasai V Chaganty <rangasai.v.chaganty@intel.com>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Sai Chaganty <rangasai.v.chaganty@intel.com>
---
V4:
NA

V3:
Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
[LibraryClasses] section since we can specify different [LibraryClasses]
section for libary instances in MdeLibs.dsc.inc.

V2:
Update Platform dsc to consume the MdeLibs.dsc.inc rather than
consuming RegisterFilterLibNull instance directly.
---
 Silicon/Intel/IntelSiliconPkg/IntelSiliconPkg.dsc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Silicon/Intel/IntelSiliconPkg/IntelSiliconPkg.dsc b/Silicon/Intel/IntelSiliconPkg/IntelSiliconPkg.dsc
index 6dff68f681..edc79c9b9c 100644
--- a/Silicon/Intel/IntelSiliconPkg/IntelSiliconPkg.dsc
+++ b/Silicon/Intel/IntelSiliconPkg/IntelSiliconPkg.dsc
@@ -1,9 +1,9 @@
 ## @file
 # This package provides common open source Intel silicon modules.
 #
-# Copyright (c) 2017 - 2020, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2017 - 2021, Intel Corporation. All rights reserved.<BR>
 # Copyright (c) Microsoft Corporation.<BR>
 #
 #    SPDX-License-Identifier: BSD-2-Clause-Patent
 #
 ##
@@ -16,10 +16,12 @@ [Defines]
   OUTPUT_DIRECTORY               = Build/IntelSiliconPkg
   SUPPORTED_ARCHITECTURES        = IA32|X64
   BUILD_TARGETS                  = DEBUG|RELEASE|NOOPT
   SKUID_IDENTIFIER               = DEFAULT
 
+!include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses]
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
   BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
   PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 43+ messages in thread

* [edk2-platforms] [patch V4 31/37] Silicon/KabylakeSiliconPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:10 [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (29 preceding siblings ...)
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 30/37] Silicon/IntelSiliconPkg: " Dandan Bi
@ 2021-03-28 13:11 ` Dandan Bi
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 32/37] Silicon/QuarkSocPkg: " Dandan Bi
                   ` (6 subsequent siblings)
  37 siblings, 0 replies; 43+ messages in thread
From: Dandan Bi @ 2021-03-28 13:11 UTC (permalink / raw)
  To: devel; +Cc: Chasel Chiu, Sai Chaganty

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

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: Chasel Chiu <chasel.chiu@intel.com>
Cc: Sai Chaganty <rangasai.v.chaganty@intel.com>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Sai Chaganty <rangasai.v.chaganty@intel.com>
---
V4:
NA

V3:
Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
[LibraryClasses] section since we can specify different [LibraryClasses]
section for libary instances in MdeLibs.dsc.inc.

V2:
Update Platform dsc to consume the MdeLibs.dsc.inc rather than
consuming RegisterFilterLibNull instance directly.
Reviewed-by: Sai Chaganty <rangasai.v.chaganty@intel.com>
---
 Silicon/Intel/KabylakeSiliconPkg/KabylakeSiliconPkg.dsc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Silicon/Intel/KabylakeSiliconPkg/KabylakeSiliconPkg.dsc b/Silicon/Intel/KabylakeSiliconPkg/KabylakeSiliconPkg.dsc
index aa481d0307..d980a2c536 100644
--- a/Silicon/Intel/KabylakeSiliconPkg/KabylakeSiliconPkg.dsc
+++ b/Silicon/Intel/KabylakeSiliconPkg/KabylakeSiliconPkg.dsc
@@ -1,9 +1,9 @@
 ## @file
 #  Component description file for the SkyLake SiPkg DSC file.
 #
-# Copyright (c) 2017 - 2019, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2017 - 2021, Intel Corporation. All rights reserved.<BR>
 #
 # SPDX-License-Identifier: BSD-2-Clause-Patent
 #
 ##
 
@@ -68,10 +68,12 @@ [Defines]
   #
   # Definition for Build Flag
   #
   !include $(PLATFORM_SI_PACKAGE)/SiPkgBuildOption.dsc
 
+  !include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses.common]
   #
   # Entry point
   #
   PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 43+ messages in thread

* [edk2-platforms] [patch V4 32/37] Silicon/QuarkSocPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:10 [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (30 preceding siblings ...)
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 31/37] Silicon/KabylakeSiliconPkg: " Dandan Bi
@ 2021-03-28 13:11 ` Dandan Bi
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 33/37] Silicon/TigerlakeSiliconPkg: " Dandan Bi
                   ` (5 subsequent siblings)
  37 siblings, 0 replies; 43+ messages in thread
From: Dandan Bi @ 2021-03-28 13:11 UTC (permalink / raw)
  To: devel; +Cc: Michael D Kinney, Kelly Steele

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

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: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Kelly Steele <kelly.steele@intel.com>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
V4:
NA

V3:
Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
[LibraryClasses] section since we can specify different [LibraryClasses]
section for libary instances in MdeLibs.dsc.inc.

V2:
Update Platform dsc to consume the MdeLibs.dsc.inc rather than
consuming RegisterFilterLibNull instance directly.
---
 Silicon/Intel/QuarkSocPkg/QuarkSocPkg.dsc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Silicon/Intel/QuarkSocPkg/QuarkSocPkg.dsc b/Silicon/Intel/QuarkSocPkg/QuarkSocPkg.dsc
index e743a5e272..80e37e26a9 100644
--- a/Silicon/Intel/QuarkSocPkg/QuarkSocPkg.dsc
+++ b/Silicon/Intel/QuarkSocPkg/QuarkSocPkg.dsc
@@ -2,11 +2,11 @@
 # INTEL Quark SoC Module Package Reference Implementations
 #
 # This DSC file is used for Package Level build.
 #
 # This Module provides FRAMEWORK reference implementation for INTEL Quark SoC.
-#   Copyright (c) 2013-2016 Intel Corporation.
+#   Copyright (c) 2013-2021 Intel Corporation.
 #
 #   SPDX-License-Identifier: BSD-2-Clause-Patent
 #
 ##
 
@@ -37,10 +37,13 @@ [SkuIds]
 ################################################################################
 #
 # Library Class section - list of all Library Classes needed by this Platform.
 #
 ################################################################################
+
+!include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses]
   #
   # Entry point
   #
   PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 43+ messages in thread

* [edk2-platforms] [patch V4 33/37] Silicon/TigerlakeSiliconPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:10 [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (31 preceding siblings ...)
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 32/37] Silicon/QuarkSocPkg: " Dandan Bi
@ 2021-03-28 13:11 ` Dandan Bi
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 34/37] Silicon/Openmoko: " Dandan Bi
                   ` (4 subsequent siblings)
  37 siblings, 0 replies; 43+ messages in thread
From: Dandan Bi @ 2021-03-28 13:11 UTC (permalink / raw)
  To: devel; +Cc: Sai Chaganty, Nate DeSimone, Heng Luo

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

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: Sai Chaganty <rangasai.v.chaganty@intel.com>
Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
Cc: Heng Luo <heng.luo@intel.com>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Sai Chaganty <rangasai.v.chaganty@intel.com>
---
V4:
NA

V3:
Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
[LibraryClasses] section since we can specify different [LibraryClasses]
section for libary instances in MdeLibs.dsc.inc.

V2:
Update Platform dsc to consume the MdeLibs.dsc.inc rather than
consuming RegisterFilterLibNull instance directly.
---
 Silicon/Intel/TigerlakeSiliconPkg/TigerlakeSiliconPkg.dsc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Silicon/Intel/TigerlakeSiliconPkg/TigerlakeSiliconPkg.dsc b/Silicon/Intel/TigerlakeSiliconPkg/TigerlakeSiliconPkg.dsc
index 73a2594887..36df41f09f 100644
--- a/Silicon/Intel/TigerlakeSiliconPkg/TigerlakeSiliconPkg.dsc
+++ b/Silicon/Intel/TigerlakeSiliconPkg/TigerlakeSiliconPkg.dsc
@@ -90,10 +90,12 @@ [Defines]
   #
   # Definition for Build Flag
   #
   !include $(PLATFORM_SI_PACKAGE)/SiPkgBuildOption.dsc
 
+  !include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses.common]
   #
   # Entry point
   #
   PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 43+ messages in thread

* [edk2-platforms] [patch V4 34/37] Silicon/Openmoko: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:10 [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (32 preceding siblings ...)
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 33/37] Silicon/TigerlakeSiliconPkg: " Dandan Bi
@ 2021-03-28 13:11 ` Dandan Bi
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 35/37] Silicon/RISC_V: " Dandan Bi
                   ` (3 subsequent siblings)
  37 siblings, 0 replies; 43+ messages in thread
From: Dandan Bi @ 2021-03-28 13:11 UTC (permalink / raw)
  To: devel; +Cc: Ard Biesheuvel, Leif Lindholm

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

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: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Leif Lindholm <leif@nuviainc.com>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
V4:
NA

V3:
Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
[LibraryClasses] section since we can specify different [LibraryClasses]
section for libary instances in MdeLibs.dsc.inc.

V2:
Update Platform dsc to consume the MdeLibs.dsc.inc rather than
consuming RegisterFilterLibNull instance directly.
---
 Silicon/Openmoko/Openmoko.dsc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Silicon/Openmoko/Openmoko.dsc b/Silicon/Openmoko/Openmoko.dsc
index 572be3d730..c565d0425b 100644
--- a/Silicon/Openmoko/Openmoko.dsc
+++ b/Silicon/Openmoko/Openmoko.dsc
@@ -13,10 +13,12 @@ [Defines]
   OUTPUT_DIRECTORY               = Build/Openmoko
   SUPPORTED_ARCHITECTURES        = AARCH64|ARM|EBC|IA32|IA64|X64
   BUILD_TARGETS                  = DEBUG|RELEASE
   SKUID_IDENTIFIER               = DEFAULT
 
+!include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses]
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
   BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
   DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 43+ messages in thread

* [edk2-platforms] [patch V4 35/37] Silicon/RISC_V: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:10 [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (33 preceding siblings ...)
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 34/37] Silicon/Openmoko: " Dandan Bi
@ 2021-03-28 13:11 ` Dandan Bi
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 36/37] Silicon/Synopsys/DesignWare: " Dandan Bi
                   ` (2 subsequent siblings)
  37 siblings, 0 replies; 43+ messages in thread
From: Dandan Bi @ 2021-03-28 13:11 UTC (permalink / raw)
  To: devel; +Cc: Abner Chang, Daniel Schaefer, Gilbert Chen

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

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@hpe.com>
Cc: Daniel Schaefer <daniel.schaefer@hpe.com>
Cc: Gilbert Chen <gilbert.chen@hpe.com>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
V4:
NA

V3:
Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
[LibraryClasses] section since we can specify different [LibraryClasses]
section for libary instances in MdeLibs.dsc.inc.

V2:
Update Platform dsc to consume the MdeLibs.dsc.inc rather than
consuming RegisterFilterLibNull instance directly.
---
 Silicon/RISC-V/ProcessorPkg/RiscVProcessorPkg.dsc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Silicon/RISC-V/ProcessorPkg/RiscVProcessorPkg.dsc b/Silicon/RISC-V/ProcessorPkg/RiscVProcessorPkg.dsc
index 5f88f5e89f..5c5cfcb525 100644
--- a/Silicon/RISC-V/ProcessorPkg/RiscVProcessorPkg.dsc
+++ b/Silicon/RISC-V/ProcessorPkg/RiscVProcessorPkg.dsc
@@ -34,10 +34,12 @@ [BuildOptions]
 #
 ################################################################################
 [SkuIds]
   0|DEFAULT
 
+!include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses.common]
   CpuExceptionHandlerLib|Silicon/RISC-V/ProcessorPkg/Library/RiscVExceptionLib/CpuExceptionHandlerDxeLib.inf
   RiscVCpuLib|Silicon/RISC-V/ProcessorPkg/Library/RiscVCpuLib/RiscVCpuLib.inf
   RiscVEdk2SbiLib|Silicon/RISC-V/ProcessorPkg/Library/RiscVEdk2SbiLib/RiscVEdk2SbiLib.inf
   RiscVOpensbiLib|Silicon/RISC-V/ProcessorPkg/Library/RiscVOpensbiLib/RiscVOpensbiLib.inf
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 43+ messages in thread

* [edk2-platforms] [patch V4 36/37] Silicon/Synopsys/DesignWare: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:10 [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (34 preceding siblings ...)
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 35/37] Silicon/RISC_V: " Dandan Bi
@ 2021-03-28 13:11 ` Dandan Bi
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 37/37] Silicon/TexasInstruments: " Dandan Bi
  2021-03-30  2:01 ` [edk2-devel] [edk2-platforms] [patch V4 00/37] " Michael D Kinney
  37 siblings, 0 replies; 43+ messages in thread
From: Dandan Bi @ 2021-03-28 13:11 UTC (permalink / raw)
  To: devel; +Cc: Ard Biesheuvel, Leif Lindholm

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

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: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Leif Lindholm <leif@nuviainc.com>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
V4:
NA

V3:
Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
[LibraryClasses] section since we can specify different [LibraryClasses]
section for libary instances in MdeLibs.dsc.inc.

V2:
Update Platform dsc to consume the MdeLibs.dsc.inc rather than
consuming RegisterFilterLibNull instance directly.
---
 Silicon/Synopsys/DesignWare/DesignWare.dsc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Silicon/Synopsys/DesignWare/DesignWare.dsc b/Silicon/Synopsys/DesignWare/DesignWare.dsc
index 098bba3f7d..b5a7b38e14 100755
--- a/Silicon/Synopsys/DesignWare/DesignWare.dsc
+++ b/Silicon/Synopsys/DesignWare/DesignWare.dsc
@@ -13,10 +13,12 @@ [Defines]
   OUTPUT_DIRECTORY               = Build/Synopsys
   SUPPORTED_ARCHITECTURES        = AARCH64|ARM
   BUILD_TARGETS                  = DEBUG|RELEASE|NOOPT
   SKUID_IDENTIFIER               = DEFAULT
 
+!include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses]
   ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf
   ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
   BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 43+ messages in thread

* [edk2-platforms] [patch V4 37/37] Silicon/TexasInstruments: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:10 [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (35 preceding siblings ...)
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 36/37] Silicon/Synopsys/DesignWare: " Dandan Bi
@ 2021-03-28 13:11 ` Dandan Bi
  2021-03-30  2:01 ` [edk2-devel] [edk2-platforms] [patch V4 00/37] " Michael D Kinney
  37 siblings, 0 replies; 43+ messages in thread
From: Dandan Bi @ 2021-03-28 13:11 UTC (permalink / raw)
  To: devel; +Cc: Ard Biesheuvel, Leif Lindholm

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

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: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Leif Lindholm <leif@nuviainc.com>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
V4:
NA

V3:
Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
[LibraryClasses] section since we can specify different [LibraryClasses]
section for libary instances in MdeLibs.dsc.inc.

V2:
Update Platform dsc to consume the MdeLibs.dsc.inc rather than
consuming RegisterFilterLibNull instance directly.
---
 Silicon/TexasInstruments/Omap35xxPkg/Omap35xxPkg.dsc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Silicon/TexasInstruments/Omap35xxPkg/Omap35xxPkg.dsc b/Silicon/TexasInstruments/Omap35xxPkg/Omap35xxPkg.dsc
index 18ebc4aedf..8bf56c3768 100644
--- a/Silicon/TexasInstruments/Omap35xxPkg/Omap35xxPkg.dsc
+++ b/Silicon/TexasInstruments/Omap35xxPkg/Omap35xxPkg.dsc
@@ -21,10 +21,12 @@ [Defines]
   OUTPUT_DIRECTORY               = Build/Omap35xxPkg
   SUPPORTED_ARCHITECTURES        = ARM
   BUILD_TARGETS                  = DEBUG|RELEASE|NOOPT
   SKUID_IDENTIFIER               = DEFAULT
 
+!include MdePkg/MdeLibs.dsc.inc
+
 [LibraryClasses.common]
   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
 
   ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
   MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 43+ messages in thread

* Re: [edk2-devel] [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:10 [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (36 preceding siblings ...)
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 37/37] Silicon/TexasInstruments: " Dandan Bi
@ 2021-03-30  2:01 ` Michael D Kinney
  2021-03-30 13:53   ` Dandan Bi
  37 siblings, 1 reply; 43+ messages in thread
From: Michael D Kinney @ 2021-03-30  2:01 UTC (permalink / raw)
  To: devel@edk2.groups.io, Bi, Dandan, Kinney, Michael D

Series Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>

Mike

> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Dandan Bi
> Sent: Sunday, March 28, 2021 6:11 AM
> To: devel@edk2.groups.io
> Subject: [edk2-devel] [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib
> 
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3246
> RFC: https://edk2.groups.io/g/devel/message/72530
> edk2 change: https://edk2.groups.io/g/devel/message/73420
> 
> 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.
> 
> ---
> V4:
> Consume the MdeLibs.dsc.inc for RegisterFilterLibNull in dsc file rather than in xxx.dsc.inc.
> Following 5 new added patch for consuming MdeLibs.dsc.inc in platform dsc file.
>   Platform/Comcast: Consume MdeLibs.dsc.inc for RegisterFilterLib
>   Platform/Hisilicon: Consume MdeLibs.dsc.inc for RegisterFilterLib
>   Platform/Marvell: Consume MdeLibs.dsc.inc for RegisterFilterLib
>   Platform/NXP: Consume MdeLibs.dsc.inc for RegisterFilterLib
>   Platform/SolidRun: Consume MdeLibs.dsc.inc for RegisterFilterLib
> Following 1 new patch is updated to consume MdeLibs.dsc.inc in platform dsc rather than in xxx.dsc.inc.
>   Platform/ARM: Consume MdeLibs.dsc.inc for RegisterFilterLib
> Following 3 old patch are dropped which consume MdeLibs.dsc.inc in xxx.dsc.inc file.
>   Silicon/Hisilicon: Consume MdeLibs.dsc.inc for RegisterFilterLib
>   Silicon/Marvell: Consume MdeLibs.dsc.inc for RegisterFilterLib
>   Silicon/NXP: Consume MdeLibs.dsc.inc for RegisterFilterLib
> Other patches are the same with V3.
> ---
> V3:
> Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
> [LibraryClasses] section since we can specify different [LibraryClasses]
> section for libary instances in MdeLibs.dsc.inc.
> ---
> V2:
> Update Platform dsc to consume the MdeLibs.dsc.inc rather than
> consuming RegisterFilterLibNull instance directly.
> 
> Dandan Bi (37):
>   Drivers/ASIX: Consume MdeLibs.dsc.inc for RegisterFilterLib
>   Drivers/DisplayLink: Consume MdeLibs.dsc.inc for RegisterFilterLib
>   Drivers/OptionRomPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib
>   Features/Debugging: Consume MdeLibs.dsc.inc for RegisterFilterLib
>   Features/Network: Consume MdeLibs.dsc.inc for RegisterFilterLib
>   Features/OutOfBandManagement: Consume MdeLibs.dsc.inc for
>     RegisterFilterLib
>   Features/PowerManagement: Consume MdeLibs.dsc.inc for
>     RegisterFilterLib
>   Features/SystemInformation: Consume MdeLibs.dsc.inc for
>     RegisterFilterLib
>   Features/UserInterface: Consume MdeLibs.dsc.inc for RegisterFilterLib
>   Platform/AMD: Consume MdeLibs.dsc.inc for RegisterFilterLib
>   Platform/ARM: Consume MdeLibs.dsc.inc for RegisterFilterLib
>   Platform/BeagleBoard: Consume MdeLibs.dsc.inc for RegisterFilterLib
>   Platform/Comcast: Consume MdeLibs.dsc.inc for RegisterFilterLib
>   Platform/Hisilicon: Consume MdeLibs.dsc.inc for RegisterFilterLib
>   Platform/BoardModulePkg: Consume MdeLibs.dsc.inc for RegisterFilterLib
>   Platform/MinPlatformPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib
>   Platform/QuarkPlatformPkg: Consume MdeLibs.dsc.inc for
>     RegisterFilterLib
>   Platform/Vlv2TbltDevicePkg: Consume MdeLibs.dsc.inc for
>     RegisterFilterLib
>   Platform/LeMaker: Consume MdeLibs.dsc.inc for RegisterFilterLib
>   Platform/Marvell: Consume MdeLibs.dsc.inc for RegisterFilterLib
>   Platform/NXP: Consume MdeLibs.dsc.inc for RegisterFilterLib
>   Platform/Qemu: Consume MdeLibs.dsc.inc for RegisterFilterLib
>   Platform/RaspberryPi: Consume MdeLibs.dsc.inc for RegisterFilterLib
>   Platform/RISC-V: Consume MdeLibs.dsc.inc for RegisterFilterLib
>   Platform/SiFive: Consume MdeLibs.dsc.inc for RegisterFilterLib
>   Platform/Socionext: Consume MdeLibs.dsc.inc for RegisterFilterLib
>   Platform/SoftIron: Consume MdeLibs.dsc.inc for RegisterFilterLib
>   Platform/SolidRun: Consume MdeLibs.dsc.inc for RegisterFilterLib
>   Silicon/CoffeelakeSiliconPkg: Consume MdeLibs.dsc.inc for
>     RegisterFilterLib
>   Silicon/IntelSiliconPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib
>   Silicon/KabylakeSiliconPkg: Consume MdeLibs.dsc.inc for
>     RegisterFilterLib
>   Silicon/QuarkSocPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib
>   Silicon/TigerlakeSiliconPkg: Consume MdeLibs.dsc.inc for
>     RegisterFilterLib
>   Silicon/Openmoko: Consume MdeLibs.dsc.inc for RegisterFilterLib
>   Silicon/RISC_V: Consume MdeLibs.dsc.inc for RegisterFilterLib
>   Silicon/Synopsys/DesignWare: Consume MdeLibs.dsc.inc for
>     RegisterFilterLib
>   Silicon/TexasInstruments: Consume MdeLibs.dsc.inc for
>     RegisterFilterLib
> 
>  Drivers/ASIX/Asix.dsc                                        | 3 +++
>  Drivers/DisplayLink/DisplayLinkPkg/DisplayLinkPkg.dsc        | 2 ++
>  Drivers/OptionRomPkg/OptionRomPkg.dsc                        | 4 +++-
>  .../AcpiDebugFeaturePkg/Include/AcpiDebugFeature.dsc         | 5 ++++-
>  .../BeepDebugFeaturePkg/Include/BeepDebugFeature.dsc         | 5 ++++-
>  .../PostCodeDebugFeaturePkg/Include/PostCodeDebugFeature.dsc | 5 ++++-
>  .../Usb3DebugFeaturePkg/Include/Usb3DebugFeature.dsc         | 5 ++++-
>  .../Network/NetworkFeaturePkg/Include/NetworkFeature.dsc     | 5 ++++-
>  .../IpmiFeaturePkg/Include/IpmiFeature.dsc                   | 5 ++++-
>  .../SpcrFeaturePkg/Include/SpcrFeature.dsc                   | 5 ++++-
>  .../Intel/PowerManagement/S3FeaturePkg/Include/S3Feature.dsc | 5 ++++-
>  .../SmbiosFeaturePkg/Include/SmbiosFeature.dsc               | 5 ++++-
>  .../UserInterface/LogoFeaturePkg/Include/LogoFeature.dsc     | 5 ++++-
>  .../UserAuthFeaturePkg/Include/UserAuthFeature.dsc           | 5 ++++-
>  .../Include/VirtualKeyboardFeature.dsc                       | 5 ++++-
>  Platform/AMD/OverdriveBoard/OverdriveBoard.dsc               | 3 +++
>  Platform/ARM/JunoPkg/ArmJuno.dsc                             | 1 +
>  Platform/ARM/N1Sdp/N1SdpPlatform.dsc                         | 1 +
>  Platform/ARM/SgiPkg/PlatformStandaloneMm.dsc                 | 3 +++
>  Platform/ARM/SgiPkg/RdE1Edge/RdE1Edge.dsc                    | 3 +++
>  Platform/ARM/SgiPkg/RdN1Edge/RdN1Edge.dsc                    | 3 +++
>  Platform/ARM/SgiPkg/RdN1EdgeX2/RdN1EdgeX2.dsc                | 5 ++++-
>  Platform/ARM/SgiPkg/RdN2/RdN2.dsc                            | 3 +++
>  Platform/ARM/SgiPkg/RdV1/RdV1.dsc                            | 3 +++
>  Platform/ARM/SgiPkg/RdV1Mc/RdV1Mc.dsc                        | 3 +++
>  Platform/ARM/SgiPkg/Sgi575/Sgi575.dsc                        | 3 +++
>  Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.dsc            | 1 +
>  Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc         | 1 +
>  Platform/BeagleBoard/BeagleBoardPkg/BeagleBoardPkg.dsc       | 3 ++-
>  Platform/Comcast/RDKQemu/RDKQemu.dsc                         | 3 ++-
>  Platform/Hisilicon/D03/D03.dsc                               | 1 +
>  Platform/Hisilicon/D05/D05.dsc                               | 1 +
>  Platform/Hisilicon/D06/D06.dsc                               | 1 +
>  Platform/Hisilicon/HiKey/HiKey.dsc                           | 1 +
>  Platform/Hisilicon/HiKey960/HiKey960.dsc                     | 1 +
>  Platform/Intel/BoardModulePkg/BoardModulePkg.dsc             | 4 +++-
>  Platform/Intel/MinPlatformPkg/Include/Dsc/CoreCommonLib.dsc  | 4 +++-
>  Platform/Intel/QuarkPlatformPkg/Quark.dsc                    | 3 +++
>  Platform/Intel/QuarkPlatformPkg/QuarkMin.dsc                 | 3 +++
>  Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc         | 5 ++++-
>  Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgX64.dsc          | 5 ++++-
>  Platform/LeMaker/CelloBoard/CelloBoard.dsc                   | 3 +++
>  Platform/Marvell/Armada70x0Db/Armada70x0Db.dsc               | 2 ++
>  Platform/Marvell/Armada80x0Db/Armada80x0Db.dsc               | 2 ++
>  Platform/Marvell/Cn913xDb/Cn913xDbA.dsc                      | 1 +
>  Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.dsc                 | 1 +
>  Platform/NXP/LS1046aFrwyPkg/LS1046aFrwyPkg.dsc               | 1 +
>  Platform/NXP/LX2160aRdbPkg/LX2160aRdbPkg.dsc                 | 1 +
>  Platform/Qemu/SbsaQemu/SbsaQemu.dsc                          | 3 +++
>  Platform/RISC-V/PlatformPkg/RiscVPlatformPkg.dsc             | 2 ++
>  Platform/RaspberryPi/RPi3/RPi3.dsc                           | 5 ++++-
>  Platform/RaspberryPi/RPi4/RPi4.dsc                           | 5 ++++-
>  Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc   | 3 +++
>  .../U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc     | 3 +++
>  Platform/Socionext/DeveloperBox/DeveloperBox.dsc             | 1 +
>  Platform/Socionext/DeveloperBox/DeveloperBoxMm.dsc           | 1 +
>  Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc | 2 ++
>  Platform/SoftIron/Overdrive1000Board/Overdrive1000Board.dsc  | 3 +++
>  Platform/SolidRun/Armada80x0McBin/Armada80x0McBin.dsc        | 1 +
>  Silicon/Intel/CoffeelakeSiliconPkg/CoffeelakeSiliconPkg.dsc  | 2 ++
>  Silicon/Intel/IntelSiliconPkg/IntelSiliconPkg.dsc            | 4 +++-
>  Silicon/Intel/KabylakeSiliconPkg/KabylakeSiliconPkg.dsc      | 4 +++-
>  Silicon/Intel/QuarkSocPkg/QuarkSocPkg.dsc                    | 5 ++++-
>  Silicon/Intel/TigerlakeSiliconPkg/TigerlakeSiliconPkg.dsc    | 2 ++
>  Silicon/Openmoko/Openmoko.dsc                                | 2 ++
>  Silicon/RISC-V/ProcessorPkg/RiscVProcessorPkg.dsc            | 2 ++
>  Silicon/Synopsys/DesignWare/DesignWare.dsc                   | 2 ++
>  Silicon/TexasInstruments/Omap35xxPkg/Omap35xxPkg.dsc         | 2 ++
>  68 files changed, 177 insertions(+), 25 deletions(-)
> 
> --
> 2.18.0.windows.1
> 
> 
> 
> 
> 


^ permalink raw reply	[flat|nested] 43+ messages in thread

* Re: [edk2-devel] [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-30  2:01 ` [edk2-devel] [edk2-platforms] [patch V4 00/37] " Michael D Kinney
@ 2021-03-30 13:53   ` Dandan Bi
  0 siblings, 0 replies; 43+ messages in thread
From: Dandan Bi @ 2021-03-30 13:53 UTC (permalink / raw)
  To: Kinney, Michael D, devel@edk2.groups.io, Liming Gao,
	ardb+tianocore@kernel.org, leif@nuviainc.com,
	thomas.abraham@arm.com, sami.mujawar@arm.com, Ni, Ray,
	xiewenyi2@huawei.com, Chaganty, Rangasai V, Chiu, Chasel,
	Desimone, Nathaniel L, Dong, Eric, mw@semihalf.com,
	meenakshi.aggarwal@nxp.com, Abner Chang, Steele, Kelly

Hi All,

I plan to submit this dsc changes in edk2-platform tomorrow afternoon with R-B got from Mike, and some pkg maintainers.
Please let me know if you have any concern.

Following dependent changes in edk2 have been submitted.
https://github.com/tianocore/edk2/commit/1c11e7a2142b1406ccff5e0af0893c94472871c8
https://github.com/tianocore/edk2/commit/98ff7e3c6373d3e0590f953459b6234ab12edce6



Thanks,
Dandan
> -----Original Message-----
> From: Kinney, Michael D <michael.d.kinney@intel.com>
> Sent: Tuesday, March 30, 2021 10:02 AM
> To: devel@edk2.groups.io; Bi, Dandan <dandan.bi@intel.com>; Kinney,
> Michael D <michael.d.kinney@intel.com>
> Subject: RE: [edk2-devel] [edk2-platforms] [patch V4 00/37] Consume
> MdeLibs.dsc.inc for RegisterFilterLib
> 
> Series Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
> 
> Mike
> 
> > -----Original Message-----
> > From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of
> Dandan
> > Bi
> > Sent: Sunday, March 28, 2021 6:11 AM
> > To: devel@edk2.groups.io
> > Subject: [edk2-devel] [edk2-platforms] [patch V4 00/37] Consume
> > MdeLibs.dsc.inc for RegisterFilterLib
> >
> > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3246
> > RFC: https://edk2.groups.io/g/devel/message/72530
> > edk2 change: https://edk2.groups.io/g/devel/message/73420
> >
> > 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.
> >
> > ---
> > V4:
> > Consume the MdeLibs.dsc.inc for RegisterFilterLibNull in dsc file rather than
> in xxx.dsc.inc.
> > Following 5 new added patch for consuming MdeLibs.dsc.inc in platform
> dsc file.
> >   Platform/Comcast: Consume MdeLibs.dsc.inc for RegisterFilterLib
> >   Platform/Hisilicon: Consume MdeLibs.dsc.inc for RegisterFilterLib
> >   Platform/Marvell: Consume MdeLibs.dsc.inc for RegisterFilterLib
> >   Platform/NXP: Consume MdeLibs.dsc.inc for RegisterFilterLib
> >   Platform/SolidRun: Consume MdeLibs.dsc.inc for RegisterFilterLib
> > Following 1 new patch is updated to consume MdeLibs.dsc.inc in platform
> dsc rather than in xxx.dsc.inc.
> >   Platform/ARM: Consume MdeLibs.dsc.inc for RegisterFilterLib
> > Following 3 old patch are dropped which consume MdeLibs.dsc.inc in
> xxx.dsc.inc file.
> >   Silicon/Hisilicon: Consume MdeLibs.dsc.inc for RegisterFilterLib
> >   Silicon/Marvell: Consume MdeLibs.dsc.inc for RegisterFilterLib
> >   Silicon/NXP: Consume MdeLibs.dsc.inc for RegisterFilterLib Other
> > patches are the same with V3.
> > ---
> > V3:
> > Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
> > [LibraryClasses] section since we can specify different
> > [LibraryClasses] section for libary instances in MdeLibs.dsc.inc.
> > ---
> > V2:
> > Update Platform dsc to consume the MdeLibs.dsc.inc rather than
> > consuming RegisterFilterLibNull instance directly.
> >
> > Dandan Bi (37):
> >   Drivers/ASIX: Consume MdeLibs.dsc.inc for RegisterFilterLib
> >   Drivers/DisplayLink: Consume MdeLibs.dsc.inc for RegisterFilterLib
> >   Drivers/OptionRomPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib
> >   Features/Debugging: Consume MdeLibs.dsc.inc for RegisterFilterLib
> >   Features/Network: Consume MdeLibs.dsc.inc for RegisterFilterLib
> >   Features/OutOfBandManagement: Consume MdeLibs.dsc.inc for
> >     RegisterFilterLib
> >   Features/PowerManagement: Consume MdeLibs.dsc.inc for
> >     RegisterFilterLib
> >   Features/SystemInformation: Consume MdeLibs.dsc.inc for
> >     RegisterFilterLib
> >   Features/UserInterface: Consume MdeLibs.dsc.inc for RegisterFilterLib
> >   Platform/AMD: Consume MdeLibs.dsc.inc for RegisterFilterLib
> >   Platform/ARM: Consume MdeLibs.dsc.inc for RegisterFilterLib
> >   Platform/BeagleBoard: Consume MdeLibs.dsc.inc for RegisterFilterLib
> >   Platform/Comcast: Consume MdeLibs.dsc.inc for RegisterFilterLib
> >   Platform/Hisilicon: Consume MdeLibs.dsc.inc for RegisterFilterLib
> >   Platform/BoardModulePkg: Consume MdeLibs.dsc.inc for RegisterFilterLib
> >   Platform/MinPlatformPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib
> >   Platform/QuarkPlatformPkg: Consume MdeLibs.dsc.inc for
> >     RegisterFilterLib
> >   Platform/Vlv2TbltDevicePkg: Consume MdeLibs.dsc.inc for
> >     RegisterFilterLib
> >   Platform/LeMaker: Consume MdeLibs.dsc.inc for RegisterFilterLib
> >   Platform/Marvell: Consume MdeLibs.dsc.inc for RegisterFilterLib
> >   Platform/NXP: Consume MdeLibs.dsc.inc for RegisterFilterLib
> >   Platform/Qemu: Consume MdeLibs.dsc.inc for RegisterFilterLib
> >   Platform/RaspberryPi: Consume MdeLibs.dsc.inc for RegisterFilterLib
> >   Platform/RISC-V: Consume MdeLibs.dsc.inc for RegisterFilterLib
> >   Platform/SiFive: Consume MdeLibs.dsc.inc for RegisterFilterLib
> >   Platform/Socionext: Consume MdeLibs.dsc.inc for RegisterFilterLib
> >   Platform/SoftIron: Consume MdeLibs.dsc.inc for RegisterFilterLib
> >   Platform/SolidRun: Consume MdeLibs.dsc.inc for RegisterFilterLib
> >   Silicon/CoffeelakeSiliconPkg: Consume MdeLibs.dsc.inc for
> >     RegisterFilterLib
> >   Silicon/IntelSiliconPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib
> >   Silicon/KabylakeSiliconPkg: Consume MdeLibs.dsc.inc for
> >     RegisterFilterLib
> >   Silicon/QuarkSocPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib
> >   Silicon/TigerlakeSiliconPkg: Consume MdeLibs.dsc.inc for
> >     RegisterFilterLib
> >   Silicon/Openmoko: Consume MdeLibs.dsc.inc for RegisterFilterLib
> >   Silicon/RISC_V: Consume MdeLibs.dsc.inc for RegisterFilterLib
> >   Silicon/Synopsys/DesignWare: Consume MdeLibs.dsc.inc for
> >     RegisterFilterLib
> >   Silicon/TexasInstruments: Consume MdeLibs.dsc.inc for
> >     RegisterFilterLib
> >
> >  Drivers/ASIX/Asix.dsc                                        | 3 +++
> >  Drivers/DisplayLink/DisplayLinkPkg/DisplayLinkPkg.dsc        | 2 ++
> >  Drivers/OptionRomPkg/OptionRomPkg.dsc                        | 4 +++-
> >  .../AcpiDebugFeaturePkg/Include/AcpiDebugFeature.dsc         | 5 ++++-
> >  .../BeepDebugFeaturePkg/Include/BeepDebugFeature.dsc         | 5 ++++-
> >  .../PostCodeDebugFeaturePkg/Include/PostCodeDebugFeature.dsc | 5
> ++++-
> >  .../Usb3DebugFeaturePkg/Include/Usb3DebugFeature.dsc         | 5 ++++-
> >  .../Network/NetworkFeaturePkg/Include/NetworkFeature.dsc     | 5
> ++++-
> >  .../IpmiFeaturePkg/Include/IpmiFeature.dsc                   | 5 ++++-
> >  .../SpcrFeaturePkg/Include/SpcrFeature.dsc                   | 5 ++++-
> >  .../Intel/PowerManagement/S3FeaturePkg/Include/S3Feature.dsc | 5
> ++++-
> >  .../SmbiosFeaturePkg/Include/SmbiosFeature.dsc               | 5 ++++-
> >  .../UserInterface/LogoFeaturePkg/Include/LogoFeature.dsc     | 5 ++++-
> >  .../UserAuthFeaturePkg/Include/UserAuthFeature.dsc           | 5 ++++-
> >  .../Include/VirtualKeyboardFeature.dsc                       | 5 ++++-
> >  Platform/AMD/OverdriveBoard/OverdriveBoard.dsc               | 3 +++
> >  Platform/ARM/JunoPkg/ArmJuno.dsc                             | 1 +
> >  Platform/ARM/N1Sdp/N1SdpPlatform.dsc                         | 1 +
> >  Platform/ARM/SgiPkg/PlatformStandaloneMm.dsc                 | 3 +++
> >  Platform/ARM/SgiPkg/RdE1Edge/RdE1Edge.dsc                    | 3 +++
> >  Platform/ARM/SgiPkg/RdN1Edge/RdN1Edge.dsc                    | 3 +++
> >  Platform/ARM/SgiPkg/RdN1EdgeX2/RdN1EdgeX2.dsc                | 5 ++++-
> >  Platform/ARM/SgiPkg/RdN2/RdN2.dsc                            | 3 +++
> >  Platform/ARM/SgiPkg/RdV1/RdV1.dsc                            | 3 +++
> >  Platform/ARM/SgiPkg/RdV1Mc/RdV1Mc.dsc                        | 3 +++
> >  Platform/ARM/SgiPkg/Sgi575/Sgi575.dsc                        | 3 +++
> >  Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.dsc            | 1 +
> >  Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc         | 1 +
> >  Platform/BeagleBoard/BeagleBoardPkg/BeagleBoardPkg.dsc       | 3 ++-
> >  Platform/Comcast/RDKQemu/RDKQemu.dsc                         | 3 ++-
> >  Platform/Hisilicon/D03/D03.dsc                               | 1 +
> >  Platform/Hisilicon/D05/D05.dsc                               | 1 +
> >  Platform/Hisilicon/D06/D06.dsc                               | 1 +
> >  Platform/Hisilicon/HiKey/HiKey.dsc                           | 1 +
> >  Platform/Hisilicon/HiKey960/HiKey960.dsc                     | 1 +
> >  Platform/Intel/BoardModulePkg/BoardModulePkg.dsc             | 4 +++-
> >  Platform/Intel/MinPlatformPkg/Include/Dsc/CoreCommonLib.dsc  | 4
> +++-
> >  Platform/Intel/QuarkPlatformPkg/Quark.dsc                    | 3 +++
> >  Platform/Intel/QuarkPlatformPkg/QuarkMin.dsc                 | 3 +++
> >  Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc         | 5 ++++-
> >  Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgX64.dsc          | 5 ++++-
> >  Platform/LeMaker/CelloBoard/CelloBoard.dsc                   | 3 +++
> >  Platform/Marvell/Armada70x0Db/Armada70x0Db.dsc               | 2 ++
> >  Platform/Marvell/Armada80x0Db/Armada80x0Db.dsc               | 2 ++
> >  Platform/Marvell/Cn913xDb/Cn913xDbA.dsc                      | 1 +
> >  Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.dsc                 | 1 +
> >  Platform/NXP/LS1046aFrwyPkg/LS1046aFrwyPkg.dsc               | 1 +
> >  Platform/NXP/LX2160aRdbPkg/LX2160aRdbPkg.dsc                 | 1 +
> >  Platform/Qemu/SbsaQemu/SbsaQemu.dsc                          | 3 +++
> >  Platform/RISC-V/PlatformPkg/RiscVPlatformPkg.dsc             | 2 ++
> >  Platform/RaspberryPi/RPi3/RPi3.dsc                           | 5 ++++-
> >  Platform/RaspberryPi/RPi4/RPi4.dsc                           | 5 ++++-
> >  Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc   | 3
> +++
> >  .../U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc     | 3 +++
> >  Platform/Socionext/DeveloperBox/DeveloperBox.dsc             | 1 +
> >  Platform/Socionext/DeveloperBox/DeveloperBoxMm.dsc           | 1 +
> >  Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc | 2 ++
> > Platform/SoftIron/Overdrive1000Board/Overdrive1000Board.dsc  | 3 +++
> >  Platform/SolidRun/Armada80x0McBin/Armada80x0McBin.dsc        | 1 +
> >  Silicon/Intel/CoffeelakeSiliconPkg/CoffeelakeSiliconPkg.dsc  | 2 ++
> >  Silicon/Intel/IntelSiliconPkg/IntelSiliconPkg.dsc            | 4 +++-
> >  Silicon/Intel/KabylakeSiliconPkg/KabylakeSiliconPkg.dsc      | 4 +++-
> >  Silicon/Intel/QuarkSocPkg/QuarkSocPkg.dsc                    | 5 ++++-
> >  Silicon/Intel/TigerlakeSiliconPkg/TigerlakeSiliconPkg.dsc    | 2 ++
> >  Silicon/Openmoko/Openmoko.dsc                                | 2 ++
> >  Silicon/RISC-V/ProcessorPkg/RiscVProcessorPkg.dsc            | 2 ++
> >  Silicon/Synopsys/DesignWare/DesignWare.dsc                   | 2 ++
> >  Silicon/TexasInstruments/Omap35xxPkg/Omap35xxPkg.dsc         | 2 ++
> >  68 files changed, 177 insertions(+), 25 deletions(-)
> >
> > --
> > 2.18.0.windows.1
> >
> >
> >
> > 
> >


^ permalink raw reply	[flat|nested] 43+ messages in thread

* Re: [edk2-platforms] [patch V4 28/37] Platform/SolidRun: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 28/37] Platform/SolidRun: " Dandan Bi
@ 2021-03-30 13:57   ` Marcin Wojtas
  0 siblings, 0 replies; 43+ messages in thread
From: Marcin Wojtas @ 2021-03-30 13:57 UTC (permalink / raw)
  To: Dandan Bi; +Cc: edk2-devel-groups-io, Leif Lindholm

niedz., 28 mar 2021 o 15:12 Dandan Bi <dandan.bi@intel.com> napisał(a):
>
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3246
>
> 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: Marcin Wojtas <mw@semihalf.com>
> Cc: Leif Lindholm <leif@nuviainc.com>
> Signed-off-by: Dandan Bi <dandan.bi@intel.com>

Reviewed-by: Marcin Wojtas <mw@semihalf.com>

Thanks,
Marcin

> ---
> V4:
> NA
>
> V3:
> Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
> [LibraryClasses] section since we can specify different [LibraryClasses]
> section for libary instances in MdeLibs.dsc.inc.
>
> V2:
> Update Platform dsc to consume the MdeLibs.dsc.inc rather than
> consuming RegisterFilterLibNull instance directly.
> ---
>  Platform/SolidRun/Armada80x0McBin/Armada80x0McBin.dsc | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/Platform/SolidRun/Armada80x0McBin/Armada80x0McBin.dsc b/Platform/SolidRun/Armada80x0McBin/Armada80x0McBin.dsc
> index fec0cc2b51..9196300572 100644
> --- a/Platform/SolidRun/Armada80x0McBin/Armada80x0McBin.dsc
> +++ b/Platform/SolidRun/Armada80x0McBin/Armada80x0McBin.dsc
> @@ -27,10 +27,11 @@ [Defines]
>    DEFINE NETWORK_TLS_ENABLE             = FALSE
>    DEFINE NETWORK_HTTP_BOOT_ENABLE       = FALSE
>    DEFINE NETWORK_ISCSI_ENABLE           = FALSE
>
>  !include Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc
> +!include MdePkg/MdeLibs.dsc.inc
>
>  [Components.common]
>    Silicon/Marvell/Armada7k8k/DeviceTree/Armada80x0McBin.inf
>
>  [Components.AARCH64]
> --
> 2.18.0.windows.1
>

^ permalink raw reply	[flat|nested] 43+ messages in thread

* Re: [edk2-devel] [edk2-platforms] [patch V4 20/37] Platform/Marvell: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:11 ` [edk2-platforms] [patch V4 20/37] Platform/Marvell: " Dandan Bi
@ 2021-03-30 13:58   ` Marcin Wojtas
  0 siblings, 0 replies; 43+ messages in thread
From: Marcin Wojtas @ 2021-03-30 13:58 UTC (permalink / raw)
  To: edk2-devel-groups-io, dandan.bi; +Cc: Leif Lindholm

niedz., 28 mar 2021 o 15:12 Dandan Bi <dandan.bi@intel.com> napisał(a):
>
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3246
>
> 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: Marcin Wojtas <mw@semihalf.com>
> Cc: Leif Lindholm <leif@nuviainc.com>
> Signed-off-by: Dandan Bi <dandan.bi@intel.com>

Reviewed-by: Marcin Wojtas <mw@semihalf.com>

Thanks,
Marcin

> ---
> V4:
> New updated to consume the MdeLibs.dsc.inc for RegisterFilterLibNull in all dsc files.
> Rather than consuming MdeLibs.dsc.in Armada7k8k.dsc.inc.
>
> V3:
> Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
> [LibraryClasses] section since we can specify different [LibraryClasses]
> section for libary instances in MdeLibs.dsc.inc.
>
> V2:
> Update Platform dsc to consume the MdeLibs.dsc.inc rather than
> consuming RegisterFilterLibNull instance directly.
> ---
>  Platform/Marvell/Armada70x0Db/Armada70x0Db.dsc | 2 ++
>  Platform/Marvell/Armada80x0Db/Armada80x0Db.dsc | 2 ++
>  Platform/Marvell/Cn913xDb/Cn913xDbA.dsc        | 1 +
>  3 files changed, 5 insertions(+)
>
> diff --git a/Platform/Marvell/Armada70x0Db/Armada70x0Db.dsc b/Platform/Marvell/Armada70x0Db/Armada70x0Db.dsc
> index 0c2c7489f1..5df7498f71 100644
> --- a/Platform/Marvell/Armada70x0Db/Armada70x0Db.dsc
> +++ b/Platform/Marvell/Armada70x0Db/Armada70x0Db.dsc
> @@ -27,10 +27,12 @@ [Defines]
>    DEFINE NETWORK_HTTP_BOOT_ENABLE       = FALSE
>    DEFINE NETWORK_ISCSI_ENABLE           = FALSE
>
>  !include Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc
>
> +!include MdePkg/MdeLibs.dsc.inc
> +
>  [Components.common]
>    Silicon/Marvell/Armada7k8k/DeviceTree/Armada70x0Db.inf
>
>  [Components.AARCH64]
>    Silicon/Marvell/Armada7k8k/AcpiTables/Armada70x0Db.inf
> diff --git a/Platform/Marvell/Armada80x0Db/Armada80x0Db.dsc b/Platform/Marvell/Armada80x0Db/Armada80x0Db.dsc
> index 40aeb62cfa..2698bd6573 100644
> --- a/Platform/Marvell/Armada80x0Db/Armada80x0Db.dsc
> +++ b/Platform/Marvell/Armada80x0Db/Armada80x0Db.dsc
> @@ -27,10 +27,12 @@ [Defines]
>    DEFINE NETWORK_HTTP_BOOT_ENABLE       = FALSE
>    DEFINE NETWORK_ISCSI_ENABLE           = FALSE
>
>  !include Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc
>
> +!include MdePkg/MdeLibs.dsc.inc
> +
>  [Components.common]
>    Silicon/Marvell/Armada7k8k/DeviceTree/Armada80x0Db.inf
>
>  [Components.AARCH64]
>    Silicon/Marvell/Armada7k8k/AcpiTables/Armada80x0Db.inf
> diff --git a/Platform/Marvell/Cn913xDb/Cn913xDbA.dsc b/Platform/Marvell/Cn913xDb/Cn913xDbA.dsc
> index a754c3ea39..67355f3988 100644
> --- a/Platform/Marvell/Cn913xDb/Cn913xDbA.dsc
> +++ b/Platform/Marvell/Cn913xDb/Cn913xDbA.dsc
> @@ -37,10 +37,11 @@ [Defines]
>    DEFINE NETWORK_TLS_ENABLE             = FALSE
>    DEFINE NETWORK_HTTP_BOOT_ENABLE       = FALSE
>    DEFINE NETWORK_ISCSI_ENABLE           = FALSE
>
>  !include Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc
> +!include MdePkg/MdeLibs.dsc.inc
>  !include Platform/Marvell/Cn913xDb/Cn9130DbA.dsc.inc
>  !if $(CN9131) || $(CN9132)
>  !include Platform/Marvell/Cn913xDb/Cn9131DbA.dsc.inc
>  !endif
>  !if $(CN9132)
> --
> 2.18.0.windows.1
>
>
>
> 
>
>

^ permalink raw reply	[flat|nested] 43+ messages in thread

* Re: [edk2-devel] [edk2-platforms] [patch V4 11/37] Platform/ARM: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-28 13:10 ` [edk2-platforms] [patch V4 11/37] Platform/ARM: " Dandan Bi
@ 2021-03-31  2:59   ` Sami Mujawar
  0 siblings, 0 replies; 43+ messages in thread
From: Sami Mujawar @ 2021-03-31  2:59 UTC (permalink / raw)
  To: Dandan Bi, devel

[-- Attachment #1: Type: text/plain, Size: 991 bytes --]

Hi Dandan,

On Sun, Mar 28, 2021 at 06:12 AM, Dandan Bi wrote:

> 
> diff --git a/Platform/ARM/SgiPkg/RdN1EdgeX2/RdN1EdgeX2.dsc
> b/Platform/ARM/SgiPkg/RdN1EdgeX2/RdN1EdgeX2.dsc
> index 5c87a0ca9b..d9dfa7c4ae 100644
> --- a/Platform/ARM/SgiPkg/RdN1EdgeX2/RdN1EdgeX2.dsc
> +++ b/Platform/ARM/SgiPkg/RdN1EdgeX2/RdN1EdgeX2.dsc
> @@ -22,11 +22,14 @@ [Defines]
> BOARD_DXE_FV_COMPONENTS =
> Platform/ARM/SgiPkg/RdN1EdgeX2/RdN1EdgeX2.fdf.inc
> BUILD_NUMBER = 1
> 
> # include common definitions from SgiPlatform.dsc
> !include Platform/ARM/SgiPkg/SgiPlatform.dsc.inc
> -!include Platform/ARM/SgiPkg/SgiMemoryMap.dsc.inc
> +!include Platform/ARM/SgiPkg/SgiMemoryMap.dsc.

The change above is not needed and breaks the build for RdN1EdgeX2 platform. Can you take a look, please?

> 
> +
> +# include common/basic libraries from MdePkg.
> +!include MdePkg/MdeLibs.dsc.inc

With that changed.

Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>

Regards,

Sami Mujawar

[-- Attachment #2: Type: text/html, Size: 1097 bytes --]

^ permalink raw reply	[flat|nested] 43+ messages in thread

end of thread, other threads:[~2021-03-31  2:59 UTC | newest]

Thread overview: 43+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-28 13:10 [edk2-platforms] [patch V4 00/37] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
2021-03-28 13:10 ` [edk2-platforms] [patch V4 01/37] Drivers/ASIX: " Dandan Bi
2021-03-28 13:10 ` [edk2-platforms] [patch V4 02/37] Drivers/DisplayLink: " Dandan Bi
2021-03-28 13:10 ` [edk2-platforms] [patch V4 03/37] Drivers/OptionRomPkg: " Dandan Bi
2021-03-28 13:10 ` [edk2-platforms] [patch V4 04/37] Features/Debugging: " Dandan Bi
2021-03-28 13:10 ` [edk2-platforms] [patch V4 05/37] Features/Network: " Dandan Bi
2021-03-28 13:10 ` [edk2-platforms] [patch V4 06/37] Features/OutOfBandManagement: " Dandan Bi
2021-03-28 13:10 ` [edk2-platforms] [patch V4 07/37] Features/PowerManagement: " Dandan Bi
2021-03-28 13:10 ` [edk2-platforms] [patch V4 08/37] Features/SystemInformation: " Dandan Bi
2021-03-28 13:10 ` [edk2-platforms] [patch V4 09/37] Features/UserInterface: " Dandan Bi
2021-03-28 13:10 ` [edk2-platforms] [patch V4 10/37] Platform/AMD: " Dandan Bi
2021-03-28 13:10 ` [edk2-platforms] [patch V4 11/37] Platform/ARM: " Dandan Bi
2021-03-31  2:59   ` [edk2-devel] " Sami Mujawar
2021-03-28 13:11 ` [edk2-platforms] [patch V4 12/37] Platform/BeagleBoard: " Dandan Bi
2021-03-28 13:11 ` [edk2-platforms] [patch V4 13/37] Platform/Comcast: " Dandan Bi
2021-03-28 13:11 ` [edk2-platforms] [patch V4 14/37] Platform/Hisilicon: " Dandan Bi
2021-03-28 13:11 ` [edk2-platforms] [patch V4 15/37] Platform/BoardModulePkg: " Dandan Bi
2021-03-28 13:11 ` [edk2-platforms] [patch V4 16/37] Platform/MinPlatformPkg: " Dandan Bi
2021-03-28 13:11 ` [edk2-platforms] [patch V4 17/37] Platform/QuarkPlatformPkg: " Dandan Bi
2021-03-28 13:11 ` [edk2-platforms] [patch V4 18/37] Platform/Vlv2TbltDevicePkg: " Dandan Bi
2021-03-28 13:11 ` [edk2-platforms] [patch V4 19/37] Platform/LeMaker: " Dandan Bi
2021-03-28 13:11 ` [edk2-platforms] [patch V4 20/37] Platform/Marvell: " Dandan Bi
2021-03-30 13:58   ` [edk2-devel] " Marcin Wojtas
2021-03-28 13:11 ` [edk2-platforms] [patch V4 21/37] Platform/NXP: " Dandan Bi
2021-03-28 13:11 ` [edk2-platforms] [patch V4 22/37] Platform/Qemu: " Dandan Bi
2021-03-28 13:11 ` [edk2-platforms] [patch V4 23/37] Platform/RaspberryPi: " Dandan Bi
2021-03-28 13:11 ` [edk2-platforms] [patch V4 24/37] Platform/RISC-V: " Dandan Bi
2021-03-28 13:11 ` [edk2-platforms] [patch V4 25/37] Platform/SiFive: " Dandan Bi
2021-03-28 13:11 ` [edk2-platforms] [patch V4 26/37] Platform/Socionext: " Dandan Bi
2021-03-28 13:11 ` [edk2-platforms] [patch V4 27/37] Platform/SoftIron: " Dandan Bi
2021-03-28 13:11 ` [edk2-platforms] [patch V4 28/37] Platform/SolidRun: " Dandan Bi
2021-03-30 13:57   ` Marcin Wojtas
2021-03-28 13:11 ` [edk2-platforms] [patch V4 29/37] Silicon/CoffeelakeSiliconPkg: " Dandan Bi
2021-03-28 13:11 ` [edk2-platforms] [patch V4 30/37] Silicon/IntelSiliconPkg: " Dandan Bi
2021-03-28 13:11 ` [edk2-platforms] [patch V4 31/37] Silicon/KabylakeSiliconPkg: " Dandan Bi
2021-03-28 13:11 ` [edk2-platforms] [patch V4 32/37] Silicon/QuarkSocPkg: " Dandan Bi
2021-03-28 13:11 ` [edk2-platforms] [patch V4 33/37] Silicon/TigerlakeSiliconPkg: " Dandan Bi
2021-03-28 13:11 ` [edk2-platforms] [patch V4 34/37] Silicon/Openmoko: " Dandan Bi
2021-03-28 13:11 ` [edk2-platforms] [patch V4 35/37] Silicon/RISC_V: " Dandan Bi
2021-03-28 13:11 ` [edk2-platforms] [patch V4 36/37] Silicon/Synopsys/DesignWare: " Dandan Bi
2021-03-28 13:11 ` [edk2-platforms] [patch V4 37/37] Silicon/TexasInstruments: " Dandan Bi
2021-03-30  2:01 ` [edk2-devel] [edk2-platforms] [patch V4 00/37] " Michael D Kinney
2021-03-30 13:53   ` Dandan Bi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox