Overdrive1000Board.dsc 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649
  1. #
  2. # Copyright (c) 2014 - 2016, AMD Incorporated. All rights reserved.
  3. #
  4. # SPDX-License-Identifier: BSD-2-Clause-Patent
  5. #
  6. ################################################################################
  7. #
  8. # Defines Section - statements that will be processed to create a Makefile.
  9. #
  10. ################################################################################
  11. [Defines]
  12. DEFINE NUM_CORES = 4
  13. PLATFORM_NAME = Overdrive1000
  14. PLATFORM_GUID = 36774DD7-20DE-4C5B-8722-f8861DFF1F16
  15. PLATFORM_VERSION = 0.1
  16. DSC_SPECIFICATION = 0x00010005
  17. OUTPUT_DIRECTORY = Build/Overdrive1000
  18. SUPPORTED_ARCHITECTURES = AARCH64
  19. BUILD_TARGETS = DEBUG|RELEASE
  20. SKUID_IDENTIFIER = DEFAULT
  21. FLASH_DEFINITION = Platform/SoftIron/Overdrive1000Board/Overdrive1000Board.fdf
  22. #
  23. # Network definition
  24. #
  25. DEFINE NETWORK_IP6_ENABLE = FALSE
  26. DEFINE NETWORK_TLS_ENABLE = FALSE
  27. DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE
  28. DEFINE NETWORK_ISCSI_ENABLE = FALSE
  29. ################################################################################
  30. #
  31. # Library Class section - list of all Library Classes needed by this Platform.
  32. #
  33. ################################################################################
  34. [LibraryClasses.common]
  35. !if $(TARGET) == RELEASE
  36. DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
  37. !else
  38. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  39. !endif
  40. DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
  41. BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
  42. SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
  43. PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
  44. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  45. PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
  46. PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
  47. IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
  48. PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
  49. UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
  50. CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
  51. UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
  52. UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
  53. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  54. UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
  55. DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
  56. UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
  57. DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
  58. UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
  59. UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
  60. HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
  61. UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
  62. UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
  63. #
  64. # Allow dynamic PCDs
  65. #
  66. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  67. PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
  68. BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf
  69. # ARM Architectural Libraries
  70. CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
  71. DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
  72. CpuExceptionHandlerLib|ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf
  73. ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
  74. ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf
  75. ArmGicArchLib|ArmPkg/Library/ArmGicArchLib/ArmGicArchLib.inf
  76. ArmPlatformStackLib|ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatformStackLib.inf
  77. ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
  78. ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf
  79. PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf
  80. ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
  81. ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf
  82. ArmPlatformLib|Silicon/AMD/Styx/Library/AmdStyxLib/AmdStyxLib.inf
  83. TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf
  84. UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
  85. # ARM PL011 UART Driver
  86. PL011UartClockLib|ArmPlatformPkg/Library/PL011UartClockLib/PL011UartClockLib.inf
  87. PL011UartLib|ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.inf
  88. SerialPortLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf
  89. #
  90. # PCI support
  91. #
  92. PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
  93. PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
  94. PciHostBridgeLib|Silicon/AMD/Styx/Library/AmdStyxPciHostBridgeLib/AmdStyxPciHostBridgeLib.inf
  95. #
  96. # Styx specific libraries
  97. #
  98. AmdSataInit|Silicon/AMD/Styx/AmdModulePkg/Library/AmdSataInitLib/AmdSataInitLib.inf
  99. ResetSystemLib|ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.inf
  100. RealTimeClockLib|Silicon/AMD/Styx/Library/RealTimeClockLib/RealTimeClockLib.inf
  101. CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
  102. UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
  103. PlatformBootManagerLib|ArmPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
  104. BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
  105. CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
  106. #
  107. # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window
  108. # in the debugger will show load and unload commands for symbols. You can cut and paste this
  109. # into the command window to load symbols. We should be able to use a script to do this, but
  110. # the version of RVD I have does not support scripts accessing system memory.
  111. #
  112. #PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf
  113. PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
  114. #PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
  115. DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
  116. DebugAgentTimerLib|EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLibNull.inf
  117. DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
  118. SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
  119. FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
  120. DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
  121. SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
  122. FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
  123. [LibraryClasses.common.SEC]
  124. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  125. PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
  126. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  127. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  128. ArmPlatformLib|Silicon/AMD/Styx/Library/AmdStyxLib/AmdStyxLibSec.inf
  129. DebugAgentLib|ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf
  130. ArmGicArchLib|ArmPkg/Library/ArmGicArchSecLib/ArmGicArchSecLib.inf
  131. [LibraryClasses.common.PEIM, LibraryClasses.common.SEC]
  132. MemoryInitPeiLib|Silicon/AMD/Styx/Library/MemoryInitPei/MemoryInitPeiLib.inf
  133. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  134. [LibraryClasses.common.PEI_CORE]
  135. PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
  136. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  137. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  138. PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
  139. PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
  140. ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
  141. OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
  142. PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
  143. ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
  144. PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
  145. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  146. [LibraryClasses.common.PEIM]
  147. PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
  148. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  149. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  150. PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
  151. PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
  152. ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
  153. OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
  154. PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
  155. PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
  156. ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
  157. PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
  158. [LibraryClasses.common.DXE_CORE]
  159. HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
  160. MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
  161. DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
  162. ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
  163. ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
  164. PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
  165. [LibraryClasses.common.DXE_DRIVER]
  166. ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
  167. SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
  168. PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
  169. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  170. NonDiscoverableDeviceRegistrationLib|MdeModulePkg/Library/NonDiscoverableDeviceRegistrationLib/NonDiscoverableDeviceRegistrationLib.inf
  171. [LibraryClasses.common.DXE_RUNTIME_DRIVER]
  172. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  173. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  174. ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
  175. CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
  176. !if $(TARGET) != RELEASE
  177. DebugLib|MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf
  178. !endif
  179. [LibraryClasses.common.UEFI_APPLICATION]
  180. PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
  181. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  182. HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
  183. ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
  184. [LibraryClasses.common.UEFI_DRIVER]
  185. ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
  186. ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
  187. PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
  188. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  189. [LibraryClasses.ARM]
  190. #
  191. # It is not possible to prevent the ARM compiler for generic intrinsic functions.
  192. # This library provides the instrinsic functions generate by a given compiler.
  193. # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
  194. #
  195. NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
  196. [LibraryClasses.AARCH64]
  197. NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
  198. NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
  199. ###################################################################################################
  200. # BuildOptions Section - Define the module specific tool chain flags that should be used as
  201. # the default flags for a module. These flags are appended to any
  202. # standard flags that are defined by the build process.
  203. ###################################################################################################
  204. [BuildOptions]
  205. GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
  206. [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
  207. GCC:*_*_AARCH64_DLINK_FLAGS = -z common-page-size=0x10000
  208. ################################################################################
  209. #
  210. # Pcd Section - list of all EDK II PCD Entries defined by this Platform
  211. #
  212. ################################################################################
  213. [PcdsFeatureFlag.common]
  214. # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress
  215. gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE
  216. gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE
  217. gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
  218. ## If TRUE, Graphics Output Protocol will be installed on virtual handle
  219. ## created by ConsplitterDxe. It could be set FALSE to save size.
  220. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|FALSE
  221. [PcdsFixedAtBuild.common]
  222. gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
  223. gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
  224. gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
  225. gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
  226. gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
  227. gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1
  228. gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
  229. gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
  230. # DEBUG_ASSERT_ENABLED 0x01
  231. # DEBUG_PRINT_ENABLED 0x02
  232. # DEBUG_CODE_ENABLED 0x04
  233. # CLEAR_MEMORY_ENABLED 0x08
  234. # ASSERT_BREAKPOINT_ENABLED 0x10
  235. # ASSERT_DEADLOOP_ENABLED 0x20
  236. !if $(TARGET) == RELEASE
  237. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21
  238. !else
  239. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
  240. !endif
  241. # DEBUG_INIT 0x00000001 // Initialization
  242. # DEBUG_WARN 0x00000002 // Warnings
  243. # DEBUG_LOAD 0x00000004 // Load events
  244. # DEBUG_FS 0x00000008 // EFI File system
  245. # DEBUG_POOL 0x00000010 // Alloc & Free's
  246. # DEBUG_PAGE 0x00000020 // Alloc & Free's
  247. # DEBUG_INFO 0x00000040 // Verbose
  248. # DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers
  249. # DEBUG_VARIABLE 0x00000100 // Variable
  250. # DEBUG_BM 0x00000400 // Boot Manager
  251. # DEBUG_BLKIO 0x00001000 // BlkIo Driver
  252. # DEBUG_NET 0x00004000 // SNI Driver
  253. # DEBUG_UNDI 0x00010000 // UNDI Driver
  254. # DEBUG_LOADFILE 0x00020000 // UNDI Driver
  255. # DEBUG_EVENT 0x00080000 // Event messages
  256. # DEBUG_GCD 0x00100000 // Global Coherency Database changes
  257. # DEBUG_CACHE 0x00200000 // Memory range cachability changes
  258. # DEBUG_ERROR 0x80000000 // Error
  259. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F
  260. gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
  261. #
  262. # Optional feature to help prevent EFI memory map fragments
  263. # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
  264. # Values are in EFI Pages (4K). DXE Core will make sure that
  265. # at least this much of each type of memory can be allocated
  266. # from a single memory range. This way you only end up with
  267. # maximum of two fragements for each type in the memory map
  268. # (the memory used, and the free memory that was prereserved
  269. # but not used).
  270. #
  271. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0
  272. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0
  273. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0
  274. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|1000
  275. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|1000
  276. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|400
  277. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|12000
  278. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20
  279. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0
  280. gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
  281. gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
  282. gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor|L"SoftIron Overdrive 1000"
  283. # Number of configured cores
  284. gArmPlatformTokenSpaceGuid.PcdCoreCount|$(NUM_CORES)
  285. # Stacks for MPCores in Normal World
  286. gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0x8001680000
  287. gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize|0x10000
  288. gArmPlatformTokenSpaceGuid.PcdCPUCoreSecondaryStackSize|0x800
  289. # Declare system memory base
  290. gArmTokenSpaceGuid.PcdSystemMemoryBase|0x8000000000
  291. # Size of the region used by UEFI in permanent memory (Reserved 64MB)
  292. gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x04000000
  293. #
  294. # ARM PrimeCell
  295. #
  296. ## PL011 - Serial Terminal (Atlas UART)
  297. gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x0E1010000
  298. gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|115200
  299. gEfiMdePkgTokenSpaceGuid.PcdUartDefaultReceiveFifoDepth|0
  300. # serial port is clocked at 100MHz
  301. gArmPlatformTokenSpaceGuid.PL011UartClkInHz|100000000
  302. gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|4
  303. gAmdStyxTokenSpaceGuid.PcdSerialDbgRegisterBase|0x0E1010000
  304. gAmdStyxTokenSpaceGuid.PcdUartDbgBaudRate|115200
  305. #
  306. # ARM General Interrupt Controller
  307. #
  308. gArmTokenSpaceGuid.PcdGicDistributorBase|0xE1110000
  309. gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0xE112F000
  310. #
  311. # 2 ports active on Overdrive 1000
  312. #
  313. gAmdStyxTokenSpaceGuid.PcdSata0PortCount|2
  314. gAmdStyxTokenSpaceGuid.PcdSata1PortCount|0
  315. gAmdStyxTokenSpaceGuid.PcdSataPortMode|0xf
  316. # PCIe Support
  317. gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xF0000000
  318. gArmTokenSpaceGuid.PcdPciBusMin|0x0
  319. gArmTokenSpaceGuid.PcdPciBusMax|0xFF
  320. gArmTokenSpaceGuid.PcdPciIoBase|0x1000
  321. gArmTokenSpaceGuid.PcdPciIoSize|0xF000
  322. gArmTokenSpaceGuid.PcdPciIoTranslation|0xEFFF0000
  323. gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|16
  324. gArmTokenSpaceGuid.PcdPciMmio32Base|0x40000000
  325. gArmTokenSpaceGuid.PcdPciMmio32Size|0x80000000
  326. gArmTokenSpaceGuid.PcdPciMmio32Translation|0x0
  327. gArmTokenSpaceGuid.PcdPciMmio64Base|0x100000000
  328. gArmTokenSpaceGuid.PcdPciMmio64Size|0x7F00000000
  329. gArmTokenSpaceGuid.PcdPciMmio64Translation|0x0
  330. ## Use PCI emulation for ATA PassThru
  331. # gEfiMdeModulePkgTokenSpaceGuid.PcdAtaPassThruPciEmulation|TRUE
  332. ## ACPI (no tables < 4GB)
  333. gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiExposedTableVersions|0x20
  334. # SMBIOS 3.0 only
  335. gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosEntryPointProvideMethod|0x2
  336. gAmdModulePkgTokenSpaceGuid.PcdSataNumChPerSerdes|2
  337. gAmdModulePkgTokenSpaceGuid.PcdSataSerdesBase|0xE1200000
  338. gAmdModulePkgTokenSpaceGuid.PcdSataSerdesOffset|0x00010000
  339. # map the stack as non-executable when entering the DXE phase
  340. gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|TRUE
  341. gAmdStyxTokenSpaceGuid.PcdEnableKcs|TRUE
  342. [PcdsPatchableInModule]
  343. # PCIe Configuration: x4x2x2 (=2 See Include/FDKGionb.h)
  344. gAmdModulePkgTokenSpaceGuid.PcdPcieCoreConfiguration|2
  345. gAmdModulePkgTokenSpaceGuid.PcdPciePort0Present|0
  346. gAmdModulePkgTokenSpaceGuid.PcdPciePort1Present|1
  347. gAmdModulePkgTokenSpaceGuid.PcdPciePort2Present|1
  348. gAmdModulePkgTokenSpaceGuid.PcdPcieHardcodeEnumeration|TRUE
  349. [PcdsDynamicDefault.common]
  350. gAmdStyxTokenSpaceGuid.PcdSocCoreCount|$(NUM_CORES)
  351. gArmTokenSpaceGuid.PcdSystemMemorySize|0x0400000000
  352. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0x0
  353. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0x0
  354. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0x0
  355. [PcdsDynamicHii]
  356. gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|5
  357. gAmdStyxTokenSpaceGuid.PcdEnableSmmus|L"StyxEnableSmmus"|gAmdStyxVariableGuid|0x0|FALSE
  358. ################################################################################
  359. #
  360. # Components Section - list of all EDK II Modules needed by this Platform
  361. #
  362. ################################################################################
  363. [Components.common]
  364. #
  365. # PEI Phase modules
  366. #
  367. ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf
  368. MdeModulePkg/Core/Pei/PeiMain.inf
  369. MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
  370. <LibraryClasses>
  371. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  372. }
  373. ArmPlatformPkg/PlatformPei/PlatformPeim.inf
  374. Silicon/AMD/Styx/AmdModulePkg/Iscp/IscpPei.inf
  375. Silicon/AMD/Styx/Drivers/PlatInitPei/PlatInitPei.inf
  376. ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf
  377. ArmPkg/Drivers/CpuPei/CpuPei.inf
  378. MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
  379. MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
  380. <LibraryClasses>
  381. NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
  382. }
  383. #
  384. # DXE
  385. #
  386. MdeModulePkg/Core/Dxe/DxeMain.inf {
  387. <LibraryClasses>
  388. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  389. NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
  390. }
  391. MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
  392. <LibraryClasses>
  393. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  394. }
  395. MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
  396. <LibraryClasses>
  397. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  398. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  399. }
  400. #
  401. # Architectural Protocols
  402. #
  403. ArmPkg/Drivers/CpuDxe/CpuDxe.inf
  404. MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
  405. MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
  406. MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
  407. MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
  408. MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
  409. MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
  410. EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
  411. EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
  412. MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
  413. #
  414. # Console IO support
  415. #
  416. MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
  417. MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
  418. MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
  419. MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
  420. ArmPkg/Drivers/ArmGic/ArmGicDxe.inf
  421. ArmPkg/Drivers/TimerDxe/TimerDxe.inf
  422. #
  423. # Environment Variables Protocol
  424. #
  425. MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
  426. <LibraryClasses>
  427. AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
  428. TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
  429. VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
  430. NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
  431. }
  432. Silicon/AMD/Styx/Drivers/StyxSpiFvDxe/StyxSpiFvDxe.inf
  433. #
  434. # Iscp support
  435. #
  436. Silicon/AMD/Styx/AmdModulePkg/Iscp/IscpDxe.inf
  437. #
  438. # FDT support
  439. #
  440. EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformDxe.inf {
  441. <LibraryClasses>
  442. FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
  443. DtPlatformDtbLoaderLib|Silicon/AMD/Styx/Library/StyxDtbLoaderLib/StyxDtbLoaderLib.inf
  444. }
  445. #
  446. # PCI support
  447. #
  448. Silicon/AMD/Styx/AmdModulePkg/Gionb/Gionb.inf
  449. ArmPkg/Drivers/ArmPciCpuIo2Dxe/ArmPciCpuIo2Dxe.inf
  450. MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
  451. MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
  452. #
  453. # AHCI Support
  454. #
  455. MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
  456. MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
  457. MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
  458. MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
  459. MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf
  460. MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/NonDiscoverablePciDeviceDxe.inf
  461. Silicon/AMD/Styx/Drivers/StyxSataPlatformDxe/StyxSataPlatformDxe.inf
  462. #
  463. # USB Support
  464. #
  465. MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
  466. MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
  467. MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
  468. MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
  469. MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
  470. #
  471. # Marvell Yukon Ethernet (Overdrive 1000 has 88e8059)
  472. #
  473. !if 0
  474. OptionRomPkg/MarvellYukonDxe/MarvellYukonDxe.inf
  475. !endif
  476. #
  477. # Networking stack
  478. #
  479. !include NetworkPkg/Network.dsc.inc
  480. NetworkPkg/MnpDxe/MnpDxe.inf {
  481. <PcdsFixedAtBuild>
  482. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21
  483. }
  484. #
  485. # Core Info
  486. #
  487. Silicon/AMD/Styx/Drivers/PlatInitDxe/PlatInitDxe.inf
  488. #
  489. # ACPI Support
  490. #
  491. MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf {
  492. <LibraryClasses>
  493. NULL|EmbeddedPkg/Library/PlatformHasAcpiLib/PlatformHasAcpiLib.inf
  494. }
  495. Silicon/AMD/Styx/Drivers/AcpiPlatformDxe/AcpiPlatformDxe.inf
  496. #
  497. # SMBIOS Support
  498. #
  499. MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
  500. Silicon/AMD/Styx/Drivers/PlatformSmbiosDxe/PlatformSmbiosDxe.inf
  501. #
  502. # FAT filesystem + GPT/MBR partitioning
  503. #
  504. MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
  505. MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
  506. FatPkg/EnhancedFatDxe/Fat.inf
  507. MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
  508. #
  509. # Bds
  510. #
  511. MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
  512. MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
  513. MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
  514. MdeModulePkg/Application/UiApp/UiApp.inf {
  515. <LibraryClasses>
  516. NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
  517. NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
  518. NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
  519. }
  520. #
  521. # Crypto Accelerator support (RNG only)
  522. #
  523. Silicon/AMD/Styx/Drivers/StyxRngDxe/StyxRngDxe.inf
  524. #
  525. # UEFI application (Shell Embedded Boot Loader)
  526. #
  527. ShellPkg/Application/Shell/Shell.inf {
  528. <LibraryClasses>
  529. ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
  530. NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
  531. NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
  532. NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
  533. NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
  534. NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
  535. NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
  536. NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
  537. NULL|ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.inf
  538. HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
  539. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  540. BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
  541. FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
  542. ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
  543. <PcdsFixedAtBuild>
  544. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
  545. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  546. gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
  547. }