PlatformPkgConfig.dsc 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. gMinPlatformPkgTokenSpaceGuid.PcdStopAfterDebugInit|FALSE
  15. gMinPlatformPkgTokenSpaceGuid.PcdStopAfterMemInit|FALSE
  16. gMinPlatformPkgTokenSpaceGuid.PcdBootToShellOnly|FALSE
  17. gMinPlatformPkgTokenSpaceGuid.PcdUefiSecureBootEnable|FALSE
  18. gMinPlatformPkgTokenSpaceGuid.PcdTpm2Enable|FALSE
  19. !if gMinPlatformPkgTokenSpaceGuid.PcdBootStage >= 1
  20. gMinPlatformPkgTokenSpaceGuid.PcdStopAfterDebugInit|TRUE
  21. !endif
  22. !if gMinPlatformPkgTokenSpaceGuid.PcdBootStage >= 2
  23. gMinPlatformPkgTokenSpaceGuid.PcdStopAfterDebugInit|FALSE
  24. gMinPlatformPkgTokenSpaceGuid.PcdStopAfterMemInit|TRUE
  25. !endif
  26. !if gMinPlatformPkgTokenSpaceGuid.PcdBootStage >= 3
  27. gMinPlatformPkgTokenSpaceGuid.PcdStopAfterMemInit|FALSE
  28. gMinPlatformPkgTokenSpaceGuid.PcdBootToShellOnly|TRUE
  29. !endif
  30. !if gMinPlatformPkgTokenSpaceGuid.PcdBootStage >= 4
  31. gMinPlatformPkgTokenSpaceGuid.PcdBootToShellOnly|FALSE
  32. !endif
  33. !if gMinPlatformPkgTokenSpaceGuid.PcdBootStage >= 5
  34. gMinPlatformPkgTokenSpaceGuid.PcdUefiSecureBootEnable|TRUE
  35. gMinPlatformPkgTokenSpaceGuid.PcdTpm2Enable|TRUE
  36. !endif
  37. !if $(TARGET) == DEBUG
  38. gMinPlatformPkgTokenSpaceGuid.PcdSmiHandlerProfileEnable|TRUE
  39. !else
  40. gMinPlatformPkgTokenSpaceGuid.PcdSmiHandlerProfileEnable|FALSE
  41. !endif
  42. gMinPlatformPkgTokenSpaceGuid.PcdPerformanceEnable|TRUE
  43. gPlatformTokenSpaceGuid.PcdLinuxBootEnable|FALSE
  44. !if gPlatformTokenSpaceGuid.PcdLinuxBootEnable == TRUE
  45. gPlatformTokenSpaceGuid.PcdFastBoot|TRUE
  46. !else
  47. gPlatformTokenSpaceGuid.PcdFastBoot|FALSE
  48. !endif
  49. !if gPlatformTokenSpaceGuid.PcdFastBoot == TRUE
  50. gIpmiFeaturePkgTokenSpaceGuid.PcdIpmiFeatureEnable|FALSE
  51. gPlatformTokenSpaceGuid.PcdUpdateConsoleInBds|FALSE
  52. !endif