Armada7k8k.dsc.inc 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683
  1. #
  2. #Copyright (c) 2011-2012, ARM Limited. All rights reserved.
  3. #Copyright (C) 2016 Marvell International Ltd.
  4. #
  5. #Marvell BSD License Option
  6. #
  7. #If you received this File from Marvell, you may opt to use, redistribute and/or
  8. #modify this File under the following licensing terms.
  9. #Redistribution and use in source and binary forms, with or without modification,
  10. #are permitted provided that the following conditions are met:
  11. #
  12. # * Redistributions of source code must retain the above copyright notice,
  13. # this list of conditions and the following disclaimer.
  14. #
  15. # * Redistributions in binary form must reproduce the above copyright
  16. # notice, this list of conditions and the following disclaimer in the
  17. # documentation and/or other materials provided with the distribution.
  18. #
  19. # * Neither the name of Marvell nor the names of its contributors may be
  20. # used to endorse or promote products derived from this software without
  21. # specific prior written permission.
  22. #
  23. #THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
  24. #ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  25. #WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  26. #DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
  27. #ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  28. #(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  29. #LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
  30. #ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  31. #(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  32. #SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  33. #
  34. [LibraryClasses.common]
  35. ArmadaIcuLib|Silicon/Marvell/Library/IcuLib/IcuLib.inf
  36. ArmadaSoCDescLib|Silicon/Marvell/Armada7k8k/Library/Armada7k8kSoCDescLib/Armada7k8kSoCDescLib.inf
  37. ArmPlatformLib|Silicon/Marvell/Armada7k8k/Library/Armada7k8kLib/Armada7k8kLib.inf
  38. ComPhyLib|Silicon/Marvell/Library/ComPhyLib/ComPhyLib.inf
  39. MppLib|Silicon/Marvell/Library/MppLib/MppLib.inf
  40. NorFlashInfoLib|EmbeddedPkg/Library/NorFlashInfoLib/NorFlashInfoLib.inf
  41. SampleAtResetLib|Silicon/Marvell/Armada7k8k/Library/Armada7k8kSampleAtResetLib/Armada7k8kSampleAtResetLib.inf
  42. UtmiPhyLib|Silicon/Marvell/Library/UtmiPhyLib/UtmiPhyLib.inf
  43. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  44. DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
  45. !if $(CAPSULE_ENABLE)
  46. OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
  47. IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
  48. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
  49. CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.inf
  50. EdkiiSystemCapsuleLib|SignedCapsulePkg/Library/EdkiiSystemCapsuleLib/EdkiiSystemCapsuleLib.inf
  51. FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf
  52. IniParsingLib|SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.inf
  53. PlatformFlashAccessLib|Silicon/Marvell/Armada7k8k/Feature/Capsule/PlatformFlashAccessLib/PlatformFlashAccessLib.inf
  54. !endif
  55. # Basic utility libraries
  56. BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
  57. !if $(CAPSULE_ENABLE)
  58. BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
  59. SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
  60. !endif
  61. SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
  62. PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
  63. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  64. PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
  65. PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
  66. IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
  67. UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
  68. CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
  69. PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
  70. PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
  71. # Basic UEFI services libraries
  72. UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
  73. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  74. UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
  75. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  76. UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
  77. DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
  78. DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
  79. ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
  80. UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
  81. UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
  82. HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
  83. UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
  84. UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
  85. UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
  86. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  87. BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf
  88. # ARM Architectural Libraries
  89. CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
  90. DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
  91. CpuExceptionHandlerLib|ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf
  92. ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
  93. DmaLib|EmbeddedPkg/Library/NonCoherentDmaLib/NonCoherentDmaLib.inf
  94. ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf
  95. ArmGicArchLib|ArmPkg/Library/ArmGicArchLib/ArmGicArchLib.inf
  96. ArmPlatformStackLib|ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatformStackLib.inf
  97. ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
  98. TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf
  99. UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
  100. # Serial port libraries
  101. SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
  102. PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
  103. # Reset and Time libraries
  104. TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf
  105. RealTimeClockLib|Silicon/Marvell/Armada7k8k/Library/RealTimeClockLib/RealTimeClockLib.inf
  106. ResetSystemLib|ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.inf
  107. # Network support
  108. NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
  109. IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
  110. DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
  111. UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
  112. # These libraries are used by the dynamic EFI Shell commands
  113. ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
  114. FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
  115. SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
  116. #
  117. # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window
  118. # in the debugger will show load and unload commands for symbols. You can cut and paste this
  119. # into the command window to load symbols. We should be able to use a script to do this, but
  120. # the version of RVD I have does not support scripts accessing system memory.
  121. #
  122. #PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf
  123. PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
  124. #PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
  125. DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
  126. DebugAgentTimerLib|EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLibNull.inf
  127. # SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf
  128. # BDS Libraries
  129. CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
  130. BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
  131. FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
  132. PlatformBootManagerLib|ArmPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
  133. CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
  134. FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
  135. ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
  136. ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf
  137. ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf
  138. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  139. [LibraryClasses.common.SEC]
  140. DebugAgentLib|ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf
  141. DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLibBase.inf
  142. PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
  143. ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf
  144. LzmaDecompressLib|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
  145. MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf
  146. HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf
  147. PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf
  148. ArmGicArchLib|ArmPkg/Library/ArmGicArchSecLib/ArmGicArchSecLib.inf
  149. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  150. [LibraryClasses.common.SEC, LibraryClasses.common.PEIM]
  151. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  152. PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf
  153. [LibraryClasses.common.PEI_CORE, LibraryClasses.common.PEIM]
  154. PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
  155. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  156. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  157. PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
  158. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  159. ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
  160. PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
  161. [LibraryClasses.common.PEI_CORE]
  162. PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
  163. [LibraryClasses.common.PEIM]
  164. PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
  165. MemoryInitPeiLib|Silicon/Marvell/Armada7k8k/Library/Armada7k8kMemoryInitPeiLib/Armada7k8kMemoryInitPeiLib.inf
  166. [LibraryClasses.common.DXE_CORE]
  167. HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
  168. MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
  169. DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
  170. ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
  171. UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
  172. DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
  173. PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
  174. [LibraryClasses.common.DXE_DRIVER]
  175. DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
  176. SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
  177. PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
  178. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  179. NonDiscoverableDeviceRegistrationLib|MdeModulePkg/Library/NonDiscoverableDeviceRegistrationLib/NonDiscoverableDeviceRegistrationLib.inf
  180. DtPlatformDtbLoaderLib|EmbeddedPkg/Library/DxeDtPlatformDtbLoaderLibDefault/DxeDtPlatformDtbLoaderLibDefault.inf
  181. [LibraryClasses.common.UEFI_APPLICATION]
  182. UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
  183. PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
  184. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  185. HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
  186. [LibraryClasses.common.UEFI_DRIVER]
  187. UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
  188. ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
  189. PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
  190. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  191. [LibraryClasses.common.DXE_RUNTIME_DRIVER]
  192. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  193. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  194. !if $(CAPSULE_ENABLE)
  195. CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf
  196. !else
  197. CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
  198. !endif
  199. !if $(TARGET) != RELEASE
  200. DebugLib|MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf
  201. !endif
  202. [LibraryClasses.ARM, LibraryClasses.AARCH64]
  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. # Add support for GCC stack protector
  210. NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
  211. ################################################################################
  212. #
  213. # Pcd Section - list of all EDK II PCD Entries defined by this Platform
  214. #
  215. ################################################################################
  216. [PcdsFeatureFlag.common]
  217. # Use the Vector Table location in CpuDxe.
  218. # We will not copy the Vector Table at PcdCpuVectorBaseAddress
  219. gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE
  220. gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE
  221. # If TRUE, Graphics Output Protocol will be installed on virtual
  222. # handle created by ConsplitterDxe. It could be set FALSE to save size.
  223. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
  224. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
  225. # USB support
  226. gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
  227. [PcdsFixedAtBuild.common]
  228. gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"MARVELL_EFI"
  229. gArmPlatformTokenSpaceGuid.PcdCoreCount|4
  230. gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
  231. gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
  232. gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
  233. gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
  234. gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
  235. gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
  236. gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
  237. gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|1
  238. gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|3
  239. # Required for Intel BDS
  240. gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
  241. # ARM Generic Interrupt Controller
  242. gArmTokenSpaceGuid.PcdGicDistributorBase|0xF0210000
  243. #
  244. # NOTE: the GIC architecture mandates that the CPU interface, which consists
  245. # of 2 consecutive 4 KB frames, can be mapped using separate mappings.
  246. # Since this is problematic on 64 KB pages, the MMU-400 aliases each frame
  247. # 16 times, and the two consecutive frames can be found at offset 0xf000
  248. #
  249. gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0xF022F000
  250. # ARM Architectural Timer Support
  251. gArmTokenSpaceGuid.PcdArmArchTimerFreqInHz|25000000
  252. gEmbeddedTokenSpaceGuid.PcdMetronomeTickPeriod|1000
  253. # ARM SBSA Watchdog
  254. gArmTokenSpaceGuid.PcdGenericWatchdogControlBase|0xF0610000
  255. gArmTokenSpaceGuid.PcdGenericWatchdogRefreshBase|0xF0600000
  256. gArmTokenSpaceGuid.PcdGenericWatchdogEl2IntrNum|34
  257. # Serial
  258. gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|TRUE
  259. gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|FALSE
  260. gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0xF0512000
  261. gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate|115200
  262. gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate|200000000
  263. gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride|4
  264. # DEBUG_ASSERT_ENABLED 0x01
  265. # DEBUG_PRINT_ENABLED 0x02
  266. # DEBUG_CODE_ENABLED 0x04
  267. # CLEAR_MEMORY_ENABLED 0x08
  268. # ASSERT_BREAKPOINT_ENABLED 0x10
  269. # ASSERT_DEADLOOP_ENABLED 0x20
  270. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
  271. # DEBUG_INIT 0x00000001 // Initialization
  272. # DEBUG_WARN 0x00000002 // Warnings
  273. # DEBUG_LOAD 0x00000004 // Load events
  274. # DEBUG_FS 0x00000008 // EFI File system
  275. # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
  276. # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
  277. # DEBUG_INFO 0x00000040 // Informational debug messages
  278. # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
  279. # DEBUG_VARIABLE 0x00000100 // Variable
  280. # DEBUG_BM 0x00000400 // Boot Manager
  281. # DEBUG_BLKIO 0x00001000 // BlkIo Driver
  282. # DEBUG_NET 0x00004000 // SNP Driver
  283. # DEBUG_UNDI 0x00010000 // UNDI Driver
  284. # DEBUG_LOADFILE 0x00020000 // LoadFile
  285. # DEBUG_EVENT 0x00080000 // Event messages
  286. # DEBUG_GCD 0x00100000 // Global Coherency Database changes
  287. # DEBUG_CACHE 0x00200000 // Memory range cachability changes
  288. # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
  289. # // significantly impact boot performance
  290. # DEBUG_ERROR 0x80000000 // Error
  291. !if $(TARGET) == RELEASE
  292. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000
  293. !else
  294. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F
  295. !endif
  296. #
  297. # Optional feature to help prevent EFI memory map fragments
  298. # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
  299. # Values are in EFI Pages (4K). DXE Core will make sure that
  300. # at least this much of each type of memory can be allocated
  301. # from a single memory range. This way you only end up with
  302. # maximum of two fragements for each type in the memory map
  303. # (the memory used, and the free memory that was prereserved
  304. # but not used).
  305. #
  306. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0
  307. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0
  308. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0
  309. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|1000
  310. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|1000
  311. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|2000
  312. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|35000
  313. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20
  314. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0
  315. # We want to use the Shell Libraries but don't want it to initialise
  316. # automatically. We initialise the libraries when the command is called by the
  317. # Shell.
  318. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  319. # GUID of the generic BDS UiApp
  320. gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
  321. # use the 'TTYTERM' terminal type for optimal compatibility with Linux terminal emulators
  322. gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|4
  323. # ARM Pcds
  324. gArmTokenSpaceGuid.PcdSystemMemoryBase|0
  325. gArmTokenSpaceGuid.PcdSystemMemorySize|0x40000000
  326. gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|36
  327. gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|36
  328. gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0x41F0000
  329. gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize|0x10000
  330. # Secure region reservation
  331. gMarvellTokenSpaceGuid.PcdSecureRegionBase|0x4000000
  332. gMarvellTokenSpaceGuid.PcdSecureRegionSize|0x0200000
  333. # TRNG
  334. gMarvellTokenSpaceGuid.PcdEip76TrngBaseAddress|0xF2760000
  335. #
  336. # Variable store - default values
  337. #
  338. gMarvellTokenSpaceGuid.PcdSpiMemoryBase|0xF9000000
  339. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0xF93C0000
  340. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x00010000
  341. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0xF93D0000
  342. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x00010000
  343. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0xF93E0000
  344. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x00010000
  345. !if $(CAPSULE_ENABLE)
  346. [PcdsDynamicExDefault.common.DEFAULT]
  347. gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiSystemFirmwareImageDescriptor|{0x0}|VOID*|0x100
  348. gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiSystemFirmwareFileGuid|{0x02, 0x0e, 0x89, 0xb3, 0x6b, 0xc4, 0x70, 0x49, 0x95, 0x36, 0x57, 0x78, 0x7a, 0x9e, 0x06, 0xc7}
  349. gEfiMdeModulePkgTokenSpaceGuid.PcdSystemFmpCapsuleImageTypeIdGuid|{0x75, 0xc4, 0x7f, 0x75, 0x22, 0x6b, 0x82, 0x44, 0x86, 0x8e, 0xde, 0xd2, 0x86, 0xf3, 0x09, 0x40}
  350. !endif
  351. ################################################################################
  352. #
  353. # Components Section - list of all EDK II Modules needed by this Platform
  354. #
  355. ################################################################################
  356. [Components.common]
  357. # PEI Phase modules
  358. ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf
  359. MdeModulePkg/Core/Pei/PeiMain.inf
  360. MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
  361. <LibraryClasses>
  362. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  363. }
  364. ArmPlatformPkg/PlatformPei/PlatformPeim.inf
  365. ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf
  366. ArmPkg/Drivers/CpuPei/CpuPei.inf
  367. MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
  368. !if $(CAPSULE_ENABLE)
  369. MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
  370. MdeModulePkg/Universal/CapsulePei/CapsulePei.inf
  371. Silicon/Marvell/Armada7k8k/Feature/Capsule/SystemFirmwareDescriptor/SystemFirmwareDescriptor.inf
  372. !endif
  373. MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
  374. <LibraryClasses>
  375. NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
  376. }
  377. # DXE
  378. MdeModulePkg/Core/Dxe/DxeMain.inf {
  379. <LibraryClasses>
  380. NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
  381. }
  382. MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
  383. <LibraryClasses>
  384. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  385. }
  386. # Architectural Protocols DXE
  387. ArmPkg/Drivers/CpuDxe/CpuDxe.inf
  388. ArmPkg/Drivers/ArmGic/ArmGicDxe.inf
  389. ArmPkg/Drivers/TimerDxe/TimerDxe.inf
  390. ArmPkg/Drivers/GenericWatchdogDxe/GenericWatchdogDxe.inf
  391. # Platform Initialization
  392. Silicon/Marvell/Drivers/BoardDesc/MvBoardDescDxe.inf
  393. Silicon/Marvell/Armada7k8k/Drivers/PlatInitDxe/PlatInitDxe.inf
  394. # Platform drivers
  395. Silicon/Marvell/Drivers/I2c/MvI2cDxe/MvI2cDxe.inf
  396. MdeModulePkg/Bus/I2c/I2cDxe/I2cDxe.inf
  397. Silicon/Marvell/Drivers/I2c/MvEepromDxe/MvEepromDxe.inf
  398. Silicon/Marvell/Drivers/Spi/MvSpiOrionDxe/MvSpiOrionDxe.inf
  399. Silicon/Marvell/Drivers/Spi/MvSpiFlashDxe/MvSpiFlashDxe.inf
  400. Silicon/Marvell/Armada7k8k/Drivers/Armada7k8kRngDxe/Armada7k8kRngDxe.inf
  401. # Network support
  402. MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
  403. MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
  404. MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
  405. MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
  406. MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
  407. MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
  408. MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
  409. MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
  410. MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
  411. MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
  412. MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
  413. Silicon/Marvell/Drivers/Net/MvMdioDxe/MvMdioDxe.inf
  414. Silicon/Marvell/Drivers/Net/MvPhyDxe/MvPhyDxe.inf
  415. Silicon/Marvell/Drivers/Net/Pp2Dxe/Pp2Dxe.inf
  416. MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
  417. MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
  418. MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
  419. EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf
  420. MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
  421. EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
  422. EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
  423. # NonDiscoverableDevices
  424. Silicon/Marvell/Drivers/NonDiscoverableDxe/NonDiscoverableDxe.inf
  425. MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/NonDiscoverablePciDeviceDxe.inf
  426. # SCSI
  427. MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
  428. MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
  429. # SATA
  430. MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
  431. MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
  432. OvmfPkg/SataControllerDxe/SataControllerDxe.inf
  433. # USB
  434. MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
  435. MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
  436. MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
  437. # SD/MMC
  438. MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.inf
  439. MdeModulePkg/Bus/Sd/SdDxe/SdDxe.inf
  440. Silicon/Marvell/Drivers/SdMmc/XenonDxe/SdMmcPciHcDxe.inf
  441. # Console packages
  442. MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
  443. MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
  444. MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
  445. MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
  446. MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
  447. # Human interface:
  448. MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
  449. # FAT filesystem + GPT/MBR partitioning
  450. MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
  451. MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
  452. MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
  453. FatPkg/EnhancedFatDxe/Fat.inf
  454. # Bds - Use Intel BDS
  455. MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
  456. MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
  457. MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
  458. MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
  459. MdeModulePkg/Application/UiApp/UiApp.inf {
  460. <LibraryClasses>
  461. NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
  462. NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
  463. NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
  464. }
  465. !if $(CAPSULE_ENABLE)
  466. MdeModulePkg/Universal/EsrtDxe/EsrtDxe.inf
  467. SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareReportDxe.inf
  468. SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareUpdateDxe.inf {
  469. <LibraryClasses>
  470. FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf
  471. }
  472. MdeModulePkg/Application/CapsuleApp/CapsuleApp.inf
  473. !endif
  474. #
  475. # Variable services
  476. #
  477. Silicon/Marvell/Drivers/Spi/MvFvbDxe/MvFvbDxe.inf
  478. MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
  479. MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
  480. <LibraryClasses>
  481. AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
  482. NULL|EmbeddedPkg/Library/NvVarStoreFormattedLib/NvVarStoreFormattedLib.inf
  483. NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
  484. TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
  485. VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
  486. }
  487. # UEFI application (Shell Embedded Boot Loader)
  488. ShellPkg/Application/Shell/Shell.inf {
  489. <LibraryClasses>
  490. ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
  491. NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
  492. NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
  493. NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
  494. NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
  495. NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
  496. NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
  497. NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
  498. NULL|Silicon/Marvell/Applications/EepromCmd/EepromCmd.inf
  499. NULL|Silicon/Marvell/Applications/SpiTool/SpiFlashCmd.inf
  500. NULL|Silicon/Marvell/Applications/FirmwareUpdate/FUpdate.inf
  501. HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
  502. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  503. BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
  504. <PcdsFixedAtBuild>
  505. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
  506. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  507. gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
  508. }
  509. # DTB
  510. EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformDxe.inf
  511. !ifdef $(INCLUDE_TFTP_COMMAND)
  512. ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf
  513. !endif #$(INCLUDE_TFTP_COMMAND)
  514. [Components.AARCH64]
  515. #
  516. # Generic ACPI modules
  517. #
  518. MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
  519. MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf {
  520. <LibraryClasses>
  521. PlatformHasAcpiLib|EmbeddedPkg/Library/PlatformHasAcpiLib/PlatformHasAcpiLib.inf
  522. <PcdsFixedAtBuild>
  523. # support ACPI v5.0 or later
  524. gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiExposedTableVersions|0x20
  525. }
  526. [BuildOptions.common.EDKII.DXE_CORE,BuildOptions.common.EDKII.DXE_DRIVER,BuildOptions.common.EDKII.UEFI_DRIVER,BuildOptions.common.EDKII.UEFI_APPLICATION]
  527. GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
  528. [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
  529. GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x10000
  530. ################################################################################
  531. #
  532. # Defines - platform description macros
  533. #
  534. ################################################################################
  535. [Defines]
  536. #
  537. # ComPhy speed - values defined externally, used for the
  538. # SerDes configuration via SiP services.
  539. #
  540. DEFINE CP_1_25G = 0x0
  541. DEFINE CP_2_5G = 0x1
  542. DEFINE CP_3_125G = 0x2
  543. DEFINE CP_5G = 0x3
  544. DEFINE CP_5_15625G = 0x4
  545. DEFINE CP_6G = 0x5
  546. DEFINE CP_10_3125G = 0x6
  547. DEFINE CP_DEFAULT = 0x3f
  548. # ComPhy type
  549. DEFINE CP_UNCONNECTED = 0x0
  550. DEFINE CP_PCIE0 = 0x1
  551. DEFINE CP_PCIE1 = 0x2
  552. DEFINE CP_PCIE2 = 0x3
  553. DEFINE CP_PCIE3 = 0x4
  554. DEFINE CP_SATA0 = 0x5
  555. DEFINE CP_SATA1 = 0x6
  556. DEFINE CP_SATA2 = 0x7
  557. DEFINE CP_SATA3 = 0x8
  558. DEFINE CP_SGMII0 = 0x9
  559. DEFINE CP_SGMII1 = 0xA
  560. DEFINE CP_SGMII2 = 0xB
  561. DEFINE CP_SGMII3 = 0xC
  562. DEFINE CP_QSGMII = 0xD
  563. DEFINE CP_USB3_HOST0 = 0xE
  564. DEFINE CP_USB3_HOST1 = 0xF
  565. DEFINE CP_USB3_DEVICE = 0x10
  566. DEFINE CP_XAUI0 = 0x11
  567. DEFINE CP_XAUI1 = 0x12
  568. DEFINE CP_XAUI2 = 0x13
  569. DEFINE CP_XAUI3 = 0x14
  570. DEFINE CP_RXAUI0 = 0x15
  571. DEFINE CP_RXAUI1 = 0x16
  572. DEFINE CP_SFI = 0x17
  573. #Network interface speed
  574. DEFINE PHY_SPEED_10 = 0x1
  575. DEFINE PHY_SPEED_100 = 0x2
  576. DEFINE PHY_SPEED_1000 = 0x3
  577. DEFINE PHY_SPEED_2500 = 0x4
  578. DEFINE PHY_SPEED_10000 = 0x5
  579. #Network PHY type
  580. DEFINE PHY_RGMII = 0x0
  581. DEFINE PHY_RGMII_ID = 0x1
  582. DEFINE PHY_RGMII_TXID = 0x2
  583. DEFINE PHY_RGMII_RXID = 0x3
  584. DEFINE PHY_SGMII = 0x4
  585. DEFINE PHY_RTBI = 0x5
  586. DEFINE PHY_XAUI = 0x6
  587. DEFINE PHY_RXAUI = 0x7
  588. DEFINE PHY_SFI = 0x8
  589. #UTMI PHY connection type
  590. DEFINE UTMI_USB_HOST0 = 0x0
  591. DEFINE UTMI_USB_HOST1 = 0x1
  592. DEFINE UTMI_USB_DEVICE0 = 0x2