D05.dsc 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663
  1. #
  2. # Copyright (c) 2011-2012, ARM Limited. All rights reserved.
  3. # Copyright (c) 2015-2016, Hisilicon Limited. All rights reserved.
  4. # Copyright (c) 2015-2016, Linaro Limited. All rights reserved.
  5. #
  6. # This program and the accompanying materials
  7. # are licensed and made available under the terms and conditions of the BSD License
  8. # which accompanies this distribution. The full text of the license may be found at
  9. # http://opensource.org/licenses/bsd-license.php
  10. #
  11. # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
  12. # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
  13. #
  14. #
  15. ################################################################################
  16. #
  17. # Defines Section - statements that will be processed to create a Makefile.
  18. #
  19. ################################################################################
  20. [Defines]
  21. PLATFORM_NAME = D05
  22. PLATFORM_GUID = D0D445F1-B2CA-4101-9986-1B23525CBEA6
  23. PLATFORM_VERSION = 0.1
  24. DSC_SPECIFICATION = 0x00010019
  25. OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME)
  26. SUPPORTED_ARCHITECTURES = AARCH64
  27. BUILD_TARGETS = DEBUG|RELEASE
  28. SKUID_IDENTIFIER = DEFAULT
  29. FLASH_DEFINITION = Platform/Hisilicon/$(PLATFORM_NAME)/$(PLATFORM_NAME).fdf
  30. DEFINE EDK2_SKIP_PEICORE=0
  31. DEFINE INCLUDE_TFTP_COMMAND=1
  32. DEFINE NETWORK_IP6_ENABLE = FALSE
  33. DEFINE HTTP_BOOT_ENABLE = FALSE
  34. !include Silicon/Hisilicon/Hisilicon.dsc.inc
  35. [LibraryClasses.common]
  36. ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
  37. ArmPlatformLib|Silicon/Hisilicon/Library/ArmPlatformLibHisilicon/ArmPlatformLib.inf
  38. ArmPlatformSysConfigLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf
  39. NorFlashPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/NorFlashArmVExpressLib/NorFlashArmVExpressLib.inf
  40. LcdPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/PL111LcdArmVExpressLib/PL111LcdArmVExpressLib.inf
  41. I2CLib|Silicon/Hisilicon/Library/I2CLib/I2CLib.inf
  42. TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf
  43. IpmiCmdLib|Silicon/Hisilicon/Hi1610/Library/IpmiCmdLib/IpmiCmdLib.inf
  44. NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
  45. DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
  46. HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
  47. UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
  48. UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
  49. IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
  50. OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
  51. ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
  52. DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
  53. FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
  54. BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
  55. SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
  56. !if $(NETWORK_IP6_ENABLE) == TRUE
  57. TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf
  58. !endif
  59. !if $(HTTP_BOOT_ENABLE) == TRUE
  60. HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf
  61. !endif
  62. !ifdef $(FDT_ENABLE)
  63. #FDTUpdateLib
  64. FdtUpdateLib|Platform/Hisilicon/D05/Library/FdtUpdateLib/FdtUpdateLib.inf
  65. !endif #$(FDT_ENABLE)
  66. CpldIoLib|Silicon/Hisilicon/Library/CpldIoLib/CpldIoLib.inf
  67. SerdesLib|Silicon/Hisilicon/Hi1616/Library/Hi1616Serdes/Hi1616SerdesLib.inf
  68. TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf
  69. #D05 RTC hardware is same as D03
  70. RealTimeClockLib|Platform/Hisilicon/D03/Library/DS3231RealTimeClockLib/DS3231RealTimeClockLib.inf
  71. OemMiscLib|Platform/Hisilicon/D05/Library/OemMiscLibD05/OemMiscLibD05.inf
  72. OemAddressMapLib|Platform/Hisilicon/D05/Library/OemAddressMapD05/OemAddressMapD05.inf
  73. PlatformSysCtrlLib|Silicon/Hisilicon/Hi1616/Library/PlatformSysCtrlLibHi1616/PlatformSysCtrlLibHi1616.inf
  74. CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
  75. GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
  76. PlatformBdsLib|Silicon/Hisilicon/Library/PlatformIntelBdsLib/PlatformIntelBdsLib.inf
  77. CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
  78. # USB Requirements
  79. UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
  80. LpcLib|Silicon/Hisilicon/Hi1610/Library/LpcLib/LpcLib.inf
  81. SerialPortLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf
  82. [LibraryClasses.common.SEC]
  83. ArmPlatformLib|Silicon/Hisilicon/Library/ArmPlatformLibHisilicon/ArmPlatformLibSec.inf
  84. [LibraryClasses.common.DXE_RUNTIME_DRIVER]
  85. I2CLib|Silicon/Hisilicon/Library/I2CLib/I2CLibRuntime.inf
  86. SerialPortLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf
  87. [BuildOptions]
  88. GCC:*_*_AARCH64_PLATFORM_FLAGS == -I$(WORKSPACE)/Silicon/Hisilicon/Hi1616/Include
  89. ################################################################################
  90. #
  91. # Pcd Section - list of all EDK II PCD Entries defined by this Platform
  92. #
  93. ################################################################################
  94. [PcdsFeatureFlag.common]
  95. !if $(EDK2_SKIP_PEICORE) == 1
  96. gArmPlatformTokenSpaceGuid.PcdSystemMemoryInitializeInSec|TRUE
  97. gArmPlatformTokenSpaceGuid.PcdSendSgiToBringUpSecondaryCores|TRUE
  98. !endif
  99. ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.
  100. # It could be set FALSE to save size.
  101. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
  102. gHisiTokenSpaceGuid.PcdIsItsSupported|TRUE
  103. [PcdsFixedAtBuild.common]
  104. gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"D05"
  105. gArmPlatformTokenSpaceGuid.PcdCoreCount|8
  106. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
  107. # Stacks for MPCores in Secure World
  108. gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0xE1000000
  109. gArmPlatformTokenSpaceGuid.PcdCPUCoreSecPrimaryStackSize|0x10000
  110. # Stacks for MPCores in Monitor Mode
  111. gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0xE100FF00
  112. gArmPlatformTokenSpaceGuid.PcdCPUCoreSecMonStackSize|0x100
  113. # Stacks for MPCores in Normal World
  114. gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0xE1000000
  115. gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize|0xFF00
  116. gArmTokenSpaceGuid.PcdSystemMemoryBase|0x00000000
  117. gArmTokenSpaceGuid.PcdSystemMemorySize|0x3FC00000
  118. # Size of the region used by UEFI in permanent memory (Reserved 64MB)
  119. gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x10000000
  120. gHisiTokenSpaceGuid.PcdSerDesFlowCtrlFlag|1
  121. gHisiTokenSpaceGuid.PcdSlotPerChannelNum|0x2
  122. gHisiTokenSpaceGuid.PcdPcieRootBridgeMask|0x94 # bit0:HB0RB0,bit1:HB0RB1,bit2:HB0RB2,bit3:HB0RB3,bit4:HB0RB4,bit5:HB0RB5,bit6:HB0RB6,bit7:HB0RB7
  123. # bit8:HB1RB0,bit9:HB1RB1,bit10:HB1RB2,bit11:HB1RB3,bit12:HB1RB4,bit13:HB1RB5,bit14:HB1RB6,bit14:HB1RB15
  124. ## enable all the pcie device, because it is ok for bios
  125. gHisiTokenSpaceGuid.PcdPcieRootBridgeMask2P|0x34F4 # bit0:HB0RB0,bit1:HB0RB1,bit2:HB0RB2,bit3:HB0RB3,bit4:HB0RB4,bit5:HB0RB5,bit6:HB0RB6,bit7:HB0RB7
  126. # bit8:HB1RB0,bit9:HB1RB1,bit10:HB1RB2,bit11:HB1RB3,bit12:HB1RB4,bit13:HB1RB5,bit14:HB1RB6,bit14:HB1RB15
  127. ## SP805 Watchdog - Motherboard Watchdog
  128. gArmPlatformTokenSpaceGuid.PcdSP805WatchdogBase|0x601e0000
  129. ## Serial Terminal
  130. gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x602B0000
  131. gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|115200
  132. gArmPlatformTokenSpaceGuid.PL011UartClkInHz|200000000
  133. gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits|8
  134. gEfiMdePkgTokenSpaceGuid.PcdUartDefaultParity|1
  135. gEfiMdePkgTokenSpaceGuid.PcdUartDefaultStopBits|1
  136. # use the TTY terminal type (which has a working backspace)
  137. gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|4
  138. gHisiTokenSpaceGuid.PcdM3SmmuBaseAddress|0xa0040000
  139. gHisiTokenSpaceGuid.PcdPcieSmmuBaseAddress|0xb0040000
  140. gHisiTokenSpaceGuid.PcdDsaSmmuBaseAddress|0xc0040000
  141. gHisiTokenSpaceGuid.PcdAlgSmmuBaseAddress|0xd0040000
  142. gHisiTokenSpaceGuid.PcdIsMPBoot|1
  143. gHisiTokenSpaceGuid.PcdSocketMask|0x3
  144. gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"Hisilicon D05 UEFI 16.12 Release"
  145. gHisiTokenSpaceGuid.PcdBiosVersionString|L"10.01.01T18"
  146. gHisiTokenSpaceGuid.PcdBiosVersionForBmc|L"1.12"
  147. gHisiTokenSpaceGuid.PcdSystemProductName|L"D05"
  148. gHisiTokenSpaceGuid.PcdSystemVersion|L"Estuary"
  149. gHisiTokenSpaceGuid.PcdBaseBoardProductName|L"D05"
  150. gHisiTokenSpaceGuid.PcdBaseBoardVersion|L"Estuary"
  151. gHisiTokenSpaceGuid.PcdCPUInfo|L"Hi1616"
  152. gArmTokenSpaceGuid.PcdGicDistributorBase|0x4D000000
  153. gArmTokenSpaceGuid.PcdGicRedistributorsBase|0x4D100000
  154. gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0xFE000000
  155. # Use the serial console (ConIn & ConOut) and the Graphic driver (ConOut)
  156. gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(115200,8,N,1)/VenPcAnsi();VenHw(407B4008-BF5B-11DF-9547-CF16E0D72085)"
  157. gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(115200,8,N,1)/VenPcAnsi()"
  158. #
  159. # ARM Architectual Timer Frequency
  160. #
  161. gArmTokenSpaceGuid.PcdArmArchTimerFreqInHz|50000000
  162. gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
  163. gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
  164. gHisiTokenSpaceGuid.PcdSysControlBaseAddress|0x40010000
  165. gHisiTokenSpaceGuid.PcdMailBoxAddress|0x0000FFF8
  166. gHisiTokenSpaceGuid.PcdCpldBaseAddress|0x78000000
  167. gHisiTokenSpaceGuid.PcdSFCCFGBaseAddress|0xA6000000
  168. gHisiTokenSpaceGuid.PcdSFCMEM0BaseAddress|0xA4000000
  169. gHisiTokenSpaceGuid.PcdPeriSubctrlAddress|0x40000000
  170. gHisiTokenSpaceGuid.PcdMdioSubctrlAddress|0x60000000
  171. ## DTB address at spi flash
  172. gHisiTokenSpaceGuid.FdtFileAddress|0xA47A0000
  173. gHisiTokenSpaceGuid.PcdPlatformDefaultPackageType|0x1
  174. gHisiTokenSpaceGuid.PcdArmPrimaryCoreTemp|0x80010000
  175. gHisiTokenSpaceGuid.PcdTopOfLowMemory|0x40000000
  176. gHisiTokenSpaceGuid.PcdBottomOfHighMemory|0x1000000000
  177. gHisiTokenSpaceGuid.PcdNORFlashBase|0x70000000
  178. gHisiTokenSpaceGuid.PcdNORFlashCachableSize|0x8000000
  179. gHisiTokenSpaceGuid.PcdTrustedFirmwareEnable|0x1
  180. gHisiTokenSpaceGuid.PcdNumaEnable|1
  181. gHisiTokenSpaceGuid.PcdMacAddress|0xA47E0000
  182. gHisiTokenSpaceGuid.PcdHb1BaseAddress|0x40000000000
  183. gHisiTokenSpaceGuid.PcdHb0Rb0PciConfigurationSpaceBaseAddress|0xA0000000
  184. gHisiTokenSpaceGuid.PcdHb0Rb0PciConfigurationSpaceSize|0x10000000
  185. gHisiTokenSpaceGuid.PcdHb0Rb1PciConfigurationSpaceBaseAddress|0xA0000000
  186. gHisiTokenSpaceGuid.PcdHb0Rb1PciConfigurationSpaceSize|0x10000000
  187. gHisiTokenSpaceGuid.PcdHb0Rb2PciConfigurationSpaceBaseAddress|0xA0000000
  188. gHisiTokenSpaceGuid.PcdHb0Rb2PciConfigurationSpaceSize|0x10000000
  189. gHisiTokenSpaceGuid.PcdHb0Rb3PciConfigurationSpaceBaseAddress|0xA0000000
  190. gHisiTokenSpaceGuid.PcdHb0Rb3PciConfigurationSpaceSize|0x10000000
  191. gHisiTokenSpaceGuid.PcdHb0Rb4PciConfigurationSpaceBaseAddress|0x8A0000000
  192. gHisiTokenSpaceGuid.PcdHb0Rb4PciConfigurationSpaceSize|0x10000000
  193. gHisiTokenSpaceGuid.PcdHb0Rb5PciConfigurationSpaceBaseAddress|0x8B0000000
  194. gHisiTokenSpaceGuid.PcdHb0Rb5PciConfigurationSpaceSize|0x8000000
  195. gHisiTokenSpaceGuid.PcdHb0Rb6PciConfigurationSpaceBaseAddress|0x8A0000000
  196. gHisiTokenSpaceGuid.PcdHb0Rb6PciConfigurationSpaceSize|0x10000000
  197. gHisiTokenSpaceGuid.PcdHb0Rb7PciConfigurationSpaceBaseAddress|0x8B0000000
  198. gHisiTokenSpaceGuid.PcdHb0Rb7PciConfigurationSpaceSize|0x10000000
  199. gHisiTokenSpaceGuid.PcdHb1Rb0PciConfigurationSpaceBaseAddress|0x400A0000000
  200. gHisiTokenSpaceGuid.PcdHb1Rb0PciConfigurationSpaceSize|0x10000000
  201. gHisiTokenSpaceGuid.PcdHb1Rb1PciConfigurationSpaceBaseAddress|0x400A0000000
  202. gHisiTokenSpaceGuid.PcdHb1Rb1PciConfigurationSpaceSize|0x10000000
  203. gHisiTokenSpaceGuid.PcdHb1Rb2PciConfigurationSpaceBaseAddress|0x64000000000
  204. gHisiTokenSpaceGuid.PcdHb1Rb2PciConfigurationSpaceSize|0x400000000
  205. gHisiTokenSpaceGuid.PcdHb1Rb3PciConfigurationSpaceBaseAddress|0x400A0000000
  206. gHisiTokenSpaceGuid.PcdHb1Rb3PciConfigurationSpaceSize|0x10000000
  207. gHisiTokenSpaceGuid.PcdHb1Rb4PciConfigurationSpaceBaseAddress|0x74000000000
  208. gHisiTokenSpaceGuid.PcdHb1Rb4PciConfigurationSpaceSize|0x400000000
  209. gHisiTokenSpaceGuid.PcdHb1Rb5PciConfigurationSpaceBaseAddress|0x78000000000
  210. gHisiTokenSpaceGuid.PcdHb1Rb5PciConfigurationSpaceSize|0x400000000
  211. gHisiTokenSpaceGuid.PcdHb1Rb6PciConfigurationSpaceBaseAddress|0x408A0000000
  212. gHisiTokenSpaceGuid.PcdHb1Rb6PciConfigurationSpaceSize|0x10000000
  213. gHisiTokenSpaceGuid.PcdHb1Rb7PciConfigurationSpaceBaseAddress|0x408A0000000
  214. gHisiTokenSpaceGuid.PcdHb1Rb7PciConfigurationSpaceSize|0x10000000
  215. gHisiTokenSpaceGuid.PciHb0Rb0Base|0xa0090000
  216. gHisiTokenSpaceGuid.PciHb0Rb1Base|0xa0200000
  217. gHisiTokenSpaceGuid.PciHb0Rb2Base|0xa00a0000
  218. gHisiTokenSpaceGuid.PciHb0Rb3Base|0xa00b0000
  219. gHisiTokenSpaceGuid.PciHb0Rb4Base|0x8a0090000
  220. gHisiTokenSpaceGuid.PciHb0Rb5Base|0x8a0200000
  221. gHisiTokenSpaceGuid.PciHb0Rb6Base|0x8a00a0000
  222. gHisiTokenSpaceGuid.PciHb0Rb7Base|0x8a00b0000
  223. gHisiTokenSpaceGuid.PciHb1Rb0Base|0x600a0090000
  224. gHisiTokenSpaceGuid.PciHb1Rb1Base|0x600a0200000
  225. gHisiTokenSpaceGuid.PciHb1Rb2Base|0x600a00a0000
  226. gHisiTokenSpaceGuid.PciHb1Rb3Base|0x600a00b0000
  227. gHisiTokenSpaceGuid.PciHb1Rb4Base|0x700a0090000
  228. gHisiTokenSpaceGuid.PciHb1Rb5Base|0x700a0200000
  229. gHisiTokenSpaceGuid.PciHb1Rb6Base|0x700a00a0000
  230. gHisiTokenSpaceGuid.PciHb1Rb7Base|0x700a00b0000
  231. gHisiTokenSpaceGuid.PcdHb0Rb0PciRegionBaseAddress|0xa8400000
  232. gHisiTokenSpaceGuid.PcdHb0Rb0PciRegionSize|0xbeffff
  233. gHisiTokenSpaceGuid.PcdHb0Rb1PciRegionBaseAddress|0xa9400000
  234. gHisiTokenSpaceGuid.PcdHb0Rb1PciRegionSize|0xbeffff
  235. gHisiTokenSpaceGuid.PcdHb0Rb2PciRegionBaseAddress|0xa8800000
  236. gHisiTokenSpaceGuid.PcdHb0Rb2PciRegionSize|0x77effff
  237. gHisiTokenSpaceGuid.PcdHb0Rb3PciRegionBaseAddress|0xab400000
  238. gHisiTokenSpaceGuid.PcdHb0Rb3PciRegionSize|0xbeffff
  239. gHisiTokenSpaceGuid.PcdHb0Rb4PciRegionBaseAddress|0xa9000000
  240. gHisiTokenSpaceGuid.PcdHb0Rb4PciRegionSize|0x2feffff
  241. gHisiTokenSpaceGuid.PcdHb0Rb5PciRegionBaseAddress|0xb0800000
  242. gHisiTokenSpaceGuid.PcdHb0Rb5PciRegionSize|0x77effff
  243. gHisiTokenSpaceGuid.PcdHb0Rb6PciRegionBaseAddress|0xac900000
  244. gHisiTokenSpaceGuid.PcdHb0Rb6PciRegionSize|0x36effff
  245. gHisiTokenSpaceGuid.PcdHb0Rb7PciRegionBaseAddress|0xb9800000
  246. gHisiTokenSpaceGuid.PcdHb0Rb7PciRegionSize|0x67effff
  247. gHisiTokenSpaceGuid.PcdHb1Rb0PciRegionBaseAddress|0x400a8400000
  248. gHisiTokenSpaceGuid.PcdHb1Rb0PciRegionSize|0xbeffff
  249. gHisiTokenSpaceGuid.PcdHb1Rb1PciRegionBaseAddress|0x400a9400000
  250. gHisiTokenSpaceGuid.PcdHb1Rb1PciRegionSize|0xbeffff
  251. gHisiTokenSpaceGuid.PcdHb1Rb2PciRegionBaseAddress|0x20000000
  252. gHisiTokenSpaceGuid.PcdHb1Rb2PciRegionSize|0xcfffffff
  253. gHisiTokenSpaceGuid.PcdHb1Rb3PciRegionBaseAddress|0x400ab400000
  254. gHisiTokenSpaceGuid.PcdHb1Rb3PciRegionSize|0xbeffff
  255. gHisiTokenSpaceGuid.PcdHb1Rb4PciRegionBaseAddress|0x30000000
  256. gHisiTokenSpaceGuid.PcdHb1Rb4PciRegionSize|0xbfffffff
  257. gHisiTokenSpaceGuid.PcdHb1Rb5PciRegionBaseAddress|0x40000000
  258. gHisiTokenSpaceGuid.PcdHb1Rb5PciRegionSize|0xafffffff
  259. gHisiTokenSpaceGuid.PcdHb1Rb6PciRegionBaseAddress|0x408aa400000
  260. gHisiTokenSpaceGuid.PcdHb1Rb6PciRegionSize|0xbeffff
  261. gHisiTokenSpaceGuid.PcdHb1Rb7PciRegionBaseAddress|0x408ab400000
  262. gHisiTokenSpaceGuid.PcdHb1Rb7PciRegionSize|0xbeffff
  263. gHisiTokenSpaceGuid.PcdHb0Rb0CpuMemRegionBase|0xA8400000
  264. gHisiTokenSpaceGuid.PcdHb0Rb1CpuMemRegionBase|0xA9400000
  265. gHisiTokenSpaceGuid.PcdHb0Rb2CpuMemRegionBase|0xA8800000
  266. gHisiTokenSpaceGuid.PcdHb0Rb3CpuMemRegionBase|0xAB400000
  267. gHisiTokenSpaceGuid.PcdHb0Rb4CpuMemRegionBase|0x8A9000000
  268. gHisiTokenSpaceGuid.PcdHb0Rb5CpuMemRegionBase|0x8B0800000
  269. gHisiTokenSpaceGuid.PcdHb0Rb6CpuMemRegionBase|0x8AC900000
  270. gHisiTokenSpaceGuid.PcdHb0Rb7CpuMemRegionBase|0x8B9800000
  271. gHisiTokenSpaceGuid.PcdHb1Rb0CpuMemRegionBase|0x400A8400000
  272. gHisiTokenSpaceGuid.PcdHb1Rb1CpuMemRegionBase|0x400A9400000
  273. gHisiTokenSpaceGuid.PcdHb1Rb2CpuMemRegionBase|0x65020000000
  274. gHisiTokenSpaceGuid.PcdHb1Rb3CpuMemRegionBase|0x400AB400000
  275. gHisiTokenSpaceGuid.PcdHb1Rb4CpuMemRegionBase|0x75030000000
  276. gHisiTokenSpaceGuid.PcdHb1Rb5CpuMemRegionBase|0x79040000000
  277. gHisiTokenSpaceGuid.PcdHb1Rb6CpuMemRegionBase|0x408AA400000
  278. gHisiTokenSpaceGuid.PcdHb1Rb7CpuMemRegionBase|0x408AB400000
  279. gHisiTokenSpaceGuid.PcdHb0Rb0CpuIoRegionBase|0xa8ff0000
  280. gHisiTokenSpaceGuid.PcdHb0Rb1CpuIoRegionBase|0xa9ff0000
  281. gHisiTokenSpaceGuid.PcdHb0Rb2CpuIoRegionBase|0xafff0000
  282. gHisiTokenSpaceGuid.PcdHb0Rb3CpuIoRegionBase|0xabff0000
  283. gHisiTokenSpaceGuid.PcdHb0Rb4CpuIoRegionBase|0x8abff0000
  284. gHisiTokenSpaceGuid.PcdHb0Rb5CpuIoRegionBase|0x8b7ff0000
  285. gHisiTokenSpaceGuid.PcdHb0Rb6CpuIoRegionBase|0x8afff0000
  286. gHisiTokenSpaceGuid.PcdHb0Rb7CpuIoRegionBase|0x8bfff0000
  287. gHisiTokenSpaceGuid.PcdHb1Rb0CpuIoRegionBase|0x400a8ff0000
  288. gHisiTokenSpaceGuid.PcdHb1Rb1CpuIoRegionBase|0x400a9ff0000
  289. gHisiTokenSpaceGuid.PcdHb1Rb2CpuIoRegionBase|0x67fffff0000
  290. gHisiTokenSpaceGuid.PcdHb1Rb3CpuIoRegionBase|0x400abff0000
  291. gHisiTokenSpaceGuid.PcdHb1Rb4CpuIoRegionBase|0x77fffff0000
  292. gHisiTokenSpaceGuid.PcdHb1Rb5CpuIoRegionBase|0x7bfffff0000
  293. gHisiTokenSpaceGuid.PcdHb1Rb6CpuIoRegionBase|0x408aaff0000
  294. gHisiTokenSpaceGuid.PcdHb1Rb7CpuIoRegionBase|0x408abff0000
  295. gHisiTokenSpaceGuid.PcdHb0Rb0IoBase|0
  296. gHisiTokenSpaceGuid.PcdHb0Rb0IoSize|0xffff #64K
  297. gHisiTokenSpaceGuid.PcdHb0Rb1IoBase|0
  298. gHisiTokenSpaceGuid.PcdHb0Rb1IoSize|0xffff #64K
  299. gHisiTokenSpaceGuid.PcdHb0Rb2IoBase|0
  300. gHisiTokenSpaceGuid.PcdHb0Rb2IoSize|0xffff #64K
  301. gHisiTokenSpaceGuid.PcdHb0Rb3IoBase|0
  302. gHisiTokenSpaceGuid.PcdHb0Rb3IoSize|0xffff #64K
  303. gHisiTokenSpaceGuid.PcdHb0Rb4IoBase|0
  304. gHisiTokenSpaceGuid.PcdHb0Rb4IoSize|0xffff #64K
  305. gHisiTokenSpaceGuid.PcdHb0Rb5IoBase|0
  306. gHisiTokenSpaceGuid.PcdHb0Rb5IoSize|0xffff #64K
  307. gHisiTokenSpaceGuid.PcdHb0Rb6IoBase|0
  308. gHisiTokenSpaceGuid.PcdHb0Rb6IoSize|0xffff #64K
  309. gHisiTokenSpaceGuid.PcdHb0Rb7IoBase|0
  310. gHisiTokenSpaceGuid.PcdHb0Rb7IoSize|0xffff #64K
  311. gHisiTokenSpaceGuid.PcdHb1Rb0IoBase|0
  312. gHisiTokenSpaceGuid.PcdHb1Rb0IoSize|0xffff #64K
  313. gHisiTokenSpaceGuid.PcdHb1Rb1IoBase|0
  314. gHisiTokenSpaceGuid.PcdHb1Rb1IoSize|0xffff #64K
  315. gHisiTokenSpaceGuid.PcdHb1Rb2IoBase|0
  316. gHisiTokenSpaceGuid.PcdHb1Rb2IoSize|0xffff #64K
  317. gHisiTokenSpaceGuid.PcdHb1Rb3IoBase|0
  318. gHisiTokenSpaceGuid.PcdHb1Rb3IoSize|0xffff #64K
  319. gHisiTokenSpaceGuid.PcdHb1Rb4IoBase|0
  320. gHisiTokenSpaceGuid.PcdHb1Rb4IoSize|0xffff #64K
  321. gHisiTokenSpaceGuid.PcdHb1Rb5IoBase|0
  322. gHisiTokenSpaceGuid.PcdHb1Rb5IoSize|0xffff #64K
  323. gHisiTokenSpaceGuid.PcdHb1Rb6IoBase|0
  324. gHisiTokenSpaceGuid.PcdHb1Rb6IoSize|0xffff #64K
  325. gHisiTokenSpaceGuid.PcdHb1Rb7IoBase|0
  326. gHisiTokenSpaceGuid.PcdHb1Rb7IoSize|0xffff #64K
  327. gHisiTokenSpaceGuid.Pcdsoctype|0x1610
  328. ################################################################################
  329. #
  330. # Components Section - list of all EDK II Modules needed by this Platform
  331. #
  332. ################################################################################
  333. [Components.common]
  334. #
  335. # SEC
  336. #
  337. #
  338. # PEI Phase modules
  339. #
  340. ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf
  341. MdeModulePkg/Core/Pei/PeiMain.inf
  342. MdeModulePkg/Universal/PCD/Pei/Pcd.inf
  343. Platform/Hisilicon/D05/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.inf
  344. ArmPlatformPkg/PlatformPei/PlatformPeim.inf
  345. Platform/Hisilicon/D05/MemoryInitPei/MemoryInitPeim.inf
  346. ArmPkg/Drivers/CpuPei/CpuPei.inf
  347. IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
  348. MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
  349. MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
  350. Platform/Hisilicon/D05/EarlyConfigPeim/EarlyConfigPeimD05.inf
  351. Silicon/Hisilicon/Drivers/VersionInfoPeim/VersionInfoPeim.inf
  352. MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
  353. <LibraryClasses>
  354. NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
  355. }
  356. #
  357. # DXE
  358. #
  359. MdeModulePkg/Core/Dxe/DxeMain.inf {
  360. <LibraryClasses>
  361. NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
  362. }
  363. MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
  364. Silicon/Hisilicon/Hi1610/Drivers/IoInitDxe/IoInitDxe.inf
  365. #
  366. # Architectural Protocols
  367. #
  368. ArmPkg/Drivers/CpuDxe/CpuDxe.inf
  369. MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
  370. Platform/Hisilicon/D03/Drivers/OemNicConfig2PHi1610/OemNicConfig2P.inf
  371. Platform/Hisilicon/D05/Drivers/SFC/SfcDxeDriver.inf
  372. MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
  373. # Sometimes we can use EmuVariableRuntimeDxe instead of real flash variable store for debug.
  374. #MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
  375. Silicon/Hisilicon/Drivers/FlashFvbDxe/FlashFvbDxe.inf
  376. MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
  377. <LibraryClasses>
  378. NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
  379. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  380. }
  381. MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
  382. MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
  383. MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
  384. MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
  385. EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf {
  386. <LibraryClasses>
  387. CpldIoLib|Silicon/Hisilicon/Library/CpldIoLib/CpldIoLibRuntime.inf
  388. }
  389. EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
  390. MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
  391. MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
  392. MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
  393. MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
  394. MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
  395. # Simple TextIn/TextOut for UEFI Terminal
  396. EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf
  397. MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
  398. ArmPkg/Drivers/ArmGic/ArmGicDxe.inf
  399. ArmPkg/Drivers/TimerDxe/TimerDxe.inf
  400. ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805WatchdogDxe.inf
  401. IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
  402. #
  403. #ACPI
  404. #
  405. Silicon/Hisilicon/Drivers/HisiAcpiPlatformDxe/AcpiPlatformDxe.inf
  406. MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
  407. Silicon/Hisilicon/Hi1616/D05AcpiTables/AcpiTablesHi1616.inf
  408. Silicon/Hisilicon/Drivers/AcpiPlatformDxe/AcpiPlatformDxe.inf
  409. #
  410. # Usb Support
  411. #
  412. Silicon/Hisilicon/Drivers/VirtualEhciPciIo/VirtualEhciPciIo.inf
  413. MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
  414. MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
  415. MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
  416. MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
  417. MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf
  418. MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
  419. Platform/Hisilicon/D05/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.inf
  420. #
  421. #network
  422. #
  423. Platform/Hisilicon/D05/Drivers/Net/SnpPV660Dxe/SnpPV600Dxe.inf
  424. MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
  425. MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
  426. MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
  427. MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
  428. MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
  429. MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
  430. MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
  431. !if $(NETWORK_IP6_ENABLE) == TRUE
  432. NetworkPkg/Ip6Dxe/Ip6Dxe.inf
  433. NetworkPkg/TcpDxe/TcpDxe.inf
  434. NetworkPkg/Udp6Dxe/Udp6Dxe.inf
  435. NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
  436. NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
  437. NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
  438. !else
  439. MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
  440. MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
  441. !endif
  442. MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
  443. !if $(HTTP_BOOT_ENABLE) == TRUE
  444. NetworkPkg/DnsDxe/DnsDxe.inf
  445. NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf
  446. NetworkPkg/HttpDxe/HttpDxe.inf
  447. NetworkPkg/HttpBootDxe/HttpBootDxe.inf
  448. !endif
  449. Platform/Hisilicon/D05/Drivers/Sas/SasDxeDriver.inf
  450. #
  451. # FAT filesystem + GPT/MBR partitioning
  452. #
  453. MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
  454. MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
  455. MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
  456. #
  457. # Bds
  458. #
  459. MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
  460. Platform/Hisilicon/D05/Drivers/GetInfoFromBmc/GetInfoFromBmc.inf
  461. Platform/Hisilicon/D05/Drivers/TransferSmbiosInfo/TransSmbiosInfo.inf
  462. Platform/Hisilicon/D05/Drivers/IpmiMiscOpDxe/IpmiMiscOpDxe.inf
  463. Platform/Hisilicon/D05/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.inf
  464. MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
  465. Silicon/Hisilicon/Drivers/Smbios/SmbiosMiscDxe/SmbiosMiscDxe.inf
  466. !ifdef $(FDT_ENABLE)
  467. Silicon/Hisilicon/Drivers/UpdateFdtDxe/UpdateFdtDxe.inf {
  468. <LibraryClasses>
  469. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  470. }
  471. !endif #$(FDT_ENABLE)
  472. #PCIe Support
  473. Silicon/Hisilicon/Hi1610/Drivers/PcieInit1610/PcieInitDxe.inf {
  474. <LibraryClasses>
  475. NULL|Platform/Hisilicon/D05/Library/PlatformPciLib/PlatformPciLib.inf
  476. }
  477. Platform/Hisilicon/D03/Drivers/PciPlatform/PciPlatform.inf
  478. Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciHostBridgeDxe.inf {
  479. <LibraryClasses>
  480. NULL|Platform/Hisilicon/D05/Library/PlatformPciLib/PlatformPciLib.inf
  481. }
  482. MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
  483. Platform/Hisilicon/D05/Drivers/ReportPciePlugDidVidToBmc/ReportPciePlugDidVidToBmc.inf
  484. Silicon/Hisilicon/Drivers/Smbios/AddSmbiosType9/AddSmbiosType9.inf
  485. Platform/Hisilicon/D05/Drivers/Sm750Dxe/UefiSmi.inf
  486. MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
  487. Silicon/Hisilicon/Drivers/Smbios/MemorySubClassDxe/MemorySubClassDxe.inf
  488. Silicon/Hisilicon/Drivers/Smbios/ProcessorSubClassDxe/ProcessorSubClassDxe.inf
  489. #
  490. # Memory test
  491. #
  492. MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
  493. MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
  494. MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
  495. IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
  496. #
  497. # UEFI application (Shell Embedded Boot Loader)
  498. #
  499. ShellPkg/Application/Shell/Shell.inf {
  500. <LibraryClasses>
  501. ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
  502. NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
  503. NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
  504. NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
  505. NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
  506. NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
  507. NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
  508. NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
  509. HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
  510. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  511. BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
  512. !if $(NETWORK_IP6_ENABLE) == TRUE
  513. NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
  514. !endif
  515. !ifdef $(INCLUDE_DP)
  516. NULL|ShellPkg/Library/UefiDpLib/UefiDpLib.inf
  517. !endif #$(INCLUDE_DP)
  518. !ifdef $(INCLUDE_TFTP_COMMAND)
  519. NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf
  520. !endif #$(INCLUDE_TFTP_COMMAND)
  521. <PcdsFixedAtBuild>
  522. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
  523. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  524. gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
  525. }