From: sunshuyu <1582956180@qq.com> Date: 星期二, 8 Mar 2022 05:40:39 +0000 (+0800) Subject: Enable LinuxSimpleMassStorage on dipper X-Git-Tag: v2.0rc1~8^2 X-Git-Url: https://git.renegade-project.org/?a=commitdiff_plain;h=refs%2Fpull%2F108%2Fhead;p=edk2-sdm845.git Enable LinuxSimpleMassStorage on dipper --- diff --git a/sdm845Pkg/Devices/dipper.dsc b/sdm845Pkg/Devices/dipper.dsc index 91ebe5f..a8850ba 100644 --- a/sdm845Pkg/Devices/dipper.dsc +++ b/sdm845Pkg/Devices/dipper.dsc @@ -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] diff --git a/sdm845Pkg/Devices/dipper.fdf b/sdm845Pkg/Devices/dipper.fdf index 981c995..2252b6b 100644 --- a/sdm845Pkg/Devices/dipper.fdf +++ b/sdm845Pkg/Devices/dipper.fdf @@ -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 #