sdm845Pkg: Library: PlatformBootManagerLib: PlatformBm.c: default boot to SimpleInitGUI
authorBigfootACA <bigfoot@classfun.cn>
星期五, 27 Aug 2021 05:54:36 +0000 (13:54 +0800)
committerBigfootACA <bigfoot@classfun.cn>
星期一, 13 Sep 2021 03:49:18 +0000 (11:49 +0800)
Signed-off-by: BigfootACA <bigfoot@classfun.cn>
sdm845Pkg/Library/PlatformBootManagerLib/PlatformBm.c
sdm845Pkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
sdm845Pkg/sdm845Pkg.dec

index 4b18d2d0f2cc77125331d3c789cb35ee37b2b7b4..ff77cbb4ef7742c4c6e21a1b2824a1346b8fef35 100644 (file)
@@ -741,6 +741,13 @@ PlatformBootManagerAfterConsole (
   //
   EfiBootManagerRefreshAllBootOption ();
 
+  //
+  // Register Simple Init GUI APP
+  //
+  PlatformRegisterFvBootOption (
+  &gSimpleInitFileGuid, L"Simple Init", LOAD_OPTION_ACTIVE
+  );
+
   //
   // Register UEFI Shell
   //
index 3a284b2072b4b697b48b5f58d65c75f74abd59aa..c67d83f2ad5df456ffffc5a89627cbce775bc3fc 100644 (file)
@@ -79,6 +79,7 @@
   gUefiShellFileGuid
   gUsbfnMsdAppFileGuid
   gSwitchSlotsAppFileGuid
+  gSimpleInitFileGuid
 
 [Protocols]
   gEdkiiNonDiscoverableDeviceProtocolGuid
index 7cf85626f7bffb017c290875edfe36f4e2af04c6..c35da96ad81e46910d7b5c94ec2d15dd70dc4b54 100644 (file)
@@ -47,6 +47,7 @@
 [Guids]
   gUsbfnMsdAppFileGuid                = { 0x1C207232, 0x4086, 0x9BE7, { 0xDB, 0x16, 0x15, 0x9D, 0x66, 0xAB, 0x46, 0x6A } }
   gSwitchSlotsAppFileGuid             = { 0xD5BC0FB1, 0xA833, 0x4607, { 0xB7, 0xB6, 0x5E, 0xF9, 0xD1, 0x0B, 0xEE, 0xB7 } }
+  gSimpleInitFileGuid                 = { 0x6D77B2BB, 0x69EB, 0x42AB, { 0xBE, 0xCF, 0x4F, 0x40, 0xC8, 0x95, 0x68, 0xC3 } }
 
 [PcdsFixedAtBuild.common]
   # Simple FrameBuffer