Enable SimpleInit on polaris

G0d BigfootACA and fxsheep

Signed-off-by: Sophon <strongtz@yeah.net>
This commit is contained in:
Sophon 2021-09-13 18:48:33 +08:00
parent 9f2d5e2d6a
commit 664c55365c
3 changed files with 8 additions and 3 deletions

View File

@ -12,7 +12,7 @@
!include sdm845Pkg/sdm845Pkg.dsc
[BuildOptions.common]
GCC:*_*_AARCH64_CC_FLAGS = -DXIAOMI_PIL_FIXED=1 -DMEMORY_8G=1
GCC:*_*_AARCH64_CC_FLAGS = -DXIAOMI_PIL_FIXED=1 -DMEMORY_8G=1 -DDISPLAY_DPI=440 -DENABLE_SIMPLE_INIT
[PcdsFixedAtBuild.common]
# System Memory (7GB)

View File

@ -12,7 +12,7 @@
!include sdm845Pkg/sdm845Pkg.dsc
[BuildOptions.common]
GCC:*_*_AARCH64_CC_FLAGS = -DXIAOMI_PIL_FIXED=1
GCC:*_*_AARCH64_CC_FLAGS = -DXIAOMI_PIL_FIXED=1 -DDISPLAY_DPI=440 -DENABLE_SIMPLE_INIT
[PcdsFixedAtBuild.common]
# System Memory (5GB)

View File

@ -67,7 +67,7 @@ DATA = {
0x00, 0x00, 0x00, 0x00 # res5
}
0x00008000|0x001f8000
0x00008000|0x004f8000
gArmTokenSpaceGuid.PcdFvBaseAddress|gArmTokenSpaceGuid.PcdFvSize
FV = FVMAIN_COMPACT
@ -570,6 +570,11 @@ APRIORI DXE {
INF MdeModulePkg/Application/UiApp/UiApp.inf
INF sdm845Pkg/Drivers/LogoDxe/LogoDxe.inf
#
# Simple Init GUI
#
INF src/main/SimpleInitMain.inf
[FV.FVMAIN_COMPACT]
FvAlignment = 8
ERASE_POLARITY = 1