]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPlatformPkg/ArmJunoPkg/ArmJuno.dsc
ArmPlatformPkg/ArmJunoPkg: Enable PCI and SATA support
[mirror_edk2.git] / ArmPlatformPkg / ArmJunoPkg / ArmJuno.dsc
index 9b125289228b611117ecfba28c16dd5a8c2efc11..307d6ee0fda47f9c9850af0b794ec4e13bff69d6 100644 (file)
 [LibraryClasses.common.SEC]\r
   PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf\r
   ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf\r
-  LzmaDecompressLib|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
+  LzmaDecompressLib|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
   MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf\r
   HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf\r
   PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf\r
   PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r
   PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf\r
+\r
+[LibraryClasses.common.SEC, LibraryClasses.common.PEIM]\r
   MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf\r
 \r
 [LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.UEFI_APPLICATION, LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.DXE_DRIVER]\r
 \r
   gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE\r
 \r
-  #\r
-  # FDT installation : enable the development specific features\r
-  #\r
-  gEmbeddedTokenSpaceGuid.PcdOverridePlatformFdt|TRUE\r
-\r
 [PcdsFixedAtBuild.common]\r
   gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM Juno"\r
   gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ArmJuno"\r
   gArmTokenSpaceGuid.PcdGicDistributorBase|0x2C010000\r
   gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x2C02F000\r
 \r
+  #\r
+  # PLDA PCI Root Complex\r
+  #\r
+  gArmPlatformTokenSpaceGuid.PcdPciBusMax|255\r
+  gArmPlatformTokenSpaceGuid.PcdPciIoBase|0x5f800000\r
+  gArmPlatformTokenSpaceGuid.PcdPciIoSize|0x00800000\r
+  gArmPlatformTokenSpaceGuid.PcdPciMmio32Base|0x50000000\r
+  gArmPlatformTokenSpaceGuid.PcdPciMmio32Size|0x08000000\r
+  gArmPlatformTokenSpaceGuid.PcdPciMmio64Base|0x4000000000\r
+  gArmPlatformTokenSpaceGuid.PcdPciMmio64Size|0x100000000\r
+\r
   # List of Device Paths that support BootMonFs\r
   gArmPlatformTokenSpaceGuid.PcdBootMonFsSupportedDevicePaths|L"VenHw(E7223039-5836-41E1-B542-D7EC736C5E59)"\r
 \r
   #\r
   gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"Linux from NOR Flash"\r
   gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(E7223039-5836-41E1-B542-D7EC736C5E59)/Image"\r
-  gArmPlatformTokenSpaceGuid.PcdFdtDevicePath|L"VenHw(E7223039-5836-41E1-B542-D7EC736C5E59)/juno.dtb"\r
 \r
   # Support the Linux EFI stub by default\r
   gArmPlatformTokenSpaceGuid.PcdDefaultBootArgument|L"console=ttyAMA0,115200 earlycon=pl011,0x7ff80000 root=/dev/sda1 rootwait verbose debug"\r
   MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
   MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
 \r
+  # Required by PCI\r
+  UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
+\r
+  #\r
+  # PCI Support\r
+  #\r
+  MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf\r
+  ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/PciHostBridgeDxe.inf\r
+\r
+  #\r
+  # SATA Controller\r
+  #\r
+  MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
+  EmbeddedPkg/Drivers/SataSiI3132Dxe/SataSiI3132Dxe.inf\r
+\r
+  #\r
   # Networking stack\r
+  #\r
   EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.inf\r
 \r
   #\r