PlatformPkgConfig.dsc 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. ## @file
  2. #
  3. # Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>
  4. # Copyright (c) 2021, American Megatrends International LLC.<BR>
  5. # SPDX-License-Identifier: BSD-2-Clause-Patent
  6. #
  7. ##
  8. #
  9. # TRUE is ENABLE. FALSE is DISABLE.
  10. #
  11. [PcdsFixedAtBuild]
  12. gMinPlatformPkgTokenSpaceGuid.PcdBootStage|4
  13. [PcdsFeatureFlag]
  14. #
  15. # MinPlatform common include for required feature PCD
  16. # These PCD must be set before the core include files, CoreCommonLib,
  17. # CorePeiLib, and CoreDxeLib.
  18. # Optional MinPlatformPkg features should be enabled after this
  19. #
  20. !include MinPlatformPkg/Include/Dsc/MinPlatformFeaturesPcd.dsc.inc
  21. #
  22. # Commonly used MinPlatform feature configuration logic that maps functionity to stage
  23. #
  24. !include BoardModulePkg/Include/Dsc/CommonStageConfig.dsc.inc
  25. gMinPlatformPkgTokenSpaceGuid.PcdPerformanceEnable|TRUE
  26. gPlatformTokenSpaceGuid.PcdLinuxBootEnable|FALSE
  27. !if gPlatformTokenSpaceGuid.PcdLinuxBootEnable == TRUE
  28. gPlatformTokenSpaceGuid.PcdFastBoot|TRUE
  29. !else
  30. gPlatformTokenSpaceGuid.PcdFastBoot|FALSE
  31. !endif
  32. !if gPlatformTokenSpaceGuid.PcdFastBoot == TRUE
  33. gIpmiFeaturePkgTokenSpaceGuid.PcdIpmiFeatureEnable|FALSE
  34. gPlatformTokenSpaceGuid.PcdUpdateConsoleInBds|FALSE
  35. !endif