DeveloperBox.dsc 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572
  1. #
  2. # Copyright (c) 2013-2014, ARM Limited. All rights reserved.
  3. # Copyright (c) 2017, Linaro Limited. All rights reserved.
  4. #
  5. # SPDX-License-Identifier: BSD-2-Clause-Patent
  6. #
  7. ################################################################################
  8. #
  9. # Defines Section - statements that will be processed to create a Makefile.
  10. #
  11. ################################################################################
  12. [Defines]
  13. PLATFORM_NAME = DeveloperBox
  14. PLATFORM_GUID = d32612b4-e1c5-431f-823a-fa1aa7b9deb7
  15. PLATFORM_VERSION = 0.1
  16. DSC_SPECIFICATION = 0x0001001B
  17. OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME)
  18. SUPPORTED_ARCHITECTURES = AARCH64|ARM
  19. BUILD_TARGETS = DEBUG|RELEASE
  20. SKUID_IDENTIFIER = DEFAULT
  21. FLASH_DEFINITION = Platform/Socionext/DeveloperBox/DeveloperBox.fdf
  22. BUILD_NUMBER = 1
  23. DEFINE DEBUG_ON_UART1 = FALSE
  24. DEFINE SECURE_BOOT_ENABLE = FALSE
  25. DEFINE TPM2_ENABLE = FALSE
  26. DEFINE X64EMU_ENABLE = FALSE
  27. !include Platform/Socionext/DeveloperBox/DeveloperBox.dsc.inc
  28. !include MdePkg/MdeLibs.dsc.inc
  29. [LibraryClasses]
  30. !if $(DEBUG_ON_UART1) == FALSE
  31. SerialPortLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf
  32. !else
  33. SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
  34. PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
  35. PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
  36. PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
  37. !endif
  38. !if $(TPM2_ENABLE) == TRUE
  39. Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
  40. Tcg2PhysicalPresenceLib|SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/DxeTcg2PhysicalPresenceLib.inf
  41. Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf
  42. TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
  43. !else
  44. Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf
  45. TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
  46. !endif
  47. MmUnblockMemoryLib|MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf
  48. !if $(SECURE_BOOT_ENABLE) == TRUE
  49. SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
  50. SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
  51. PlatformPKProtectionLib|SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.inf
  52. !endif
  53. [LibraryClasses.common.SEC]
  54. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  55. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  56. PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
  57. ArmGicArchLib|ArmPkg/Library/ArmGicArchSecLib/ArmGicArchSecLib.inf
  58. [LibraryClasses.common.PEI_CORE, LibraryClasses.common.PEIM]
  59. PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
  60. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  61. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  62. PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
  63. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  64. ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
  65. PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
  66. [LibraryClasses.common.PEI_CORE]
  67. PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
  68. [LibraryClasses.common.PEIM]
  69. PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
  70. MemoryInitPeiLib|Silicon/Socionext/SynQuacer/Library/SynQuacerMemoryInitPeiLib/SynQuacerMemoryInitPeiLib.inf
  71. PlatformPeiLib|Silicon/Socionext/SynQuacer/Library/SynQuacerPlatformPeiLib/SynQuacerPlatformPeiLib.inf
  72. ResetSystemLib|MdeModulePkg/Library/PeiResetSystemLib/PeiResetSystemLib.inf
  73. !if $(TPM2_ENABLE) == TRUE
  74. Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
  75. Tpm12CommandLib|SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf
  76. Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
  77. Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
  78. Tcg2PhysicalPresenceLib|SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/DxeTcg2PhysicalPresenceLib.inf
  79. Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf
  80. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
  81. !endif
  82. [LibraryClasses.common.DXE_CORE]
  83. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  84. HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
  85. MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
  86. DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
  87. ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
  88. PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
  89. [LibraryClasses.common.DXE_DRIVER]
  90. DtPlatformDtbLoaderLib|Silicon/Socionext/SynQuacer/Library/SynQuacerDtbLoaderLib/SynQuacerDtbLoaderLib.inf
  91. FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
  92. SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
  93. PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
  94. #
  95. # Firmware update
  96. #
  97. CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.inf
  98. DisplayUpdateProgressLib|MdeModulePkg/Library/DisplayUpdateProgressLibGraphics/DisplayUpdateProgressLibGraphics.inf
  99. EdkiiSystemCapsuleLib|SignedCapsulePkg/Library/EdkiiSystemCapsuleLib/EdkiiSystemCapsuleLib.inf
  100. FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf
  101. PlatformFlashAccessLib|Silicon/Socionext/SynQuacer/Library/SynQuacerPlatformFlashAccessLib/SynQuacerPlatformFlashAccessLib.inf
  102. IniParsingLib|SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.inf
  103. #
  104. # PCI
  105. #
  106. PciSegmentLib|Silicon/Socionext/SynQuacer/Library/SynQuacerPciSegmentLib/SynQuacerPciSegmentLib.inf
  107. PciHostBridgeLib|Silicon/Socionext/SynQuacer/Library/SynQuacerPciHostBridgeLib/SynQuacerPciHostBridgeLib.inf
  108. NonDiscoverableDeviceRegistrationLib|MdeModulePkg/Library/NonDiscoverableDeviceRegistrationLib/NonDiscoverableDeviceRegistrationLib.inf
  109. !if $(TPM2_ENABLE) == TRUE
  110. Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
  111. !endif
  112. [LibraryClasses.common.UEFI_APPLICATION]
  113. PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
  114. HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
  115. # UiApp dependencies
  116. FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
  117. DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
  118. ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
  119. ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
  120. ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
  121. UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
  122. HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
  123. OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
  124. PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
  125. [LibraryClasses.common.DXE_RUNTIME_DRIVER]
  126. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  127. CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf
  128. ResetSystemLib|ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.inf
  129. TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf
  130. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  131. !if $(TARGET) != RELEASE
  132. DebugLib|MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf
  133. !endif
  134. [LibraryClasses.ARM]
  135. ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
  136. ################################################################################
  137. #
  138. # Pcd Section - list of all EDK II PCD Entries defined by this Platform
  139. #
  140. ################################################################################
  141. [PcdsFixedAtBuild]
  142. #
  143. # NETSEC Info
  144. #
  145. gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE
  146. gNetsecDxeTokenSpaceGuid.PcdEncTxDescNum|128
  147. gNetsecDxeTokenSpaceGuid.PcdDecRxDescNum|128
  148. gNetsecDxeTokenSpaceGuid.PcdJumboPacket|0
  149. gNetsecDxeTokenSpaceGuid.PcdFlowCtrl|0
  150. gNetsecDxeTokenSpaceGuid.PcdFlowCtrlStartThreshold|36
  151. gNetsecDxeTokenSpaceGuid.PcdFlowCtrlStopThreshold|48
  152. gNetsecDxeTokenSpaceGuid.PcdPauseTime|256
  153. gSynQuacerTokenSpaceGuid.PcdNetsecEepromBase|0x08080000
  154. gSynQuacerTokenSpaceGuid.PcdNetsecPhyAddress|7
  155. # set DIP switch DSW3-PIN1 (GPIO pin PD[0] on the SoC) to clear the varstore
  156. gSynQuacerTokenSpaceGuid.PcdClearSettingsGpioPin|0
  157. gSynQuacerTokenSpaceGuid.PcdDramInfoBase|0x2E00FFC0
  158. # SCP-firmware stored SPD DDR4 data in non-secure SRAM
  159. gSynQuacerTokenSpaceGuid.PcdStoredSpdDDR4Address|0x2E00F000
  160. #
  161. # 96boards mezzanine support
  162. #
  163. g96BoardsTokenSpaceGuid.PcdI2c0Parent|"/i2c@51210000"
  164. g96BoardsTokenSpaceGuid.PcdI2c0BusFrequencyHz|100000
  165. g96BoardsTokenSpaceGuid.PcdSpiParent|"/spi@54810000"
  166. g96BoardsTokenSpaceGuid.PcdGpioParent|"/gpio@51000000"
  167. g96BoardsTokenSpaceGuid.PcdGpioPolarity|0
  168. g96BoardsTokenSpaceGuid.PcdGpioPinA|10
  169. g96BoardsTokenSpaceGuid.PcdGpioPinB|11
  170. g96BoardsTokenSpaceGuid.PcdGpioPinC|12
  171. g96BoardsTokenSpaceGuid.PcdGpioPinD|13
  172. g96BoardsTokenSpaceGuid.PcdGpioPinE|18
  173. g96BoardsTokenSpaceGuid.PcdGpioPinF|19
  174. g96BoardsTokenSpaceGuid.PcdGpioPinG|20
  175. g96BoardsTokenSpaceGuid.PcdGpioPinH|21
  176. g96BoardsTokenSpaceGuid.PcdGpioPinI|22
  177. g96BoardsTokenSpaceGuid.PcdGpioPinJ|23
  178. g96BoardsTokenSpaceGuid.PcdGpioPinK|24
  179. g96BoardsTokenSpaceGuid.PcdGpioPinL|25
  180. !if $(DEBUG_ON_UART1) == FALSE
  181. gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x2a400000
  182. !else
  183. gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x51040000
  184. !endif
  185. gArmTokenSpaceGuid.PcdMmBufferBase|0xFFC00000
  186. gArmTokenSpaceGuid.PcdMmBufferSize|0x00200000
  187. gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
  188. gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
  189. gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
  190. !if $(TPM2_ENABLE) == TRUE
  191. gEfiSecurityPkgTokenSpaceGuid.PcdTpmBaseAddress|0x10000000
  192. !endif
  193. [PcdsDynamicExDefault.common.DEFAULT]
  194. gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiSystemFirmwareImageDescriptor|{0x0}|VOID*|0x100
  195. gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiSystemFirmwareFileGuid|{0xf7, 0x89, 0x9b, 0xe9, 0x20, 0xc1, 0x25, 0x4b, 0x4d, 0xb1, 0x83, 0x94, 0xed, 0xb0, 0xb4, 0xf5}
  196. !if $(TPM2_ENABLE) == TRUE
  197. gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
  198. gEfiSecurityPkgTokenSpaceGuid.PcdTpm2InitializationPolicy|1
  199. gEfiSecurityPkgTokenSpaceGuid.PcdTpm2SelfTestPolicy|1
  200. gEfiSecurityPkgTokenSpaceGuid.PcdTpm2ScrtmPolicy|1
  201. gEfiSecurityPkgTokenSpaceGuid.PcdTpmInitializationPolicy|1
  202. gEfiSecurityPkgTokenSpaceGuid.PcdTpmScrtmPolicy|1
  203. gEfiSecurityPkgTokenSpaceGuid.PcdTpm2HashMask|3
  204. gEfiSecurityPkgTokenSpaceGuid.PcdTcg2HashAlgorithmBitmap|3
  205. !endif
  206. [PcdsDynamicHii]
  207. gSynQuacerTokenSpaceGuid.PcdPlatformSettings|L"SynQuacerPlatformSettings"|gSynQuacerPlatformFormSetGuid|0x0|0x0|NV,BS
  208. !if $(TPM2_ENABLE) == TRUE
  209. gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x0|"1.3"|NV,BS
  210. gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x8|3|NV,BS
  211. !endif
  212. ################################################################################
  213. #
  214. # Components Section - list of all EDK II Modules needed by this Platform
  215. #
  216. ################################################################################
  217. [Components.common]
  218. #
  219. # PEI Phase modules
  220. #
  221. ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf
  222. MdeModulePkg/Core/Pei/PeiMain.inf
  223. MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
  224. <LibraryClasses>
  225. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  226. }
  227. ArmPlatformPkg/PlatformPei/PlatformPeim.inf
  228. ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf
  229. ArmPkg/Drivers/CpuPei/CpuPei.inf
  230. MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
  231. MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
  232. MdeModulePkg/Universal/CapsulePei/CapsulePei.inf
  233. Silicon/Socionext/SynQuacer/Drivers/SynQuacerGpioPei/SynQuacerGpioPei.inf
  234. MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
  235. <LibraryClasses>
  236. NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
  237. }
  238. !if $(TPM2_ENABLE) == TRUE
  239. MdeModulePkg/Universal/ResetSystemPei/ResetSystemPei.inf {
  240. <LibraryClasses>
  241. ResetSystemLib|ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.inf
  242. }
  243. SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf
  244. SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {
  245. <LibraryClasses>
  246. HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
  247. NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
  248. NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
  249. NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
  250. NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
  251. NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
  252. <PcdsFixedAtBuild>
  253. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8048004F
  254. }
  255. SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf {
  256. <PcdsFixedAtBuild>
  257. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8048004F
  258. }
  259. !endif
  260. #
  261. # DXE
  262. #
  263. MdeModulePkg/Core/Dxe/DxeMain.inf {
  264. <LibraryClasses>
  265. NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
  266. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  267. <PcdsFixedAtBuild>
  268. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F
  269. }
  270. #
  271. # Architectural Protocols
  272. #
  273. ArmPkg/Drivers/CpuDxe/CpuDxe.inf
  274. ArmPkg/Drivers/ArmGic/ArmGicDxe.inf
  275. EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
  276. MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
  277. EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf {
  278. <LibraryClasses>
  279. RealTimeClockLib|Silicon/NXP/Library/Pcf8563RealTimeClockLib/Pcf8563RealTimeClockLib.inf
  280. }
  281. MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
  282. MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
  283. MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
  284. <LibraryClasses>
  285. !if $(SECURE_BOOT_ENABLE) == TRUE
  286. NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
  287. !endif
  288. !if $(TPM2_ENABLE) == TRUE
  289. NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
  290. !endif
  291. }
  292. ArmPkg/Drivers/TimerDxe/TimerDxe.inf
  293. ArmPkg/Drivers/GenericWatchdogDxe/GenericWatchdogDxe.inf
  294. MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
  295. MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
  296. <LibraryClasses>
  297. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  298. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  299. }
  300. MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
  301. MdeModulePkg/Universal/SerialDxe/SerialDxe.inf {
  302. !if $(DEBUG_ON_UART1) == TRUE
  303. <PcdsFixedAtBuild>
  304. gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x2a400000
  305. <LibraryClasses>
  306. SerialPortLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf
  307. # suppress debug output from SerialDxe itself which would go to the PL011
  308. DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
  309. !endif
  310. }
  311. MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
  312. MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
  313. MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
  314. MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
  315. Platform/Socionext/DeveloperBox/Logo/LogoDxe.inf
  316. MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
  317. <LibraryClasses>
  318. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  319. }
  320. #
  321. # Variable services
  322. #
  323. Silicon/Socionext/SynQuacer/Drivers/Fip006Dxe/Fip006Dxe.inf
  324. !if $(SECURE_BOOT_ENABLE) == FALSE
  325. MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
  326. MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
  327. <LibraryClasses>
  328. NULL|EmbeddedPkg/Library/NvVarStoreFormattedLib/NvVarStoreFormattedLib.inf
  329. AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
  330. NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
  331. TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
  332. VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
  333. }
  334. !else
  335. ArmPkg/Drivers/MmCommunicationDxe/MmCommunication.inf {
  336. <LibraryClasses>
  337. NULL|StandaloneMmPkg/Library/VariableMmDependency/VariableMmDependency.inf
  338. }
  339. MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
  340. SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
  341. !endif
  342. !if $(TPM2_ENABLE) == TRUE
  343. SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {
  344. <LibraryClasses>
  345. Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf
  346. NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
  347. HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
  348. NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
  349. NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
  350. NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
  351. NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
  352. NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
  353. <PcdsFixedAtBuild>
  354. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8048004F
  355. }
  356. !endif
  357. #
  358. # UEFI application (Shell Embedded Boot Loader)
  359. #
  360. ShellPkg/Application/Shell/Shell.inf {
  361. <LibraryClasses>
  362. ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
  363. NULL|ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.inf
  364. NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
  365. NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
  366. NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
  367. NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
  368. NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
  369. NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
  370. NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
  371. HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
  372. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  373. BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
  374. ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
  375. <PcdsFixedAtBuild>
  376. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
  377. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  378. }
  379. #
  380. # Generic BDS
  381. #
  382. MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
  383. MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
  384. MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
  385. MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
  386. MdeModulePkg/Application/UiApp/UiApp.inf {
  387. <LibraryClasses>
  388. NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
  389. NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
  390. NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
  391. }
  392. #
  393. # PCI
  394. #
  395. Silicon/Socionext/SynQuacer/Drivers/SynQuacerPciCpuIo2Dxe/SynQuacerPciCpuIo2Dxe.inf
  396. MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
  397. !if $(TARGET) != RELEASE
  398. <PcdsFixedAtBuild>
  399. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8010004F
  400. !endif
  401. }
  402. MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
  403. MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
  404. MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
  405. Silicon/Socionext/SynQuacer/Stage2Tables/Stage2Tables.inf
  406. MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
  407. #
  408. # eMMC support
  409. #
  410. MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/NonDiscoverablePciDeviceDxe.inf
  411. MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.inf
  412. MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.inf
  413. #
  414. # AHCI Support
  415. #
  416. MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf
  417. MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
  418. MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
  419. MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
  420. MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
  421. #
  422. # USB
  423. #
  424. MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
  425. MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
  426. MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
  427. MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
  428. MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
  429. MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
  430. #
  431. # FAT filesystem + GPT/MBR partitioning
  432. #
  433. MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
  434. MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
  435. MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
  436. FatPkg/EnhancedFatDxe/Fat.inf
  437. MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
  438. #
  439. # RNG
  440. #
  441. Silicon/Socionext/SynQuacer/Drivers/OpteeRngDxe/OpteeRngDxe.inf
  442. Silicon/Openmoko/ChaosKeyDxe/ChaosKeyDxe.inf
  443. #
  444. # Platform driver
  445. #
  446. Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/PlatformDxe.inf
  447. #
  448. # Networking stack
  449. #
  450. !include NetworkPkg/Network.dsc.inc
  451. Silicon/Socionext/SynQuacer/Drivers/Net/NetsecDxe/NetsecDxe.inf {
  452. <LibraryClasses>
  453. DmaLib|EmbeddedPkg/Library/CoherentDmaLib/CoherentDmaLib.inf
  454. }
  455. #
  456. # Console preference selection
  457. #
  458. EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefDxe.inf
  459. #
  460. # DT support
  461. #
  462. Silicon/Socionext/SynQuacer/DeviceTree/DeveloperBox.inf {
  463. <BuildOptions>
  464. !if $(TPM2_ENABLE) == TRUE
  465. *_*_*_DTCPP_FLAGS = -D TPM2_ENABLE
  466. !endif
  467. }
  468. #
  469. # Firmware update
  470. #
  471. Platform/Socionext/DeveloperBox/SystemFirmwareDescriptor/SystemFirmwareDescriptor.inf
  472. MdeModulePkg/Universal/EsrtDxe/EsrtDxe.inf
  473. SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareReportDxe.inf
  474. SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareUpdateDxe.inf
  475. #
  476. # 96board mezzanine support
  477. #
  478. Platform/96Boards/Secure96Dxe/Secure96Dxe.inf
  479. Silicon/Atmel/AtSha204a/AtSha204aDxe.inf
  480. Platform/96Boards/96BoardsI2cDxe/96BoardsI2cDxe.inf
  481. Platform/96Boards/LsConnectorDxe/LsConnectorDxe.inf
  482. #
  483. # I2C
  484. #
  485. Silicon/Socionext/SynQuacer/Drivers/SynQuacerI2cDxe/SynQuacerI2cDxe.inf
  486. MdeModulePkg/Bus/I2c/I2cDxe/I2cDxe.inf
  487. !include Silicon/Socionext/SynQuacer/Acpi.dsc.inc
  488. #
  489. # SMBIOS/DMI support
  490. #
  491. MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
  492. <PcdsFixedAtBuild>
  493. # expose SMBIOS 3.0 64-bit entrypoint only
  494. gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosEntryPointProvideMethod|0x2
  495. }
  496. Platform/Socionext/DeveloperBox/SmbiosPlatformDxe/SmbiosPlatformDxe.inf {
  497. <BuildOptions>
  498. *_*_*_CC_FLAGS = -DFIRMWARE_VENDOR=\"$(FIRMWARE_VENDOR)\" -DBUILD_NUMBER=\"$(BUILD_NUMBER)\"
  499. }
  500. [Components.AARCH64]
  501. MdeModulePkg/Universal/EbcDxe/EbcDxe.inf