Enable LinuxSimpleMassStorage on perseus

This commit is contained in:
BigfootACA 2022-01-31 02:59:26 +08:00
parent f9e63c91e2
commit fed476abc3
2 changed files with 12 additions and 1 deletions

View 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)

View 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
#