public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel][edk2-platforms][PATCH V1 00/13] Simplify board porting
@ 2022-07-22 18:46 Oram, Isaac W
  2022-07-22 18:46 ` [edk2-devel][edk2-platforms][PATCH V1 01/13] MinPlatformPkg/Include: Simplify board creation Oram, Isaac W
                   ` (13 more replies)
  0 siblings, 14 replies; 16+ messages in thread
From: Oram, Isaac W @ 2022-07-22 18:46 UTC (permalink / raw)
  To: devel
  Cc: Isaac Oram, Chasel Chiu, Nate DeSimone, Liming Gao, Eric Dong,
	Sai Chaganty, Heng Luo, Deepika Kethi Reddy,
	Kathappan Esakkithevar

These changes simplify the logic for board porting by creating common include files for initializing PCD and for
some stage specific logic commonly implemented.
Removes the PERFORMANCE_ENABLE flag and rely on the gMinPlatformPkgTokenSpaceGuid.PcdPerformanceEnable only.
Simplifies the WhitleyOpenBoardPkg performance monitoring infrastructure.
Removes gMinPlatformPkgTokenSpaceGuid.PcdSmiHandlerProfileEnable and disable handler profiling on RELEASE builds.

The net result is removal of unnecessary or duplicate options and the reduction in duplicate code with increases
in comments.

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>
Cc: Sai Chaganty <rangasai.v.chaganty@intel.com>
Cc: Heng Luo <heng.luo@intel.com>
Cc: Deepika Kethi Reddy <deepika.kethi.reddy@intel.com>
Cc: Kathappan Esakkithevar <kathappan.esakkithevar@intel.com>

Isaac Oram (13):
  MinPlatformPkg/Include: Simplify board creation
  WhitleyOpenBoardPkg/Build: Reduce duplicate code
  Features/Intel: Reduce duplicate code
  WhitleyOpenBoardPkg/Build: Reduce unnecessary code
  MinPlatformPkg/Include: Simplify build logic
  BoardModulePkg/Include: Add include for stage behavior logic
  WhiskeyLakeOpenBoardPkg/Build: Reduce unnecessary code
  TigerLakeOpenBoardPkg/Build: Reduce unnecessary code
  SimicsOpenBoardPkg/Build: Reduce unnecessary code
  PurleyOpenBoardPkg/Build: Reduce unnecessary code
  KabylakeOpenBoardPkg/Build: Reduce unnecessary code
  CometlakeOpenBoardPkg/Build: Reduce unnecessary code
  MinPlatformPkg: Remove unnecessary feature controls

 .../AdvancedFeaturePkg/AdvancedFeaturePkg.dsc | 13 ++--
 .../AcpiDebugFeaturePkg.dsc                   | 12 ++--
 .../BeepDebugFeaturePkg.dsc                   | 15 ++--
 .../PostCodeDebugFeaturePkg.dsc               | 15 ++--
 .../NetworkFeaturePkg/NetworkFeaturePkg.dsc   | 13 ++--
 .../IpmiFeaturePkg/IpmiFeaturePkg.dsc         | 13 ++--
 .../SpcrFeaturePkg/SpcrFeaturePkg.dsc         | 13 ++--
 .../S3FeaturePkg/S3FeaturePkg.dsc             | 13 ++--
 .../SmbiosFeaturePkg/SmbiosFeaturePkg.dsc     | 13 ++--
 .../TemplateFeaturePkg/TemplateFeaturePkg.dsc | 13 ++--
 .../LogoFeaturePkg/LogoFeaturePkg.dsc         | 12 ++--
 .../UserAuthFeaturePkg/UserAuthFeaturePkg.dsc | 13 ++--
 .../VirtualKeyboardFeaturePkg.dsc             | 13 ++--
 .../Include/Dsc/CommonStageConfig.dsc.inc     | 37 ++++++++++
 .../CometlakeURvp/OpenBoardPkgPcd.dsc         | 51 ++++---------
 .../AspireVn7Dash572G/OpenBoardPkgPcd.dsc     | 52 ++++----------
 .../GalagoPro3/OpenBoardPkgPcd.dsc            | 51 ++++---------
 .../KabylakeRvp3/OpenBoardPkgPcd.dsc          | 51 ++++---------
 .../Include/Dsc/CoreCommonLib.dsc             |  6 +-
 .../Include/Dsc/CoreDxeInclude.dsc            | 23 +++---
 .../Dsc/MinPlatformFeaturesPcd.dsc.inc        | 25 +++++++
 .../Intel/MinPlatformPkg/MinPlatformPkg.dec   |  1 -
 .../Intel/MinPlatformPkg/MinPlatformPkg.dsc   | 14 ++--
 .../BoardMtOlympus/PlatformPkgConfig.dsc      | 46 ++++--------
 .../BoardMtOlympus/PlatformPkgPcd.dsc         | 52 ++++----------
 .../BoardTiogaPass/PlatformPkgConfig.dsc      | 48 ++++---------
 .../BoardTiogaPass/PlatformPkgPcd.dsc         | 52 ++++----------
 .../BoardX58Ich10/OpenBoardPkgPcd.dsc         | 51 ++++---------
 .../TigerlakeURvp/OpenBoardPkgPcd.dsc         | 52 ++++----------
 .../UpXtreme/OpenBoardPkgPcd.dsc              | 51 ++++---------
 .../WhiskeylakeURvp/OpenBoardPkgPcd.dsc       | 51 ++++---------
 .../Aowanda/PlatformPkg.dsc                   |  3 -
 .../BoardPortTemplate/PlatformPkg.dsc         | 50 +++++++++++++
 ...blePerformanceMonitoringInfrastructure.dsc |  5 +-
 ...anceMonitoringInfrastructurePostMemory.fdf |  5 +-
 ...manceMonitoringInfrastructurePreMemory.fdf |  2 +-
 .../JunctionCity/PlatformPkg.dsc              |  3 -
 .../Intel/WhitleyOpenBoardPkg/PlatformPkg.dsc | 72 ++++++-------------
 .../WhitleyOpenBoardPkg/PlatformPkgConfig.dsc |  2 -
 39 files changed, 382 insertions(+), 645 deletions(-)
 create mode 100644 Platform/Intel/BoardModulePkg/Include/Dsc/CommonStageConfig.dsc.inc
 create mode 100644 Platform/Intel/MinPlatformPkg/Include/Dsc/MinPlatformFeaturesPcd.dsc.inc

--
2.36.1.windows.1

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

end of thread, other threads:[~2022-09-01  1:48 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-22 18:46 [edk2-devel][edk2-platforms][PATCH V1 00/13] Simplify board porting Oram, Isaac W
2022-07-22 18:46 ` [edk2-devel][edk2-platforms][PATCH V1 01/13] MinPlatformPkg/Include: Simplify board creation Oram, Isaac W
2022-07-22 18:46 ` [edk2-devel][edk2-platforms][PATCH V1 02/13] WhitleyOpenBoardPkg/Build: Reduce duplicate code Oram, Isaac W
2022-07-22 18:46 ` [edk2-devel][edk2-platforms][PATCH V1 03/13] Features/Intel: " Oram, Isaac W
2022-07-22 18:46 ` [edk2-devel][edk2-platforms][PATCH V1 04/13] WhitleyOpenBoardPkg/Build: Reduce unnecessary code Oram, Isaac W
2022-07-22 18:46 ` [edk2-devel][edk2-platforms][PATCH V1 05/13] MinPlatformPkg/Include: Simplify build logic Oram, Isaac W
2022-07-22 18:46 ` [edk2-devel][edk2-platforms][PATCH V1 06/13] BoardModulePkg/Include: Add include for stage behavior logic Oram, Isaac W
2022-07-22 18:46 ` [edk2-devel][edk2-platforms][PATCH V1 07/13] WhiskeyLakeOpenBoardPkg/Build: Reduce unnecessary code Oram, Isaac W
2022-07-22 18:46 ` [edk2-devel][edk2-platforms][PATCH V1 08/13] TigerLakeOpenBoardPkg/Build: " Oram, Isaac W
2022-07-22 18:46 ` [edk2-devel][edk2-platforms][PATCH V1 09/13] SimicsOpenBoardPkg/Build: " Oram, Isaac W
2022-07-22 18:46 ` [edk2-devel][edk2-platforms][PATCH V1 10/13] PurleyOpenBoardPkg/Build: " Oram, Isaac W
2022-07-22 18:46 ` [edk2-devel][edk2-platforms][PATCH V1 11/13] KabylakeOpenBoardPkg/Build: " Oram, Isaac W
2022-07-22 18:46 ` [edk2-devel][edk2-platforms][PATCH V1 12/13] CometlakeOpenBoardPkg/Build: " Oram, Isaac W
2022-07-22 18:46 ` [edk2-devel][edk2-platforms][PATCH V1 13/13] MinPlatformPkg: Remove unnecessary feature controls Oram, Isaac W
2022-09-01  0:55 ` [edk2-devel][edk2-platforms][PATCH V1 00/13] Simplify board porting Nate DeSimone
2022-09-01  1:48   ` Isaac Oram

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