Enable LinuxSimpleMassStorage on dipper 108/head
authorsunshuyu <1582956180@qq.com>
星期二, 8 Mar 2022 05:40:39 +0000 (13:40 +0800)
committersunshuyu <1582956180@qq.com>
星期二, 8 Mar 2022 05:40:39 +0000 (13:40 +0800)
sdm845Pkg/Devices/dipper.dsc
sdm845Pkg/Devices/dipper.fdf

index 91ebe5fa58bceaeb3a28a4e7434afbec97b9faea..a8850ba52b8b51cf95dd10368e4808996335a6ab 100644 (file)
@@ -12,7 +12,7 @@
 !include sdm845Pkg/sdm845Pkg.dsc
 
 [BuildOptions.common]
-  GCC:*_*_AARCH64_CC_FLAGS = -DXIAOMI_PIL_FIXED=1 -DENABLE_SIMPLE_INIT
+  GCC:*_*_AARCH64_CC_FLAGS = -DXIAOMI_PIL_FIXED=1 -DENABLE_SIMPLE_INIT -DENABLE_LINUX_SIMPLE_MASS_STORAGE
 
 [PcdsFixedAtBuild.common]
 
index 981c9957ad77701e963a275edf076f8086c181a8..2252b6bb4e51415e36159c38c27652a7c4fd9c20 100644 (file)
@@ -555,6 +555,16 @@ APRIORI DXE {
     SECTION UI = "AcpiTables"
   }
 
+  #
+  # FDT support
+  #
+  INF EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformDxe.inf
+
+  FILE FREEFORM = 25462CDA-221F-47DF-AC1D-259CFAA4E326 {
+    SECTION RAW = sdm845Pkg/FdtBlob/sdm845-xiaomi-polaris.dtb
+  }
+
+
   #
   # SMBIOS Support
   #
@@ -569,6 +579,8 @@ APRIORI DXE {
   INF ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf
 !endif #$(INCLUDE_TFTP_COMMAND)
 
+  INF sdm845Pkg/Binary/845/LinuxSimpleMassStorage/LinuxSimpleMassStorage.inf
+
   #
   # Bds
   #