Enable LinuxSimpleMassStorage on perseus
authorBigfootACA <bigfoot@classfun.cn>
星期天, 30 Jan 2022 18:59:26 +0000 (02:59 +0800)
committerBigfootACA <bigfoot@classfun.cn>
星期天, 30 Jan 2022 18:59:26 +0000 (02:59 +0800)
sdm845Pkg/Devices/perseus.dsc
sdm845Pkg/Devices/perseus.fdf

index 2401c8e7d3233e9489a57d1fe8c119885359b084..ea3758de8ce31663479ddc52da98fea73d9530bd 100644 (file)
@@ -12,7 +12,7 @@
 !include sdm845Pkg/sdm845Pkg.dsc
 
 [BuildOptions.common]
-  GCC:*_*_AARCH64_CC_FLAGS = -DXIAOMI_PIL_FIXED=1 -DDISPLAY_DPI=403 -DENABLE_SIMPLE_INIT
+  GCC:*_*_AARCH64_CC_FLAGS = -DXIAOMI_PIL_FIXED=1 -DDISPLAY_DPI=403 -DENABLE_SIMPLE_INIT -DENABLE_LINUX_SIMPLE_MASS_STORAGE
 
 [PcdsFixedAtBuild.common]
   # System Memory (5GB)
index f74c2fdab195a2b7b90831eef6bf4268d74d63ed..ff9d6c05c452d385ebe655e47b934da19da749a4 100644 (file)
@@ -539,6 +539,15 @@ 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
   #
@@ -553,6 +562,8 @@ APRIORI DXE {
   INF ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf
 !endif #$(INCLUDE_TFTP_COMMAND)
 
+  INF sdm845Pkg/Binary/845/LinuxSimpleMassStorage/LinuxSimpleMassStorage.inf
+
   #
   # Bds
   #