From fed476abc387c3df0e456f0f3182827c369cd747 Mon Sep 17 00:00:00 2001 From: BigfootACA Date: Mon, 31 Jan 2022 02:59:26 +0800 Subject: [PATCH] Enable LinuxSimpleMassStorage on perseus --- sdm845Pkg/Devices/perseus.dsc | 2 +- sdm845Pkg/Devices/perseus.fdf | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/sdm845Pkg/Devices/perseus.dsc b/sdm845Pkg/Devices/perseus.dsc index 2401c8e..ea3758d 100644 --- a/sdm845Pkg/Devices/perseus.dsc +++ b/sdm845Pkg/Devices/perseus.dsc @@ -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) diff --git a/sdm845Pkg/Devices/perseus.fdf b/sdm845Pkg/Devices/perseus.fdf index f74c2fd..ff9d6c0 100644 --- a/sdm845Pkg/Devices/perseus.fdf +++ b/sdm845Pkg/Devices/perseus.fdf @@ -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 # -- 2.45.2