Kaynağa Gözat

Platform/RaspberryPi: Enable NVMe boot on CM4

The CM4 has a number of carrier boards with PCIe
slots. With the PCIe changes in place its quite
possible to utilize a NVMe root device. Lets allow
people to boot from it.

Reviewed-by: Andrei Warkentin <awarkentin@vmware.com>
Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Reviewed-By: Samer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@arm.com>
Jeremy Linton 2 yıl önce
ebeveyn
işleme
5a6706e679

+ 5 - 0
Platform/RaspberryPi/RPi4/RPi4.dsc

@@ -753,6 +753,11 @@
       gEmbeddedTokenSpaceGuid.PcdDmaDeviceLimit|0xbfffffff
   }
 
+  #
+  # NVMe boot devices
+  #
+  MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
+
   #
   # UEFI application (Shell Embedded Boot Loader)
   #

+ 5 - 0
Platform/RaspberryPi/RPi4/RPi4.fdf

@@ -282,6 +282,11 @@ READ_LOCK_STATUS   = TRUE
   INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
   INF EmbeddedPkg/Drivers/NonCoherentIoMmuDxe/NonCoherentIoMmuDxe.inf
 
+  #
+  # NVMe boot devices
+  #
+  INF MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
+
   #
   # SCSI Bus and Disk Driver
   #