Overdrive1000Board.dsc 30 KB

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