From: BigfootACA Date: 星期五, 27 Aug 2021 05:54:36 +0000 (+0800) Subject: sdm845Pkg: Library: PlatformBootManagerLib: PlatformBm.c: default boot to SimpleInitGUI X-Git-Tag: v1.0.4~15^2~2 X-Git-Url: https://git.renegade-project.org/?a=commitdiff_plain;h=062b0af9c161c1caa5f27a904f389f00c2a7a318;p=edk2-sdm845.git sdm845Pkg: Library: PlatformBootManagerLib: PlatformBm.c: default boot to SimpleInitGUI Signed-off-by: BigfootACA --- diff --git a/sdm845Pkg/Library/PlatformBootManagerLib/PlatformBm.c b/sdm845Pkg/Library/PlatformBootManagerLib/PlatformBm.c index 4b18d2d..ff77cbb 100644 --- a/sdm845Pkg/Library/PlatformBootManagerLib/PlatformBm.c +++ b/sdm845Pkg/Library/PlatformBootManagerLib/PlatformBm.c @@ -741,6 +741,13 @@ PlatformBootManagerAfterConsole ( // EfiBootManagerRefreshAllBootOption (); + // + // Register Simple Init GUI APP + // + PlatformRegisterFvBootOption ( + &gSimpleInitFileGuid, L"Simple Init", LOAD_OPTION_ACTIVE + ); + // // Register UEFI Shell // diff --git a/sdm845Pkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf b/sdm845Pkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf index 3a284b2..c67d83f 100644 --- a/sdm845Pkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf +++ b/sdm845Pkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf @@ -79,6 +79,7 @@ gUefiShellFileGuid gUsbfnMsdAppFileGuid gSwitchSlotsAppFileGuid + gSimpleInitFileGuid [Protocols] gEdkiiNonDiscoverableDeviceProtocolGuid diff --git a/sdm845Pkg/sdm845Pkg.dec b/sdm845Pkg/sdm845Pkg.dec index 7cf8562..c35da96 100644 --- a/sdm845Pkg/sdm845Pkg.dec +++ b/sdm845Pkg/sdm845Pkg.dec @@ -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