sdm845Pkg: Devices: add SimpleInitGUI support for perseus
authorBigfootACA <bigfoot@classfun.cn>
星期一, 13 Sep 2021 09:01:08 +0000 (17:01 +0800)
committerBigfootACA <bigfoot@classfun.cn>
星期一, 13 Sep 2021 09:01:08 +0000 (17:01 +0800)
Signed-off-by: BigfootACA <bigfoot@classfun.cn>
sdm845Pkg/Devices/perseus.dsc
sdm845Pkg/Devices/perseus.fdf

index 4904d5837bd48049144fc685b24029896c34c85d..8de26f5af82f612e6b4a3ddd1fd49a9c4e0808b6 100644 (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=403 -DENABLE_SIMPLE_INIT
 
 [PcdsFixedAtBuild.common]
   # System Memory (5GB)
index c5904ac2e76eca28b307ba18c07add9fb56fe6b1..dbe0dbbf74766ec9f25fa69f892974da699ee7cb 100644 (file)
@@ -559,6 +559,10 @@ 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