PlatformPkg.dsc 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. ## @file
  2. # X64 Platform with 64-bit DXE.
  3. #
  4. # @copyright
  5. # Copyright 2008 - 2021 Intel Corporation. <BR>
  6. # Copyright (c) 2021 - 2022, American Megatrends International LLC. <BR>
  7. #
  8. # SPDX-License-Identifier: BSD-2-Clause-Patent
  9. ##
  10. ################################################################################
  11. #
  12. # Defines Section - statements that will be processed to create a Makefile.
  13. #
  14. ################################################################################
  15. [Defines]
  16. PEI_ARCH = IA32
  17. DXE_ARCH = X64
  18. !include WhitleyOpenBoardPkg/PlatformPkg.dsc
  19. [PcdsFixedAtBuild]
  20. gMinPlatformPkgTokenSpaceGuid.PcdBootStage|6
  21. [PcdsFeatureFlag]
  22. !if $(gMinPlatformPkgTokenSpaceGuid.PcdBootStage) >= 5
  23. gIpmiFeaturePkgTokenSpaceGuid.PcdIpmiFeatureEnable |TRUE
  24. gNetworkFeaturePkgTokenSpaceGuid.PcdNetworkFeatureEnable |TRUE
  25. !else
  26. gIpmiFeaturePkgTokenSpaceGuid.PcdIpmiFeatureEnable |FALSE
  27. gNetworkFeaturePkgTokenSpaceGuid.PcdNetworkFeatureEnable |FALSE
  28. !endif
  29. !include AdvancedFeaturePkg/Include/AdvancedFeatures.dsc
  30. [Defines]
  31. BOARD_NAME = JunctionCity
  32. PLATFORM_NAME = $(BOARD_NAME)
  33. PLATFORM_GUID = F5798629-30B2-42EC-A1CA-825FEAA8A22A
  34. FLASH_DEFINITION = $(RP_PKG)/$(BOARD_NAME)/PlatformPkg.fdf
  35. [PcdsFixedAtBuild]
  36. !if $(TARGET) == "RELEASE"
  37. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0
  38. gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x03
  39. gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
  40. !else
  41. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F # Enable asserts, prints, code, clear memory, and deadloops on asserts.
  42. gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
  43. gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE
  44. gEfiMdePkgTokenSpaceGuid.PcdFixedDebugPrintErrorLevel|0x80200047 # Built in messages: Error, MTRR, info, load, warn, init
  45. gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2 # This is set to INT3 (0x2) for Simics source level debugging
  46. !endif
  47. gPlatformTokenSpaceGuid.PcdBoardId|0x25
  48. [PcdsFixedAtBuild.X64]
  49. gPcAtChipsetPkgTokenSpaceGuid.PcdMinimalValidYear|1900
  50. gPcAtChipsetPkgTokenSpaceGuid.PcdMaximalValidYear|9999
  51. [PcdsDynamicExHii]
  52. gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|5 # Variable: L"Timeout"
  53. [LibraryClasses.Common.PEI_CORE, LibraryClasses.Common.PEIM]
  54. PeiPlatformHookLib|$(RP_PKG)/$(BOARD_NAME)/Library/PeiPlatformHookLib/PeiPlatformHooklib.inf
  55. !if gIpmiFeaturePkgTokenSpaceGuid.PcdIpmiFeatureEnable == TRUE
  56. IpmiPlatformHookLib| $(RP_PKG)/$(BOARD_NAME)/Library/IpmiPlatformHookLib/IpmiPlatformHookLib.inf
  57. !endif
  58. [Components.IA32]
  59. $(RP_PKG)/Uba/BoardInit/Pei/BoardInitPei.inf {
  60. <LibraryClasses>
  61. NULL|$(RP_PKG)/$(BOARD_NAME)/Uba/TypeJunctionCity/Pei/PeiBoardInitLib.inf
  62. NULL|$(RP_PKG)/Uba/UbaMain/Common/Pei/PeiCommonBoardInitLib.inf
  63. }
  64. [Components.X64]
  65. $(RP_PKG)/$(BOARD_NAME)/Uba/TypeJunctionCity/Dxe/UsbOcUpdateDxe/UsbOcUpdateDxe.inf
  66. $(RP_PKG)/$(BOARD_NAME)/Uba/TypeJunctionCity/Dxe/IioCfgUpdateDxe/IioCfgUpdateDxe.inf
  67. $(RP_PKG)/$(BOARD_NAME)/Uba/TypeJunctionCity/Dxe/SlotDataUpdateDxe/SlotDataUpdateDxe.inf
  68. MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf