From: BigfootACA Date: 星期一, 13 Sep 2021 07:37:29 +0000 (+0800) Subject: sdm845Pkg: Library: PlatformBootManagerLib: PlatformBm.c: only register option when... X-Git-Tag: v1.0.4~15^2~1 X-Git-Url: https://git.renegade-project.org/?a=commitdiff_plain;h=d1d6fc77f6b1b7768d44696db30f5c7537f685df;p=edk2-sdm845.git sdm845Pkg: Library: PlatformBootManagerLib: PlatformBm.c: only register option when simple-init enabled Signed-off-by: BigfootACA --- diff --git a/sdm845Pkg/Library/PlatformBootManagerLib/PlatformBm.c b/sdm845Pkg/Library/PlatformBootManagerLib/PlatformBm.c index ff77cbb..8cd1e6a 100644 --- a/sdm845Pkg/Library/PlatformBootManagerLib/PlatformBm.c +++ b/sdm845Pkg/Library/PlatformBootManagerLib/PlatformBm.c @@ -741,12 +741,14 @@ PlatformBootManagerAfterConsole ( // EfiBootManagerRefreshAllBootOption (); + #ifdef ENABLE_SIMPLE_INIT // // Register Simple Init GUI APP // PlatformRegisterFvBootOption ( &gSimpleInitFileGuid, L"Simple Init", LOAD_OPTION_ACTIVE ); + #endif // // Register UEFI Shell