Pv660D02.dsc 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453
  1. #
  2. # Copyright (c) 2011-2012, ARM Limited. All rights reserved.
  3. # Copyright (c) 2015, Hisilicon Limited. All rights reserved.
  4. # Copyright (c) 2015, 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 = Pv660D02
  22. PLATFORM_GUID = E1AB8AC3-3EF1-4c6f-8D9F-ABE3EC67188E
  23. PLATFORM_VERSION = 0.1
  24. DSC_SPECIFICATION = 0x00010005
  25. OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME)
  26. SUPPORTED_ARCHITECTURES = AARCH64
  27. BUILD_TARGETS = DEBUG|RELEASE
  28. SKUID_IDENTIFIER = DEFAULT
  29. FLASH_DEFINITION = Platform/Hisilicon/D02/$(PLATFORM_NAME).fdf
  30. DEFINE INCLUDE_TFTP_COMMAND=1
  31. !include Silicon/Hisilicon/Hisilicon.dsc.inc
  32. [LibraryClasses.common]
  33. ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
  34. ArmPlatformLib|Silicon/Hisilicon/Library/ArmPlatformLibHisilicon/ArmPlatformLib.inf
  35. ArmPlatformSysConfigLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf
  36. NorFlashPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/NorFlashArmVExpressLib/NorFlashArmVExpressLib.inf
  37. LcdPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/PL111LcdArmVExpressLib/PL111LcdArmVExpressLib.inf
  38. I2CLib|Silicon/Hisilicon/Library/I2CLib/I2CLib.inf
  39. TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf
  40. IpmiCmdLib|Silicon/Hisilicon/Hi1610/Library/IpmiCmdLib/IpmiCmdLib.inf
  41. NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
  42. DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
  43. HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
  44. UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
  45. UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
  46. UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
  47. IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
  48. !ifdef $(FDT_ENABLE)
  49. #FDTUpdateLib
  50. FdtUpdateLib|Platform/Hisilicon/D02/FdtUpdateLibD02/FdtUpdateLib.inf
  51. !endif #$(FDT_ENABLE)
  52. CpldIoLib|Silicon/Hisilicon/Library/CpldIoLib/CpldIoLib.inf
  53. SerdesLib|Silicon/Hisilicon/Pv660/Library/Pv660Serdes/Pv660SerdesLib.inf
  54. TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf
  55. RealTimeClockLib|Silicon/Hisilicon/Library/DS3231RealTimeClockLib/DS3231RealTimeClockLib.inf
  56. OemMiscLib|Platform/Hisilicon/D02/Library/OemMiscLibD02/OemMiscLibD02.inf
  57. OemAddressMapLib|Platform/Hisilicon/D02/Library/AddressMapPv660D02/OemAddressMapPv660D02.inf
  58. PlatformSysCtrlLib|Silicon/Hisilicon/Pv660/Library/PlatformSysCtrlLibPv660/PlatformSysCtrlLibPv660.inf
  59. CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
  60. GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
  61. PlatformBdsLib|Silicon/Hisilicon/Library/PlatformIntelBdsLib/PlatformIntelBdsLib.inf
  62. CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
  63. ## GIC on D02/D03 is not fully ARM GIC compatible: IRQ cannot be cancelled when
  64. ## input signal is de-asserted, except for virtual timer interrupt IRQ #27.
  65. ## So we choose to use virtual timer instead of physical one as a workaround.
  66. ## This library instance is to override the original define in LibraryClasses.AARCH64 in Hisilicon.dsc.inc.
  67. [LibraryClasses.AARCH64]
  68. ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerVirtCounterLib/ArmGenericTimerVirtCounterLib.inf
  69. [LibraryClasses.common.SEC]
  70. ArmPlatformLib|Silicon/Hisilicon/Library/ArmPlatformLibHisilicon/ArmPlatformLibSec.inf
  71. [LibraryClasses.common.DXE_RUNTIME_DRIVER]
  72. I2CLib|Silicon/Hisilicon/Library/I2CLib/I2CLibRuntime.inf
  73. [BuildOptions]
  74. GCC:*_*_AARCH64_PLATFORM_FLAGS == -I$(WORKSPACE)/Silicon/Hisilicon/Pv660/Include
  75. ################################################################################
  76. #
  77. # Pcd Section - list of all EDK II PCD Entries defined by this Platform
  78. #
  79. ################################################################################
  80. [PcdsFeatureFlag.common]
  81. ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.
  82. # It could be set FALSE to save size.
  83. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|FALSE
  84. [PcdsFixedAtBuild.common]
  85. gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"D02"
  86. gArmPlatformTokenSpaceGuid.PcdCoreCount|8
  87. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
  88. # Stacks for MPCores in Secure World
  89. gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0xE1000000
  90. gArmPlatformTokenSpaceGuid.PcdCPUCoreSecPrimaryStackSize|0x10000
  91. # Stacks for MPCores in Monitor Mode
  92. gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0xE100FF00
  93. gArmPlatformTokenSpaceGuid.PcdCPUCoreSecMonStackSize|0x100
  94. # Stacks for MPCores in Normal World
  95. gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0xE1000000
  96. gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize|0xFF00
  97. gArmTokenSpaceGuid.PcdSystemMemoryBase|0x00000000
  98. gArmTokenSpaceGuid.PcdSystemMemorySize|0x3FC00000
  99. # Size of the region used by UEFI in permanent memory (Reserved 64MB)
  100. gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x10000000
  101. ## SP805 Watchdog - Motherboard Watchdog
  102. gArmPlatformTokenSpaceGuid.PcdSP805WatchdogBase|0x801e0000
  103. ## Serial Terminal
  104. gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x80300000
  105. gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|115200
  106. gHisiTokenSpaceGuid.PcdUartClkInHz|200000000
  107. gHisiTokenSpaceGuid.PcdSerialPortSendDelay|10000000
  108. gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits|8
  109. gEfiMdePkgTokenSpaceGuid.PcdUartDefaultParity|1
  110. gEfiMdePkgTokenSpaceGuid.PcdUartDefaultStopBits|1
  111. gHisiTokenSpaceGuid.PcdM3SmmuBaseAddress|0xa0040000
  112. gHisiTokenSpaceGuid.PcdPcieSmmuBaseAddress|0xb0040000
  113. gHisiTokenSpaceGuid.PcdDsaSmmuBaseAddress|0xc0040000
  114. gHisiTokenSpaceGuid.PcdAlgSmmuBaseAddress|0xd0040000
  115. gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"Hisilicon D02 UEFI 16.08 RC1"
  116. gHisiTokenSpaceGuid.PcdSystemProductName|L"D02"
  117. gHisiTokenSpaceGuid.PcdSystemVersion|L"Estuary"
  118. gHisiTokenSpaceGuid.PcdBaseBoardProductName|L"D02"
  119. gHisiTokenSpaceGuid.PcdBaseBoardVersion|L"Estuary"
  120. gHisiTokenSpaceGuid.PcdSlotPerChannelNum|0x2
  121. #
  122. # ARM PL390 General Interrupt Controller
  123. #
  124. gArmTokenSpaceGuid.PcdGicDistributorBase|0x8D000000
  125. gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0xFE000000
  126. gArmTokenSpaceGuid.PcdGicRedistributorsBase|0x8D100000
  127. ## DTB address at spi flash
  128. gHisiTokenSpaceGuid.FdtFileAddress|0xA4B00000
  129. gHisiTokenSpaceGuid.PcdNORFlashBase|0x90000000
  130. gHisiTokenSpaceGuid.PcdNORFlashCachableSize|0x8000000
  131. #
  132. # ARM OS Loader
  133. #
  134. # Versatile Express machine type (ARM VERSATILE EXPRESS = 2272) required for ARM Linux:
  135. gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"Linux from SATA"
  136. gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"EFI\GRUB2\grubaa64.efi"
  137. gArmPlatformTokenSpaceGuid.PcdDefaultBootArgument|""
  138. # Use the serial console (ConIn & ConOut) and the Graphic driver (ConOut)
  139. gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(115200,8,N,1)/VenPcAnsi();VenHw(407B4008-BF5B-11DF-9547-CF16E0D72085)"
  140. gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(115200,8,N,1)/VenPcAnsi()"
  141. #
  142. # ARM Architectual Timer Frequency
  143. #
  144. gArmTokenSpaceGuid.PcdArmArchTimerFreqInHz|50000000
  145. gHisiTokenSpaceGuid.PcdSysControlBaseAddress|0x80010000
  146. gHisiTokenSpaceGuid.PcdMailBoxAddress|0x0000FFF8
  147. gHisiTokenSpaceGuid.PcdCpldBaseAddress|0x98000000
  148. gHisiTokenSpaceGuid.PcdSFCCFGBaseAddress|0xA6000000
  149. gHisiTokenSpaceGuid.PcdSFCMEM0BaseAddress|0xA4000000
  150. gHisiTokenSpaceGuid.PcdPeriSubctrlAddress|0x80000000
  151. gHisiTokenSpaceGuid.PcdMdioSubctrlAddress|0x80000000
  152. ## 1 SCCL + 1 SICL
  153. gHisiTokenSpaceGuid.PcdPlatformDefaultPackageType|0x0
  154. gHisiTokenSpaceGuid.PcdArmPrimaryCoreTemp|0x80020000
  155. gHisiTokenSpaceGuid.PcdTopOfLowMemory|0x80000000
  156. gHisiTokenSpaceGuid.PcdBottomOfHighMemory|0x1000000000
  157. gHisiTokenSpaceGuid.PcdTrustedFirmwareEnable|0x1
  158. gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
  159. gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
  160. ## SP804 DualTimer
  161. gArmPlatformTokenSpaceGuid.PcdSP804TimerFrequencyInMHz|200
  162. gArmPlatformTokenSpaceGuid.PcdSP804TimerPeriodicInterruptNum|304
  163. gArmPlatformTokenSpaceGuid.PcdSP804TimerPeriodicBase|0x80060000
  164. ## TODO: need to confirm the base for Performance and Metronome base for PV660
  165. gArmPlatformTokenSpaceGuid.PcdSP804TimerPerformanceBase|0x80060000
  166. gArmPlatformTokenSpaceGuid.PcdSP804TimerMetronomeBase|0x80060000
  167. gHisiTokenSpaceGuid.PcdPcieRootBridgeMask|0x6 # bit0:HB0RB0,bit1:HB0RB1,bit2:HB0RB2,bit3:HB0RB3,bit4:HB1RB0,bit5:HB1RB1,bit6:HB1RB2,bit7:HB1RB3
  168. gHisiTokenSpaceGuid.PcdHb1BaseAddress|0x400000000000 # 4T
  169. gHisiTokenSpaceGuid.PcdHb0Rb0PciConfigurationSpaceBaseAddress|0x30000000000
  170. gHisiTokenSpaceGuid.PcdHb0Rb0PciConfigurationSpaceSize|0x10000000000
  171. gHisiTokenSpaceGuid.PcdHb0Rb1PciConfigurationSpaceBaseAddress|0x22000000000
  172. gHisiTokenSpaceGuid.PcdHb0Rb1PciConfigurationSpaceSize|0x10000000
  173. gHisiTokenSpaceGuid.PcdHb0Rb2PciConfigurationSpaceBaseAddress|0x24000000000
  174. gHisiTokenSpaceGuid.PcdHb0Rb2PciConfigurationSpaceSize|0x10000000
  175. gHisiTokenSpaceGuid.PcdHb0Rb3PciConfigurationSpaceBaseAddress|0x26000000000
  176. gHisiTokenSpaceGuid.PcdHb0Rb3PciConfigurationSpaceSize|0x10000000
  177. gHisiTokenSpaceGuid.PciHb0Rb0Base|0xb0070000
  178. gHisiTokenSpaceGuid.PciHb0Rb1Base|0xb0080000
  179. gHisiTokenSpaceGuid.PciHb0Rb2Base|0xb0090000
  180. gHisiTokenSpaceGuid.PciHb0Rb3Base|0xb00a0000
  181. gHisiTokenSpaceGuid.PcdHb0Rb1PciRegionBaseAddress|0xb0000000
  182. gHisiTokenSpaceGuid.PcdHb0Rb1PciRegionSize|0x7feffff
  183. gHisiTokenSpaceGuid.PcdHb0Rb2PciRegionBaseAddress|0xc0000000
  184. gHisiTokenSpaceGuid.PcdHb0Rb2PciRegionSize|0x3feffff
  185. gHisiTokenSpaceGuid.PcdHb0Rb1CpuMemRegionBase|0x22008000000
  186. gHisiTokenSpaceGuid.PcdHb0Rb2CpuMemRegionBase|0x2400c000000
  187. gHisiTokenSpaceGuid.PcdHb0Rb1CpuIoRegionBase|0x2200fff0000
  188. gHisiTokenSpaceGuid.PcdHb0Rb2CpuIoRegionBase|0x2400fff0000
  189. gHisiTokenSpaceGuid.PcdHb0Rb1IoBase|0
  190. gHisiTokenSpaceGuid.PcdHb0Rb1IoSize|0xffff #64K
  191. gHisiTokenSpaceGuid.PcdHb0Rb2IoBase|0
  192. gHisiTokenSpaceGuid.PcdHb0Rb2IoSize|0xffff #64K
  193. ################################################################################
  194. #
  195. # Components Section - list of all EDK II Modules needed by this Platform
  196. #
  197. ################################################################################
  198. [Components.common]
  199. #
  200. # PEI Phase modules
  201. #
  202. ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf
  203. MdeModulePkg/Core/Pei/PeiMain.inf
  204. MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
  205. <LibraryClasses>
  206. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  207. }
  208. ArmPlatformPkg/PlatformPei/PlatformPeim.inf
  209. Platform/Hisilicon/D02/MemoryInitPei/MemoryInitPeim.inf
  210. ArmPkg/Drivers/CpuPei/CpuPei.inf
  211. IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
  212. MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
  213. MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
  214. Platform/Hisilicon/D02/EarlyConfigPeim/EarlyConfigPeim.inf
  215. Silicon/Hisilicon/Drivers/VersionInfoPeim/VersionInfoPeim.inf
  216. MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
  217. <LibraryClasses>
  218. NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
  219. }
  220. #
  221. # DXE
  222. #
  223. MdeModulePkg/Core/Dxe/DxeMain.inf {
  224. <LibraryClasses>
  225. NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
  226. }
  227. MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
  228. <LibraryClasses>
  229. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  230. }
  231. Silicon/Hisilicon/Pv660/Drivers/IoInitDxe/IoInitDxe.inf
  232. #
  233. # Architectural Protocols
  234. #
  235. ArmPkg/Drivers/CpuDxe/CpuDxe.inf
  236. MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
  237. Silicon/Hisilicon/Drivers/NorFlashDxe/NorFlashDxe.inf
  238. Platform/Hisilicon/D02/OemNicConfigD02/OemNicConfigD02.inf
  239. Platform/Hisilicon/D02/Drivers/SFC/SfcDxeDriver.inf
  240. MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
  241. MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
  242. Silicon/Hisilicon/Drivers/FlashFvbDxe/FlashFvbDxe.inf
  243. MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
  244. <LibraryClasses>
  245. NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
  246. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  247. }
  248. MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
  249. MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
  250. EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf
  251. MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
  252. MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
  253. EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
  254. EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
  255. MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
  256. MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
  257. MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
  258. MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
  259. MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
  260. # Simple TextIn/TextOut for UEFI Terminal
  261. EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf
  262. MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
  263. ArmPkg/Drivers/ArmGic/ArmGicDxe.inf
  264. ArmPkg/Drivers/TimerDxe/TimerDxe.inf
  265. ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805WatchdogDxe.inf
  266. IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
  267. #
  268. #ACPI
  269. #
  270. MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
  271. MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
  272. Silicon/Hisilicon/Pv660/Pv660AcpiTables/AcpiTables.inf
  273. Silicon/Hisilicon/Drivers/AcpiPlatformDxe/AcpiPlatformDxe.inf
  274. Silicon/Hisilicon/Pv660/Drivers/UnInstallAcpiTableDxe/UnInstallAcpiTable.inf
  275. #Pci Express
  276. Silicon/Hisilicon/Pv660/Drivers/PcieInitDxe/PcieInitDxe.inf
  277. Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciHostBridgeDxe.inf {
  278. <LibraryClasses>
  279. NULL|Platform/Hisilicon/D02/Library/PlatformPciLib/PlatformPciLib.inf
  280. }
  281. MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
  282. #
  283. #network
  284. #
  285. Platform/Hisilicon/D02/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.inf
  286. MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
  287. MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
  288. MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
  289. MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
  290. MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
  291. MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
  292. MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
  293. MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
  294. MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
  295. #
  296. # FAT filesystem + GPT/MBR partitioning
  297. #
  298. MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
  299. MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
  300. MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
  301. Silicon/Hisilicon/Drivers/SasV1Dxe/SasV1Dxe.inf
  302. MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
  303. MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
  304. Silicon/Hisilicon/Pv660/Drivers/SasInitDxe/SasV1Init.inf
  305. MdeModulePkg/Application/HelloWorld/HelloWorld.inf
  306. #
  307. # Bds
  308. #
  309. MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
  310. Platform/Hisilicon/D02/Drivers/AtaAtapiPassThru/AtaAtapiPassThru.inf
  311. MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
  312. #
  313. # USB Support
  314. #
  315. Silicon/Hisilicon/Drivers/VirtualEhciPciIo/VirtualEhciPciIo.inf
  316. MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
  317. MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
  318. MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
  319. MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
  320. Silicon/Hisilicon/Drivers/Smbios/SmbiosMiscDxe/SmbiosMiscDxe.inf
  321. Silicon/Hisilicon/Drivers/Smbios/MemorySubClassDxe/MemorySubClassDxe.inf
  322. Silicon/Hisilicon/Drivers/Smbios/ProcessorSubClassDxe/ProcessorSubClassDxe.inf
  323. !ifdef $(FDT_ENABLE)
  324. Silicon/Hisilicon/Drivers/UpdateFdtDxe/UpdateFdtDxe.inf {
  325. <LibraryClasses>
  326. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  327. }
  328. !endif #$(FDT_ENABLE)
  329. #
  330. # Memory test
  331. #
  332. MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/GenericMemoryTestDxe.inf
  333. MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
  334. MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
  335. IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
  336. #
  337. # UEFI application (Shell Embedded Boot Loader)
  338. #
  339. ShellPkg/Application/Shell/Shell.inf {
  340. <LibraryClasses>
  341. ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
  342. NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
  343. NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
  344. NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
  345. NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
  346. NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
  347. NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
  348. NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
  349. HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
  350. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  351. BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
  352. !ifdef $(INCLUDE_DP)
  353. NULL|ShellPkg/Library/UefiDpLib/UefiDpLib.inf
  354. !endif #$(INCLUDE_DP)
  355. !ifdef $(INCLUDE_TFTP_COMMAND)
  356. NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf
  357. !endif #$(INCLUDE_TFTP_COMMAND)
  358. <PcdsFixedAtBuild>
  359. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
  360. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  361. gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
  362. }